{"site": "project_search", "repo": "slim", "task": "Le mécanisme qui intercepte les exceptions durant le cycle de vie de la requête pour générer une réponse HTTP appropriée semble mal configurer les options de journalisation ou d'affichage des détails dans l'environnement de production.", "query": "error handling middleware", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lang": "fr", "candidates": [{"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 23: use Slim\\Middleware\\ErrorMiddleware;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 20: */", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 345: $callable = $this->callableResolver->resolveRoute($this->callable);", "file": "Slim/Routing/Route.php", "symbol": "", "line": 345, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 66: {", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 15: /**", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 283: */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 283, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 32: }", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 43: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 58: {", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 27: public const BASE_PATH = '__basePath__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 21: }", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 101: /**", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 26: public static function addFactory(string $factory): void;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 38: use Slim\\Middleware\\ErrorMiddleware;", "file": "tests/AppTest.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 29: class ErrorMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 23: bool $logErrors,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 26: use Slim\\Middleware\\ErrorMiddleware;", "file": "Slim/App.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 65: /**", "file": "Slim/CallableResolver.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 188: {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 20: * @var string[]", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 130: protected function setAccessible($ref, bool $accessible = true): void", "file": "tests/TestCase.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Le mécanisme qui intercepte les exceptions durant le cycle de vie de la requête pour générer une réponse HTTP appropriée semble mal configurer les options de journalisation ou d'affichage des détails dans l'environnement de production.", "query": "error handling middleware", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Le mécanisme qui intercepte les exceptions durant le cycle de vie de la requête pour générer une réponse HTTP appropriée semble mal configurer les options de journalisation ou d'affichage des détails dans l'environnement de production.", "query": "error handling middleware", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> function", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Le mécanisme qui intercepte les exceptions durant le cycle de vie de la requête pour générer une réponse HTTP appropriée semble mal configurer les options de journalisation ou d'affichage des détails dans l'environnement de production.", "query": "error handling middleware", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lang": "fr", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=88-111\nread getArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "这个闭包构造函数是做什么的?", "query": "middleware dispatcher closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lang": "zh", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 40: );", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 95: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 15: public static $CalledCount = 0;", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 41: return $exception->getDescription();", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 14: interface Psr17FactoryProviderInterface", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 36: public function __construct(ResponseInterface $response)", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 13: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 46: public function __construct(array $bodyParsers = [])", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 42: return (", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 27: private RouteParserInterface $routeParser;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 30: public function __construct(?ContainerInterface $container = null)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 32: public function __construct()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 121: public function __construct(MiddlewareInterface $middleware, RequestHandlerInterface $next)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 23: *", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 31: public function __construct()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 3: [*]", "file": ".editorconfig", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 122: try {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 42: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 30: public function __construct(int $responseChunkSize = 4096)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 97: }", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 24: HttpSoftPsr17Factory::class,", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "这个闭包构造函数是做什么的?", "query": "middleware dispatcher closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lang": "zh", "candidates": [{"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "这个闭包构造函数是做什么的?", "query": "middleware dispatcher closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "这个闭包构造函数是做什么的?", "query": "middleware dispatcher closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lang": "zh", "candidates": [{"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=213-236\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=135-158\nread testDuplicateVariableRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableRoute", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "implement the slim application class that extends route collector proxy and implements request handler interface", "query": "Slim application class", "file": "Slim/App.php", "symbol": "App", "line": 39, "lang": "en", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 138: $this->assertNull($route);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 1: createServerRequest('/');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 55: \"Please install a supported implementation in order to use `App::run()` \" .", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 13: use Slim\\Exception\\HttpUnauthorizedException;", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 39: class App extends RouteCollectorProxy implements RequestHandlerInterface", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Assets/HeaderStack.php\nLine 7: * We put these into the Slim namespace, so that Slim\\App will use these versions of header() and", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 34: {", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 14: class HttpUnauthorizedException extends HttpSpecializedException", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 224: return $result;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 224, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 54: $slimHttpServerRequestCreator = new SlimHttpServerRequestCreator($serverRequestCreatorProphecy->reveal());", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 20: use Slim\\App;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 57: return $text;", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 50: private function createCdataSection(string $content): string", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 26: use Slim\\App;", "file": "tests/AppTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 21: class ServerRequestCreatorFactory", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 48: * This request handler is instantiated automatically in App::__construct()", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 332: foreach (array_reverse($this->groups) as $group) {", "file": "Slim/Routing/Route.php", "symbol": "", "line": 332, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 490: $kernelProphecy = $this->prophesize(RequestHandlerInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 490, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 17: use Slim\\App;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "implement the slim application class that extends route collector proxy and implements request handler interface", "query": "Slim application class", "file": "Slim/App.php", "symbol": "App", "line": 39, "lang": "en", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "implement the slim application class that extends route collector proxy and implements request handler interface", "query": "Slim application class", "file": "Slim/App.php", "symbol": "App", "line": 39, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> function", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "implement the slim application class that extends route collector proxy and implements request handler interface", "query": "Slim application class", "file": "Slim/App.php", "symbol": "App", "line": 39, "lang": "en", "candidates": [{"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=485-508\nread testRouteCallableDoesNotAppendEchoedOutput for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableDoesNotAppendEchoedOutput", "line": 485, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=57-80\nread performRouting for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "performRouting", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to register a new endpoint for fetching resources. Which method should I use to map a URI pattern to a specific callback or controller action?", "query": "add GET route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lang": "en", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 51: public function get(string $pattern, $callable): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 64: return $this->dispatcher;", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 44: $routeParser = new RouteParser($routeCollector);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 256: {", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 80: * If we get to this logic block we have found all the parameters", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 64: $this->containerProphecy->get('ultimateAnswer')->willReturn(42);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 64, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 126: /** @noinspection PhpUndefinedMethodInspection */", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 37: $method = new ReflectionMethod(Dispatcher::class, 'createDispatcher');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 135: $instance = $this->container->get($class);", "file": "Slim/CallableResolver.php", "symbol": "", "line": 135, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 3: /**", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 108: });", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 24: MockPsr17Factory::getResponseFactory();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 42: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 90: */", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 81: $responseFactoryFromContainer = $container->get(ResponseFactoryInterface::class)", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 81, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 109: public function get(string $pattern, $callable): RouteInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 109, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 82: ->get('callable')", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 82, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 76: {", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to register a new endpoint for fetching resources. Which method should I use to map a URI pattern to a specific callback or controller action?", "query": "add GET route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lang": "en", "candidates": [{"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm trying to register a new endpoint for fetching resources. Which method should I use to map a URI pattern to a specific callback or controller action?", "query": "add GET route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to register a new endpoint for fetching resources. Which method should I use to map a URI pattern to a specific callback or controller action?", "query": "add GET route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lang": "en", "candidates": [{"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=19-42\nread testAddsContentLength for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "testAddsContentLength", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=51-74\nread get for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotFoundException.php lines=13-36\nread HttpNotFoundException for detail", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "HttpNotFoundException", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Ich muss herausfinden, wie die Router-Klasse prüft, ob eine gegebene HTTP-Methode und URI übereinstimmen. Bitte zeige mir die Logik für den Abgleich mit statischen Routen und die Suche in den variablen Routen", "query": "route matching logic", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lang": "de", "candidates": [{"text": "File: Slim/Routing/RouteContext.php\nLine 33: $routingResults = $serverRequest->getAttribute(self::ROUTING_RESULTS);", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 61: $routingResults = $this->resolveRoutingResultsFromRequest($request);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 27: protected string $description = 'You are not permitted to perform the requested operation.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 23: */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 50: public function testCallingWithKnownArguments()", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 27: protected string $description = 'The client application has surpassed its rate limit, ' .", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 39: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 56: // routingResults is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 16: {", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 1: createMock(RoutingResults::class);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 47: $this->assertSame('Method not allowed. Must be one of: GET', $exception->getMessage());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 19: /**", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 32: $routingResults = $request->getAttribute(RouteContext::ROUTING_RESULTS);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 34: return new ServerRequestCreator($serverRequestCreator, static::$serverRequestCreatorMethod);", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Ich muss herausfinden, wie die Router-Klasse prüft, ob eine gegebene HTTP-Methode und URI übereinstimmen. Bitte zeige mir die Logik für den Abgleich mit statischen Routen und die Suche in den variablen Routen", "query": "route matching logic", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lang": "de", "candidates": [{"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Ich muss herausfinden, wie die Router-Klasse prüft, ob eine gegebene HTTP-Methode und URI übereinstimmen. Bitte zeige mir die Logik für den Abgleich mit statischen Routen und die Suche in den variablen Routen", "query": "route matching logic", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ich muss herausfinden, wie die Router-Klasse prüft, ob eine gegebene HTTP-Methode und URI übereinstimmen. Bitte zeige mir die Logik für den Abgleich mit statischen Routen und die Suche in den variablen Routen", "query": "route matching logic", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lang": "de", "candidates": [{"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=31-54\nread testCallingWithEmptyArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithEmptyArguments", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=150-173\nread testSlimCallableContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=27-50\nread testGetStreamFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetStreamFactoryThrowsRuntimeException", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "测试一下当尝试解析一个不存在的服务时,是否会抛出包含特定错误信息的运行时异常?", "query": "callable notFound exception", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 3: /**", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 16: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 63: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 49: *", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 411: public function testMethodNotFoundThrowException(): void", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 16: public function resolveRoute(string $identifier): RouteInterface;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 37: /**", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 415: ->will(function ($args): ResponseInterface {", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 35: * added one (last in, first out).", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 57: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 41: */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 17: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 36: * @param array $data Named argument replacement data", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 17: use Slim\\Interfaces\\Psr17FactoryProviderInterface;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 26: * @param MiddlewareInterface|string|callable $middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 38: $callableResolver = $this->getCallableResolver();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 35: array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 7: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 90: {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 50: public function eof(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "测试一下当尝试解析一个不存在的服务时,是否会抛出包含特定错误信息的运行时异常?", "query": "callable notFound exception", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lang": "zh", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\ndefines testMethodNotFoundThrowException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "测试一下当尝试解析一个不存在的服务时,是否会抛出包含特定错误信息的运行时异常?", "query": "callable notFound exception", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "测试一下当尝试解析一个不存在的服务时,是否会抛出包含特定错误信息的运行时异常?", "query": "callable notFound exception", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "이 클래스에서 데이터 크기를 반환하는 메서드가 어떻게 구현되어 있어?", "query": "getSize return SIZE", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lang": "ko", "candidates": [{"text": "File: Slim/CallableResolver.php\nLine 149: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 25: $response = $responseFactory->createResponse();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 173: {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 65: public function getSize(): ?int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 70: public function getSize(): ?int", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 70, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 229: $middleware->setDefaultErrorHandler((function () {", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 229, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 65: $dispatcher = $this->createDispatcher();", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 15: private RouteCollectorInterface $routeCollector;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 257: {", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 257, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 19: use function rawurldecode;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 9: declare(strict_types=1);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 131: $this->contentType = $this->determineContentType($request);", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 26: $size = $response->getBody()->getSize();", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 21: /**", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 34: ) {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 7: */", "file": "Slim/App.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 10: {", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 30: {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 57: $expectedUri", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 89: /**", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 96: $amountToRead = $body->getSize();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 96, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 143: public function getSize(): ?int", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 115: ->onlyMethods(['getSize'])", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 115, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "이 클래스에서 데이터 크기를 반환하는 메서드가 어떻게 구현되어 있어?", "query": "getSize return SIZE", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines getSize", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "이 클래스에서 데이터 크기를 반환하는 메서드가 어떻게 구현되어 있어?", "query": "getSize return SIZE", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "이 클래스에서 데이터 크기를 반환하는 메서드가 어떻게 구현되어 있어?", "query": "getSize return SIZE", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lang": "ko", "candidates": [{"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=65-88\nread getSize for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Wo kann ich die Standard-Funktion festlegen, die bei Fehlern aufgerufen wird?", "query": "setDefaultErrorHandler response", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lang": "de", "candidates": [{"text": "File: Slim/Routing/RouteContext.php\nLine 27: public const BASE_PATH = '__basePath__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 158: public function setDefaultErrorHandler($handler): self", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 25: * @param ServerRequestInterface $request The request object.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 194: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 29: public function __construct(", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 42: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 47: private ?RouteInterface $route;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 157: file_put_contents($this->cacheFile, '');", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 14: class HttpNotImplementedException extends HttpSpecializedException", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 99: $errorMiddleware->setDefaultErrorHandler($handler);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 99, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 17: * @return string[]", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 17: use function json_encode;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 47: public function custom(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 87: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 23: use function ob_get_clean;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 489: $this->expectExceptionMessage('Callable Unknown::notFound() does not exist');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 489, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 34: *", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 3: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 31: ResponseInterface $response,", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 55: public function setBasePath(string $basePath): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 40: }", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Wo kann ich die Standard-Funktion festlegen, die bei Fehlern aufgerufen wird?", "query": "setDefaultErrorHandler response", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lang": "de", "candidates": [{"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Wo kann ich die Standard-Funktion festlegen, die bei Fehlern aufgerufen wird?", "query": "setDefaultErrorHandler response", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> function", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wo kann ich die Standard-Funktion festlegen, die bei Fehlern aufgerufen wird?", "query": "setDefaultErrorHandler response", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lang": "de", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=40-63\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=158-181\nread setDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Ich habe festgestellt, dass bei der Fehlerdarstellung die Standardtitel und Beschreibungen verwendet werden, sobald es sich nicht um eine HTTP-spezifische Ausnahme handelt. Kannst du die Logik finden, die festlegt, wie die Fehlermeldungen für verschiedene Formate wie JSON oder HTML generiert werden und wie die Fallback-Texte für den Titel und die Beschreibung definiert sind?", "query": "error renderer fallback", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lang": "de", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 5: *", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 13: use Slim\\Error\\AbstractErrorRenderer;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 41: public static function setFactories(array $factories): void", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 64: }", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 205: static::$routeResolver = $routeResolver;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 13: use Slim\\Error\\AbstractErrorRenderer;", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 23: abstract class AbstractErrorRenderer implements ErrorRendererInterface", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 55: $text .= sprintf('Trace: %s', $exception->getTraceAsString());", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 18: use Slim\\Tests\\TestCase;", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 101: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 32: }", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 21: * This file exists to allow overriding the various output-related functions", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 86: * @param TContainerInterface $container", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 43: /** @var string|null $basePath */", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 24: protected $message = 'Unauthorized.';", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 71: $this->assertSame($dispatcher::NOT_FOUND, $results[0]);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 13: use Slim\\Error\\AbstractErrorRenderer;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 15: use function array_unshift;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 7: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 13: use Slim\\Error\\AbstractErrorRenderer;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 39: return $response;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 90: ServerRequestCreatorFactory::setPsr17FactoryProvider($psr17FactoryProvider);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Ich habe festgestellt, dass bei der Fehlerdarstellung die Standardtitel und Beschreibungen verwendet werden, sobald es sich nicht um eine HTTP-spezifische Ausnahme handelt. Kannst du die Logik finden, die festlegt, wie die Fehlermeldungen für verschiedene Formate wie JSON oder HTML generiert werden und wie die Fallback-Texte für den Titel und die Beschreibung definiert sind?", "query": "error renderer fallback", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lang": "de", "candidates": [{"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Ich habe festgestellt, dass bei der Fehlerdarstellung die Standardtitel und Beschreibungen verwendet werden, sobald es sich nicht um eine HTTP-spezifische Ausnahme handelt. Kannst du die Logik finden, die festlegt, wie die Fehlermeldungen für verschiedene Formate wie JSON oder HTML generiert werden und wie die Fallback-Texte für den Titel und die Beschreibung definiert sind?", "query": "error renderer fallback", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ich habe festgestellt, dass bei der Fehlerdarstellung die Standardtitel und Beschreibungen verwendet werden, sobald es sich nicht um eine HTTP-spezifische Ausnahme handelt. Kannst du die Logik finden, die festlegt, wie die Fehlermeldungen für verschiedene Formate wie JSON oder HTML generiert werden und wie die Fallback-Texte für den Titel und die Beschreibung definiert sind?", "query": "error renderer fallback", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lang": "de", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=467-490\nread testProcessWhenReturningAResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testProcessWhenReturningAResponse", "line": 467, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=163-186\nread testParsingWithARegisteredParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingWithARegisteredParser", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=38-61\nread getErrorDescription for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorDescription", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=23-46\nread RequestResponseArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Es scheint ein Problem damit zu geben, dass der Datenstrom automatisch geschlossen wird, sobald das Objekt aus dem Speicher entfernt wird. Das kann zu unerwartetem Verhalten führen, wenn die Ressource noch benötigt wird.", "query": "close on destruct", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lang": "de", "candidates": [{"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 25: // Add Content-Length header if not already added", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 66: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 72: $middlewareDispatcher->addMiddleware($outputBufferingMiddleware);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 1: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Es scheint ein Problem damit zu geben, dass der Datenstrom automatisch geschlossen wird, sobald das Objekt aus dem Speicher entfernt wird. Das kann zu unerwartetem Verhalten führen, wenn die Ressource noch benötigt wird.", "query": "close on destruct", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Es scheint ein Problem damit zu geben, dass der Datenstrom automatisch geschlossen wird, sobald das Objekt aus dem Speicher entfernt wird. Das kann zu unerwartetem Verhalten führen, wenn die Ressource noch benötigt wird.", "query": "close on destruct", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lang": "de", "candidates": [{"text": "Next: read Slim/Routing/RoutingResults.php lines=82-105\nread getRouteIdentifier for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Dónde se define la interfaz para manejar las excepciones de la aplicación y devolver una respuesta?", "query": "exception handler interface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RoutingResults.php\nLine 48: string $method,", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 111: }", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 1: shouldBeCalledOnce();", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 43: $this->request = $request;", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 93: public function getMiddlewareDispatcher(): MiddlewareDispatcherInterface", "file": "Slim/App.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 20: * @var string[]", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 24: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 96: $amountToRead = $body->getSize();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 25: use Slim\\Interfaces\\ErrorHandlerInterface;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 15: /**", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 83: return new MiddlewareDispatcher(", "file": "tests/TestCase.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 22: use Slim\\Interfaces\\ErrorHandlerInterface;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 55: {", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 252: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\ndefines ErrorHandlerInterface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Dónde se define la interfaz para manejar las excepciones de la aplicación y devolver una respuesta?", "query": "exception handler interface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Dónde se define la interfaz para manejar las excepciones de la aplicación y devolver una respuesta?", "query": "exception handler interface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lang": "es", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=25-48\nread __construct for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "__construct", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=302-325\nread setArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo se define el método que devuelve la fábrica de respuestas en la interfaz del proveedor?", "query": "getResponseFactory interface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "File: tests/TestCase.php\nLine 46: protected function getResponseFactory(): ResponseFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 95: return $this->allowedMethods;", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 191: ->getPattern()", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 191, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 35: public function getResponseFactory(): ResponseFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 24: public function custom(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 153: $this->getResponseFactory(),", "file": "Slim/App.php", "symbol": "", "line": 153, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 13: use FastRoute\\RouteParser\\Std;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 39: $responseFactory = $this->getResponseFactory();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 15: use Slim\\Handlers\\Strategies\\RequestResponseNamedArgs;", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 108: public function write($string): int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 28: 'or number of requests they can send in a given period of time.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 22: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 32: public function setDefaultInvocationStrategy(InvocationStrategyInterface $strategy): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 44: if (!in_array($style, [static::APPEND, static::PREPEND], true)) {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 100: return $this", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 87: $size = min($this->amountToRead, self::CHUNK_SIZE, $length);", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 36: {", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 24: MockPsr17Factory::getResponseFactory();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 40: $routeCollectorProxy->getResponseFactory()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Cómo se define el método que devuelve la fábrica de respuestas en la interfaz del proveedor?", "query": "getResponseFactory interface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo se define el método que devuelve la fábrica de respuestas en la interfaz del proveedor?", "query": "getResponseFactory interface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo se define el método que devuelve la fábrica de respuestas en la interfaz del proveedor?", "query": "getResponseFactory interface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=265-288\nread testMiddlewareResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareResolutionToAPsrRequestHandlerClass", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/HttpSoftPsr17Factory.php lines=13-36\nread HttpSoftPsr17Factory for detail", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "HttpSoftPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=207-230\nread handle for detail", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "El método para registrar una capa de procesamiento intermedia en un conjunto de rutas no parece estar retornando la propia interfaz del grupo, lo que rompe la encadenación de métodos.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 9: class NyholmPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 36: $middlewareDispatcher->addMiddleware($mw2);", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 30: $decoratedResponseFactory = new static::$responseFactoryClass($responseFactory, $streamFactory)", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 3: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 7: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 92: }", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 24: protected $message = 'Forbidden.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 31: public function addMiddleware(MiddlewareInterface $middleware): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 98: $slimHttpServerRequestCreator->createServerRequestFromGlobals();", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 21: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 72: $middlewareDispatcher->addMiddleware($outputBufferingMiddleware);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 22: /**", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 437: $dispatcher->addMiddleware($middleware1Prophecy->reveal());", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 437, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 241: $this->assertSame((string) $output->exception[1]->message, 'Oops..');", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 18: use function clearstatcache;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 83: public function addMiddleware(MiddlewareInterface $middleware): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 33: ): ResponseInterface {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 88: return $this->addMiddleware($middleware);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 13: interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 74: $middlewareDispatcher->addMiddleware($routingMiddleware);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 115: $next = $this->tip;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 16: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "El método para registrar una capa de procesamiento intermedia en un conjunto de rutas no parece estar retornando la propia interfaz del grupo, lo que rompe la encadenación de métodos.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lang": "es", "candidates": [{"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "El método para registrar una capa de procesamiento intermedia en un conjunto de rutas no parece estar retornando la propia interfaz del grupo, lo que rompe la encadenación de métodos.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "El método para registrar una capa de procesamiento intermedia en un conjunto de rutas no parece estar retornando la propia interfaz del grupo, lo que rompe la encadenación de métodos.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lang": "es", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=142-165\nread testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=129-152\nread testRemoveNamedRouteWithARouteThatDoesNotExist for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRouteWithARouteThatDoesNotExist", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How does the system handle passing route parameters as separate arguments to a controller callback?", "query": "route parameter strategy", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lang": "en", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 22: * Invoke a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 1: > $queryParams Optional query string parameters", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 23: class RequestResponseArgs implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 28: use function stream_filter_remove;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 16: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 25: $psr17Factory = new static::$responseFactoryClass();", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 39: * @throws RuntimeException If named route does not exist", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 149: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 20: use function get_called_class;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 62: protected array $routes = [];", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 25: protected string $title = '404 Not Found';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 46: /**", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 247: $handler = 'handler2';", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 30: use Slim\\Handlers\\Strategies\\RequestResponseArgs;", "file": "tests/AppTest.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 44: return $xml;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 131: $this->callableResolver,", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Slim\\Psr7\\Factory\\StreamFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 3: /**", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How does the system handle passing route parameters as separate arguments to a controller callback?", "query": "route parameter strategy", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lang": "en", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "How does the system handle passing route parameters as separate arguments to a controller callback?", "query": "route parameter strategy", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> function", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How does the system handle passing route parameters as separate arguments to a controller callback?", "query": "route parameter strategy", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lang": "en", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=729-752\nread testPatternCanBeChanged for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testPatternCanBeChanged", "line": 729, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=23-46\nread RequestResponseArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo se pasan los parámetros de la ruta al callback de un endpoint?", "query": "route arguments callback", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lang": "es", "candidates": [{"text": "File: tests/Routing/RouteTest.php\nLine 25: use Slim\\Handlers\\Strategies\\RequestResponse;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 21: private ResponseInterface $response;", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 46: public function testStyleCustomInvalid()", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 39: * @throws HttpMethodNotAllowedException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 26: public function testHttpUnauthorizedExceptionWithMessage()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 39: $this->assertSame($routingResults, $routeContext->getRoutingResults());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 20: use Slim\\Handlers\\Strategies\\RequestResponse;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 26: }", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 13: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 20: class RequestResponse implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 16: use Slim\\Handlers\\Strategies\\RequestResponse;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 42: $route = $this->routeCollector->getNamedRoute($routeName);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 63: $availableFilter = stream_get_filters();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 28: public function setInvocationStrategy(InvocationStrategyInterface $invocationStrategy): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 189: {", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 57: return $this->dispatcher;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 33: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 5: *", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Cómo se pasan los parámetros de la ruta al callback de un endpoint?", "query": "route arguments callback", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo se pasan los parámetros de la ruta al callback de un endpoint?", "query": "route arguments callback", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo se pasan los parámetros de la ruta al callback de un endpoint?", "query": "route arguments callback", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lang": "es", "candidates": [{"text": "Next: read Slim/App.php lines=125-148\nread addRoutingMiddleware for detail", "file": "Slim/App.php", "symbol": "addRoutingMiddleware", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=116-139\nread testSlimCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallable", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=40-63\nread testHttpNotAllowedExceptionGetAllowedMethods for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpNotAllowedExceptionGetAllowedMethods", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=519-542\nread testCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testCallableClassNotFoundThrowException", "line": 519, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=508-531\nread testMiddlewareClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareClassNotFoundThrowException", "line": 508, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=129-152\nread testRemoveNamedRouteWithARouteThatDoesNotExist for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRouteWithARouteThatDoesNotExist", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "グローバル変数からサーバーリクエストを生成するメソッドはどこにありますか?", "query": "createServerRequestFromGlobals", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lang": "ja", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 11: namespace Slim\\Tests\\Middleware;", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 33: public function createServerRequestFromGlobals(): ServerRequestInterface", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 1: createServerRequestFromGlobals();", "file": "Slim/App.php", "symbol": "", "line": 190, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 1: createServerRequestFromGlobals()", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 52: return $responseFactory->createResponse();", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 65: $body = $this->streamFactory->createStream();", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 44: $uri = '/' . $uri;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 16: use function trim;", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 265: $callback = function (RouteCollector $r) {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 57: $serverRequest = $serverRequestCreator->createServerRequestFromGlobals();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 18: * Get routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 21: * @var int", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "グローバル変数からサーバーリクエストを生成するメソッドはどこにありますか?", "query": "createServerRequestFromGlobals", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lang": "ja", "candidates": [{"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\ndefines createServerRequestFromGlobals", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "グローバル変数からサーバーリクエストを生成するメソッドはどこにありますか?", "query": "createServerRequestFromGlobals", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "グローバル変数からサーバーリクエストを生成するメソッドはどこにありますか?", "query": "createServerRequestFromGlobals", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lang": "ja", "candidates": [{"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=207-230\nread handle for detail", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=17-40\nread createServerRequestFromGlobals for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=168-191\nread getMethods for detail", "file": "Slim/Routing/Route.php", "symbol": "getMethods", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=302-325\nread setArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "HTTP 메서드와 URI를 받아서 매칭되는 경로를 찾는 로직을 구현 중인데, HEAD 요청일 때 GET으로 대체하거나 와일드카드 경로를 시도하는 부분의 흐름을 설명해줘. 결과값으로 반환되는 배열의 구조도 같이 알려줘.", "query": "dispatch http method", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lang": "ko", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 20: use const JSON_PRETTY_PRINT;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 63: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 149: * @dataProvider parsingProvider", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 7: */", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 32: $results = $dispatcher->dispatch($method, $uri);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 74: $result = $dispatcher2->dispatch('GET', '/');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 81: /**", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 139: * Middleware are organized as a stack. That means middleware", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 63: public function dispatch(string $method, string $uri): RoutingResults", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 51: ->dispatch(Argument::type('string'), Argument::type('string'))", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 20: public function dispatch(string $method, string $uri): RoutingResults;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 46: return $this->dispatcher->dispatch($method, $uri);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 153: *", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 17: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/TestCase.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 27: public function getAllowedMethods(string $uri): array;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 33: public function dispatch($httpMethod, $uri): array", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 125: $routes = $routeCollector->getRoutes();", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 35: ->withHeader('Content-Type', 'text/plain');", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 135: $instance = $this->container->get($class);", "file": "Slim/CallableResolver.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "HTTP 메서드와 URI를 받아서 매칭되는 경로를 찾는 로직을 구현 중인데, HEAD 요청일 때 GET으로 대체하거나 와일드카드 경로를 시도하는 부분의 흐름을 설명해줘. 결과값으로 반환되는 배열의 구조도 같이 알려줘.", "query": "dispatch http method", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "HTTP 메서드와 URI를 받아서 매칭되는 경로를 찾는 로직을 구현 중인데, HEAD 요청일 때 GET으로 대체하거나 와일드카드 경로를 시도하는 부분의 흐름을 설명해줘. 결과값으로 반환되는 배열의 구조도 같이 알려줘.", "query": "dispatch http method", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "HTTP 메서드와 URI를 받아서 매칭되는 경로를 찾는 로직을 구현 중인데, HEAD 요청일 때 GET으로 대체하거나 와일드카드 경로를 시도하는 부분의 흐름을 설명해줘. 결과값으로 반환되는 배열의 구조도 같이 알려줘.", "query": "dispatch http method", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lang": "ko", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=482-505\nread provideNotFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideNotFoundDispatchCases", "line": 482, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=140-163\nread testJSONErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysErrorDetails", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estoy intentando implementar una lógica personalizada para el manejo de respuestas de las rutas. ¿Podrías mostrarme cómo recuperar el identificador único que se asigna al recurso que coincide con la petición actual?", "query": "return route identifier", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 165: * Set callable to handle scenarios where an error", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 53: * @var ErrorRendererInterface|string|callable", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 137: $this->assertSame($route->getIdentifier(), $results->getRouteIdentifier());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 137, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 24: throw new InvalidArgumentException(\"Not a Slim call\");", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 18: use function is_array;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 20: /** @api */", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 69: $routeIdentifier = $routingResults->getRouteIdentifier() ?? '';", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 40: {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 29: }", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 99: {", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 355: ->shouldBeCalledOnce();", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 355, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 35: * @param MiddlewareDispatcher<\\Psr\\Container\\ContainerInterface|null> $dispatcher", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 27: $serverRequestCreator = new static::$serverRequestCreatorClass(", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 186: public function run(?ServerRequestInterface $request = null): void", "file": "Slim/App.php", "symbol": "", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 3: /**", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 35: }", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 82: public function getRouteIdentifier(): ?string", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 100: $app->add($errorMiddleware);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 44: $routeParser = new RouteParser($routeCollector);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 571: $allowedMethods = ['GET'];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 571, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 49: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy intentando implementar una lógica personalizada para el manejo de respuestas de las rutas. ¿Podrías mostrarme cómo recuperar el identificador único que se asigna al recurso que coincide con la petición actual?", "query": "return route identifier", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lang": "es", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy intentando implementar una lógica personalizada para el manejo de respuestas de las rutas. ¿Podrías mostrarme cómo recuperar el identificador único que se asigna al recurso que coincide con la petición actual?", "query": "return route identifier", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy intentando implementar una lógica personalizada para el manejo de respuestas de las rutas. ¿Podrías mostrarme cómo recuperar el identificador único que se asigna al recurso que coincide con la petición actual?", "query": "return route identifier", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lang": "es", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=509-532\nread testRouteCallableAppendsCorrectOutputToResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableAppendsCorrectOutputToResponse", "line": 509, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=253-276\nread createProxy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createProxy", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=82-105\nread getRouteIdentifier for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "O método que deveria resetar o ponteiro de leitura em fluxos de dados fragmentados está lançando uma exceção de erro por não ter sido implementado.", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lang": "pt", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 23: use Slim\\Middleware\\RoutingMiddleware;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1692: $streamProphecy->rewind()->shouldBeCalled();", "file": "tests/AppTest.php", "symbol": "", "line": 1692, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 35: }", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 20: class RequestHandlerTest implements RequestHandlerInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 20: protected static string $serverRequestCreatorMethod = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 124: // `rewind()` has to be called.", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 38: $request->getBody()->rewind();", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 91: $body->rewind();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 91, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 23: public function testCanCreateInstanceFromServerRequest(): void", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 98: public function rewind(): void", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 98, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 25: use function rewind;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 30: {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 3: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 18: {", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 26: * @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 93: public function rewind(): void", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/CallableTest.php\nLine 3: /**", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 35: * @throws RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 44: {", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 30: /**", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 16: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 290: public function testCreateAppWithContainerUsesContainerDependenciesWhenPresent()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "O método que deveria resetar o ponteiro de leitura em fluxos de dados fragmentados está lançando uma exceção de erro por não ter sido implementado.", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines rewind", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "O método que deveria resetar o ponteiro de leitura em fluxos de dados fragmentados está lançando uma exceção de erro por não ter sido implementado.", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "O método que deveria resetar o ponteiro de leitura em fluxos de dados fragmentados está lançando uma exceção de erro por não ter sido implementado.", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lang": "pt", "candidates": [{"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=27-50\nread resolveMiddleware for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=347-370\nread testResolutionToAPsrRequestHandlerClassWithCustomMethod for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClassWithCustomMethod", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "컨테이너를 이용해 콜러블을 해결하는 라우팅 테스트 찾아줘", "query": "route callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 15: use RuntimeException;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 44: return $this->defaultErrorDescription;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 27: protected string $description = 'The client application has surpassed its rate limit, ' .", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 128: }", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 814: public function testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent()", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 21: {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 183: * @param ServerRequestInterface|null $request", "file": "Slim/App.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 17: interface MiddlewareDispatcherInterface extends RequestHandlerInterface", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 42: {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 159: return $this->exception->getCode();", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 46: foreach ($psr17FactoryProvider->getFactories() as $psr17Factory) {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 95: * @param $uri", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 61: public static function push(array $header)", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 77: return $this;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 65: public function getSize(): ?int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 60: public function getContents(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 106: $result = $this->dispatchVariableRoute($routeData, $uri);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 29: /**", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 96: 'application/hal+xml;charset=utf8',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "컨테이너를 이용해 콜러블을 해결하는 라우팅 테스트 찾아줘", "query": "route callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "컨테이너를 이용해 콜러블을 해결하는 라우팅 테스트 찾아줘", "query": "route callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "컨테이너를 이용해 콜러블을 해결하는 라우팅 테스트 찾아줘", "query": "route callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpUnauthorizedException.php lines=14-37\nread HttpUnauthorizedException for detail", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "HttpUnauthorizedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=43-66\nread testCreateServerRequestFromGlobals for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobals", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=279-302\nread testDetermineContentTypeApplicationJsonOrXml for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeApplicationJsonOrXml", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "http 요청 메서드 소문자 데이터 제공하는 메서드 찾아줘", "query": "lowerCaseRequestMethodsProvider", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 125: * @throws RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 3: /**", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 23: */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 67: $this->assertNotNull($routeContext->getRoutingResults());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 19: use const JSON_INVALID_UTF8_SUBSTITUTE;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 78: ];", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 48: ['a' => ['k' => '1', 'f' => 'x'], 'b', 'c' => 'd'],", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 157: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 42: {", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 27: protected string $description = '';", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 66: public function renderHtmlBody(string $title = '', string $html = ''): string", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 36: }", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 158: public static function lowerCaseRequestMethodsProvider(): array", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 243: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 143: if (static::$streamFactory || $psr17factory::isStreamFactoryAvailable()) {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 54: 'message' => $exception->getMessage(),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 13: use Throwable;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 13: use Exception;", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "http 요청 메서드 소문자 데이터 제공하는 메서드 찾아줘", "query": "lowerCaseRequestMethodsProvider", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "http 요청 메서드 소문자 데이터 제공하는 메서드 찾아줘", "query": "lowerCaseRequestMethodsProvider", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "http 요청 메서드 소문자 데이터 제공하는 메서드 찾아줘", "query": "lowerCaseRequestMethodsProvider", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=82-105\nread testRelativePathForWithNoBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testRelativePathForWithNoBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Es gibt ein Problem beim Erstellen des Kontext-Objekts aus einem Server-Request, wenn der spezifische Routing-Attribut-Key fehlt. Es muss sichergestellt werden, dass das Objekt zwar erstellt werden kann, aber die Routing-Informationen dann korrekt als null zurückgegeben werden, während andere Bestandteile wie Parser oder BasePath weiterhin verfügbar bleiben sollten.", "query": "fromRequest null route", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lang": "de", "candidates": [{"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 24: {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 28: 'the request due to an apparent client error.';", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 43: public function testCanCreateInstanceWithoutRoute(): void", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 31: {", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 27: })->bindTo($this);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 88: * @note Arguments are captured from a path that RouteResolver has already decoded,", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 3: declare(strict_types=1);", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 112: * @param bool $displayErrorDetails Whether or not to display the error details", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 22: use stdClass;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 27: }", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 57: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 103: public function tell(): int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 24: use function file_exists;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 77: public function testDetermineServerRequestCreatorThrowsRuntimeException()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 24: use function class_exists;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 253: ->shouldBeCalledOnce();", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 124: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 16: {", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 130: $output,", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 170: return $this;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 138: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Es gibt ein Problem beim Erstellen des Kontext-Objekts aus einem Server-Request, wenn der spezifische Routing-Attribut-Key fehlt. Es muss sichergestellt werden, dass das Objekt zwar erstellt werden kann, aber die Routing-Informationen dann korrekt als null zurückgegeben werden, während andere Bestandteile wie Parser oder BasePath weiterhin verfügbar bleiben sollten.", "query": "fromRequest null route", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lang": "de", "candidates": [{"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Es gibt ein Problem beim Erstellen des Kontext-Objekts aus einem Server-Request, wenn der spezifische Routing-Attribut-Key fehlt. Es muss sichergestellt werden, dass das Objekt zwar erstellt werden kann, aber die Routing-Informationen dann korrekt als null zurückgegeben werden, während andere Bestandteile wie Parser oder BasePath weiterhin verfügbar bleiben sollten.", "query": "fromRequest null route", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Slim", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Es gibt ein Problem beim Erstellen des Kontext-Objekts aus einem Server-Request, wenn der spezifische Routing-Attribut-Key fehlt. Es muss sichergestellt werden, dass das Objekt zwar erstellt werden kann, aber die Routing-Informationen dann korrekt als null zurückgegeben werden, während andere Bestandteile wie Parser oder BasePath weiterhin verfügbar bleiben sollten.", "query": "fromRequest null route", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lang": "de", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=75-98\nread patch for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "patch", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=21-44\nread RouteContextTest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "RouteContextTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "미들웨어 인터페이스를 구현하지 않은 문자열을 추가할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "middleware exception test", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 44: return $responseFactory;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 15: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 32: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 91: {", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 27: $response = $arguments[1];", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 93: $this->getResponseFactory(),", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 373: public function testAddMiddlewareAsStringNotImplementingInterfaceThrowsException()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 373, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\nLine 15: use Stringable;", "file": "Slim/Logger.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 1: assertSame($cacheFile, $routeCollector->getCacheFile());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 61: public function testRespondWithPaddedStreamFilterOutput(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 150: }", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1068: public function testAddMiddlewareAsStringNotImplementingInterfaceThrowsException(): void", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 1: expectException(RuntimeException::class);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 21: {", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 108: $allowedMethods[$method] = true;", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 43: 'dispatcher' => FastRouteDispatcher::class,", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 39: ' could not instantiate a server request creator.');", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "미들웨어 인터페이스를 구현하지 않은 문자열을 추가할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "middleware exception test", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lang": "ko", "candidates": [{"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "미들웨어 인터페이스를 구현하지 않은 문자열을 추가할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "middleware exception test", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "미들웨어 인터페이스를 구현하지 않은 문자열을 추가할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "middleware exception test", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=407-430\nread testWriteToErrorLogShowTip for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogShowTip", "line": 407, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=101-124\nread testHTMLErrorRendererEscapesHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererEscapesHttpException", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=145-168\nread addErrorMiddleware for detail", "file": "Slim/App.php", "symbol": "addErrorMiddleware", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "プロジェクト全体のコードスタイル設定を確認したいです。文字コード、改行コード、インデントの仕様がどのように定義されているか見せてください。", "query": "indent style config", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockRequestHandler.php\nLine 43: return $this->calledCount;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 25: * @return string[]", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 108: public function map(array $methods, string $pattern, $callable): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 1: setStaticPropertyValue('serverRequestDecoratorClass', stdClass::class);", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 285: * @param callable|array{class-string, string}|string $callable", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 19: class Logger extends AbstractLogger", "file": "Slim/Logger.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 43: /** @var ServerRequestInterface */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 36: {", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 28: }", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 29: public function tearDown(): void", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 100: * @param array $arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 3: [*]", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 18: * @var string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 44: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 128: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 28: 'or number of requests they can send in a given period of time.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 26: protected string $title = '403 Forbidden';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 75: if (isset($this->variableRouteData[$httpMethod])) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "プロジェクト全体のコードスタイル設定を確認したいです。文字コード、改行コード、インデントの仕様がどのように定義されているか見せてください。", "query": "indent style config", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines [*]", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "プロジェクト全体のコードスタイル設定を確認したいです。文字コード、改行コード、インデントの仕様がどのように定義されているか見せてください。", "query": "indent style config", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lang": "ja", "candidates": [{"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/HttpSoftPsr17Factory.php lines=13-36\nread HttpSoftPsr17Factory for detail", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "HttpSoftPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=95-118\nread setArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArgument", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=320-343\nread testAny for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testAny", "line": 320, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=497-520\nread testRouteClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1357-1380\nread testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument", "line": 1357, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "deferred 미들웨어가 실제로 인스턴스화되어 호출되는지 확인하는 테스트를 찾아주세요.", "query": "deferred instantiation test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lang": "ko", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 264: public function testResolvableReturnsInstantiatedObject(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Route.php\nLine 234: */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 7: */", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 18: {", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 83: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 77: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 13: class GuzzlePsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 33: if (is_array($body) && !empty($body['_METHOD']) && is_string($body['_METHOD'])) {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 14: use Slim\\Routing\\RouteCollector;", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 27: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 39: * @var array", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 245: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 245, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 57: {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 26: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 3: declare(strict_types=1);", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 77: */", "file": "tests/TestCase.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 30: use function strtolower;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 3: /**", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 165: && SlimHttpPsr17Factory::isResponseFactoryAvailable()", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 211: /**", "file": "Slim/App.php", "symbol": "", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 18: /**", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 84: '

%s

' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "deferred 미들웨어가 실제로 인스턴스화되어 호출되는지 확인하는 테스트를 찾아주세요.", "query": "deferred instantiation test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "deferred 미들웨어가 실제로 인스턴스화되어 호출되는지 확인하는 테스트를 찾아주세요.", "query": "deferred instantiation test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "deferred 미들웨어가 실제로 인스턴스화되어 호출되는지 확인하는 테스트를 찾아주세요.", "query": "deferred instantiation test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lang": "ko", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=140-163\nread testJSONErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysErrorDetails", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "コンテナが注入されていない状態で、オブジェクトを渡したときに期待通りの例外が投げられるか確認しているテストはどこ?", "query": "resolvable exception test", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lang": "ja", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 24: * Default Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 37: $xml .= ' ' . $exception->getLine() . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 75: {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 57: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 1: middlewareDispatcher->addMiddleware($middleware);", "file": "Slim/App.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 1: GroupCountBased::class,", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 7: */", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 56: \"without having to pass in a `ServerRequest` object. \" .", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 5: *", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 55: * @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 20: public function resolve($toResolve): callable;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 274: public function testObjPsrRequestHandlerClass(): void", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 9: interface RouteResolverInterface", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 23: $response = $handler->handle($request);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 21: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 31: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 23: private $calledCount = 0;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 104: ],", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 14: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "コンテナが注入されていない状態で、オブジェクトを渡したときに期待通りの例外が投げられるか確認しているテストはどこ?", "query": "resolvable exception test", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lang": "ja", "candidates": [{"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testObjPsrRequestHandlerClass", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "コンテナが注入されていない状態で、オブジェクトを渡したときに期待通りの例外が投げられるか確認しているテストはどこ?", "query": "resolvable exception test", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "コンテナが注入されていない状態で、オブジェクトを渡したときに期待通りの例外が投げられるか確認しているテストはどこ?", "query": "resolvable exception test", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lang": "ja", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=29-52\nread tearDown for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "tearDown", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=173-196\nread testGetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetInvocationStrategy", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=137-160\nread setCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setCacheFile", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=144-167\nread testRouteArgumentsAreDecodedOnlyOnce for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteArgumentsAreDecodedOnlyOnce", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=274-297\nread testObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "一意の識別子からルートを取得するメソッドを探して", "query": "lookup route identifier", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 11: namespace Slim\\Middleware;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 18: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 140: // routeParser is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 148: $routeCollector->lookupRoute('missing');", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 148, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 641: }", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 641, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 407: $route = $routeCollector->lookupRoute('route0');", "file": "tests/AppTest.php", "symbol": "", "line": 407, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 219: public function lookupRoute(string $identifier): RouteInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 219, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 81: ->lookupRoute($identifier)", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 81, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 54: return $this->routeCollector->lookupRoute($identifier);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 54, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 39: $this->assertSame('4', $response->getHeaderLine('Content-Length'));", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 78: ];", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 30: $this->assertInstanceOf(RouteParser::class, $routeParser);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 23: protected $message = 'Not found.';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 20: use const JSON_PRETTY_PRINT;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 38: $callableResolver = $this->getCallableResolver();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 204: $this->assertSame($cacheFile, $routeCollector->getCacheFile());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 87: public function lookupRoute(string $identifier): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 51: $this->assertSame('Method not allowed.', $exception->getMessage());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 75: public function isSeekable(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 76: /** @var array{0: int, 1?: string, 2?: array} $result */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "一意の識別子からルートを取得するメソッドを探して", "query": "lookup route identifier", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "一意の識別子からルートを取得するメソッドを探して", "query": "lookup route identifier", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "一意の識別子からルートを取得するメソッドを探して", "query": "lookup route identifier", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lang": "ja", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=188-211\nread testPut for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPut", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=240-263\nread testAddCallableBindsClosureToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddCallableBindsClosureToContainer", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "如何判断当前环境下是否已经配置并可以实例化响应工厂?", "query": "response factory available", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 29: $mw2 = new ContentLengthMiddleware();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 150: if (!isset($this->bodyParsers[$mediaType])) {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 32: )", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 17: class MockCustomRequestHandlerInvocationStrategy implements RequestHandlerInvocationStrategyInterface", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 66: *", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 21: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 24: {", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 140: if ($psr17factory::isResponseFactoryAvailable()) {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 140, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 19: {", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 164: * Set the base path used in urlFor()", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 26: protected string $description = 'The requested resource could not be found. Please verify the URI and try again.';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 88: /** @var MiddlewareDispatcher $middlewareDispatcher */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 185: {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 31: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 67: private function routingResults(string $httpMethod, string $uri): array", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 54: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 23: public function __construct(ServerRequestInterface $request, ?string $message = null, ?Throwable $previous = null)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 77: public static function isResponseFactoryAvailable(): bool", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 3: /**", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 353: $route->run($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 76: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 37: public static function isResponseFactoryAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "如何判断当前环境下是否已经配置并可以实例化响应工厂?", "query": "response factory available", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "如何判断当前环境下是否已经配置并可以实例化响应工厂?", "query": "response factory available", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> function", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "如何判断当前环境下是否已经配置并可以实例化响应工厂?", "query": "response factory available", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=142-165\nread parseBody for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=786-809\nread testAddMiddlewareOnRoute for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/App.php lines=125-148\nread addRoutingMiddleware for detail", "file": "Slim/App.php", "symbol": "addRoutingMiddleware", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1984-2007\nread testAppIsARequestHandler for detail", "file": "tests/AppTest.php", "symbol": "testAppIsARequestHandler", "line": 1984, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je vérifie que le créateur de requête utilise bien le décorateur PSR-17 spécifié pour générer l'instance attendue depuis les globals. J'ai désactivé la détection automatique pour m'assurer que la configuration reste stricte.", "query": "test server request creation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lang": "fr", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 159: $routingResultsProphecy = $this->prophesize(RoutingResults::class);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 9: declare(strict_types=1);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 213: $app = new App($responseFactory);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 336: $routeCollectorProphecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 336, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 5: *", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 34: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 24: $mw = function ($request, $handler) use ($responseFactory) {", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 28: {", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 19: */", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 32: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 118: Throwable $exception,", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 160: $parsed = $this->bodyParsers[$mediaType]($body);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 45: */", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 50: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('provideImplementations')]", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 47: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 111: * @param Throwable $exception The caught Exception object", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 48: }", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 28: * @return TContainerInterface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 72: $this->assertSame(", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 70: public function testCreateAppWithAllImplementations(string $psr17factory, string $expectedResponseFactoryClass)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 70, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 30: {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je vérifie que le créateur de requête utilise bien le décorateur PSR-17 spécifié pour générer l'instance attendue depuis les globals. J'ai désactivé la détection automatique pour m'assurer que la configuration reste stricte.", "query": "test server request creation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lang": "fr", "candidates": [{"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Je vérifie que le créateur de requête utilise bien le décorateur PSR-17 spécifié pour générer l'instance attendue depuis les globals. J'ai désactivé la détection automatique pour m'assurer que la configuration reste stricte.", "query": "test server request creation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Psr", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> HttpSoft", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Nyholm", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> RuntimeException", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Slim", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je vérifie que le créateur de requête utilise bien le décorateur PSR-17 spécifié pour générer l'instance attendue depuis les globals. J'ai désactivé la détection automatique pour m'assurer que la configuration reste stricte.", "query": "test server request creation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lang": "fr", "candidates": [{"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=166-189\nread testJSONErrorRendererSubstitutesInvalidUtf8 for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererSubstitutesInvalidUtf8", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=103-126\nread testOutputBufferIsCleanedWhenThrowableIsCaught for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testOutputBufferIsCleanedWhenThrowableIsCaught", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=43-66\nread testCreateServerRequestFromGlobals for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobals", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=163-186\nread testParsingWithARegisteredParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingWithARegisteredParser", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "uri와 메소드 및 데이터를 이용해 서버 요청 객체를 생성하는 기능 찾아줘", "query": "createServerRequest", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lang": "ko", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 21: $request = $this->createServerRequest('/');", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 77: $request = $this->createServerRequest('/');", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 48: public function createServerRequest(string $uri, string $method = 'GET', array $data = []): ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 21: * @var string", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 35: }", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 32: while ($exception = $exception->getPrevious()) {", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 147: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 9: class NyholmPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 131: $this->methods = $methods;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 18: {", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 20: $request = $this->createServerRequest('/');", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 26: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 66: $request = $this->createServerRequest('/foo/baz/');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 34: $request = $request->withMethod($body['_METHOD']);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 308: ->has(ResponseFactoryInterface::class)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 308, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 96: protected function createServerRequest(", "file": "tests/TestCase.php", "symbol": "", "line": 96, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 132: $stream->rewind();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 62: $request = $this->createServerRequest('/');", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 104: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 215: $logger = $this->getMockLogger();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 215, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 55: }", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 269: ->createResponse(200, '')", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 23: static::$CalledContainer = $container;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "uri와 메소드 및 데이터를 이용해 서버 요청 객체를 생성하는 기능 찾아줘", "query": "createServerRequest", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "uri와 메소드 및 데이터를 이용해 서버 요청 객체를 생성하는 기능 찾아줘", "query": "createServerRequest", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "uri와 메소드 및 데이터를 이용해 서버 요청 객체를 생성하는 기능 찾아줘", "query": "createServerRequest", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lang": "ko", "candidates": [{"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=149-172\nread options for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "options", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=290-313\nread testCreateAppWithContainerUsesContainerDependenciesWhenPresent for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithContainerUsesContainerDependenciesWhenPresent", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "怎么测试当请求没有匹配到任何路由时,应用会抛出 HttpNotFoundException 异常?", "query": "test no route exception", "file": "tests/AppTest.php", "symbol": "testInvokeWithoutMatchingRoute", "line": 1398, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 26: $response->getBody()->write('Body');", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 150: public function testSlimCallableContainer(): void", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 42: $request = $request->withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 77: '/archive/2015/07/d/19',", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 39: $this->assertSame(['Factory 2', 'Factory 1'], Psr17FactoryProvider::getFactories());", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1398: public function testInvokeWithoutMatchingRoute(): void", "file": "tests/AppTest.php", "symbol": "testInvokeWithoutMatchingRoute", "line": 1398, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 17: class MockMiddlewareSlimCallable", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 99: * @param MiddlewareInterface|string|callable $middleware", "file": "Slim/App.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 49: $this->message = 'Method not allowed. Must be one of: ' . implode(', ', $methods);", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 286: $obj = new RequestHandlerTest();", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 286, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 17: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 1: [", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 74: ' ' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 92: }", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 28: $psr17Factory,", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 21: }", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 21: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 480: }", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 480, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "怎么测试当请求没有匹配到任何路由时,应用会抛出 HttpNotFoundException 异常?", "query": "test no route exception", "file": "tests/AppTest.php", "symbol": "testInvokeWithoutMatchingRoute", "line": 1398, "lang": "zh", "candidates": [{"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "怎么测试当请求没有匹配到任何路由时,应用会抛出 HttpNotFoundException 异常?", "query": "test no route exception", "file": "tests/AppTest.php", "symbol": "testInvokeWithoutMatchingRoute", "line": 1398, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "怎么测试当请求没有匹配到任何路由时,应用会抛出 HttpNotFoundException 异常?", "query": "test no route exception", "file": "tests/AppTest.php", "symbol": "testInvokeWithoutMatchingRoute", "line": 1398, "lang": "zh", "candidates": [{"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1398-1421\nread testInvokeWithoutMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithoutMatchingRoute", "line": 1398, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Como o método processa a requisição e a resposta, resolvendo o callable e aplicando a estratégia de invocação correta?", "query": "route handle invocation", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 7: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 32: protected RouteCollectorProxyInterface $routeCollectorProxy;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 77: return $handler->handle($request);", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 29: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 57: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/TestCase.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 67: $dispatcher2 = new Dispatcher($routeCollector2);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 37: $response = $middlewareDispatcher->handle($request);", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 75: $middlewareDispatcher->handle($request);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 86: $request = $exception->getRequest();", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 30: public function __construct(int $responseChunkSize = 4096)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 20: /**", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 70: return $this->resolveByPredicate($toResolve, [$this, 'isRoute'], 'handle');", "file": "Slim/CallableResolver.php", "symbol": "", "line": 70, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 64: $this->basePath = $basePath;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 31: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 148: /**", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 148, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 114: ],", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 19: * @param ServerRequestInterface $request", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 42: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 342: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 20: public function resolve($toResolve): callable;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 35: if (!static::isServerRequestDecoratorAvailable()) {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 40: $middlewareDispatcher->handle($request);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 27: protected string $description = 'The server cannot or will not process ' .", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como o método processa a requisição e a resposta, resolvendo o callable e aplicando a estratégia de invocação correta?", "query": "route handle invocation", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lang": "pt", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como o método processa a requisição e a resposta, resolvendo o callable e aplicando a estratégia de invocação correta?", "query": "route handle invocation", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como o método processa a requisição e a resposta, resolvendo o callable e aplicando a estratégia de invocação correta?", "query": "route handle invocation", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lang": "pt", "candidates": [{"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=103-126\nread seek for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "seek", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=75-98\nread patch for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "patch", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "依存関係コンテナを取得するメソッドを探して", "query": "get container", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 75: public function getContainer(): ?ContainerInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 24: {", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 216: return $instance->process($request, $this->next);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 74: $routeCollectorProxy->getContainer()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 36: ): ResponseInterface {", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 17: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 127: }", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 81: $body = $resource;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 43: $this->routeParser = $routeParser;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 15: }", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: variableRouteData as $method => $routeData) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 16: public function resolveRoute(string $identifier): RouteInterface;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 30: public function getContainer(): ?ContainerInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 233: $reflectionProperty->setValue($handler, $this->getResponseFactory());", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 83: $this->assertSame($containerProphecy->reveal(), $app->getContainer());", "file": "tests/AppTest.php", "symbol": "", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 21: use function http_build_query;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 56: // routingResults is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 32: public static function getServerRequestCreator(): ServerRequestCreatorInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 183: $app->getContainer()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 183, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 11: namespace Slim\\Middleware;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 5: *", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "依存関係コンテナを取得するメソッドを探して", "query": "get container", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lang": "ja", "candidates": [{"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "依存関係コンテナを取得するメソッドを探して", "query": "get container", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "依存関係コンテナを取得するメソッドを探して", "query": "get container", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lang": "ja", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我们在模拟流式读取的操作,这里需要定义一个方法来检查当前流是否处于可读状态。请直接返回 true,因为该模拟流始终被视为可读。", "query": "is readable mock", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 70: }", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 21: use function fopen;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 38: RouteResolverInterface $routeResolver,", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 70: public function isReadable(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 25: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 33: }", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 32: static::$hasBeenInstantiated = true;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 15: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 37: /** @var ResponseInterface */", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 39: $this->assertSame('4', $response->getHeaderLine('Content-Length'));", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 84: */", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 17: /**", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 75: public function isReadable(): bool", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 25: * Get default route invocation strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 40: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 36: $this->assertSame('Title', $exception->getTitle());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 103: public function testOutputBufferIsCleanedWhenThrowableIsCaught()", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 39: public function __construct(StreamFactoryInterface $streamFactory, string $style = 'append')", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 20: public function resolve($toResolve): callable;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 52: $this->groupPattern = $groupPattern;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 97: && static::$serverRequestCreatorMethod", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 227: public function isReadable(): bool", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 227, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我们在模拟流式读取的操作,这里需要定义一个方法来检查当前流是否处于可读状态。请直接返回 true,因为该模拟流始终被视为可读。", "query": "is readable mock", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines isReadable", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "我们在模拟流式读取的操作,这里需要定义一个方法来检查当前流是否处于可读状态。请直接返回 true,因为该模拟流始终被视为可读。", "query": "is readable mock", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我们在模拟流式读取的操作,这里需要定义一个方法来检查当前流是否处于可读状态。请直接返回 true,因为该模拟流始终被视为可读。", "query": "is readable mock", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=207-230\nread testResolutionToAnInvokableClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClassInContainer", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=70-93\nread isReadable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Slimのエラーレンダラーインターフェースで、発生した例外とエラー詳細の表示フラグを受け取ってHTMLを生成するメソッドを実装してください。", "query": "render error exception", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 82: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 17: use Slim\\Routing\\RouteContext;", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 66: $this->assertSame($greeting, $args['greeting']);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 20: ServerRequestInterface $request,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 69: null", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 20: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 78: * @throws RuntimeException If named route does not exist", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 1: handle($request);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 17: public function __invoke(Throwable $exception, bool $displayErrorDetails): string;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 5: end_of_line = lf", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 39: * @throws RuntimeException If named route does not exist", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 17: use function str_repeat;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 77: });", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 29: protected function getErrorTitle(Throwable $exception): string", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 158: if (isset($this->bodyParsers[$mediaType])) {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 34: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Slimのエラーレンダラーインターフェースで、発生した例外とエラー詳細の表示フラグを受け取ってHTMLを生成するメソッドを実装してください。", "query": "render error exception", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lang": "ja", "candidates": [{"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\ndefines __invoke", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Slimのエラーレンダラーインターフェースで、発生した例外とエラー詳細の表示フラグを受け取ってHTMLを生成するメソッドを実装してください。", "query": "render error exception", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Slimのエラーレンダラーインターフェースで、発生した例外とエラー詳細の表示フラグを受け取ってHTMLを生成するメソッドを実装してください。", "query": "render error exception", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lang": "ja", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=52-75\nread process for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "process", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=163-186\nread testParsingWithARegisteredParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingWithARegisteredParser", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=577-600\nread testRouteGroupPattern for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=82-105\nread testRelativePathForWithNoBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testRelativePathForWithNoBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=157-180\nread assertCallable for detail", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=377-400\nread testRouteObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjMiddlewareClass", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=31-54\nread __construct for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Le flux de données n'est pas correctement libéré et la ressource n'est pas détachée lors de la fermeture de l'objet simulé, ce qui pourrait laisser des ressources ouvertes.", "query": "close resource detach", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lang": "fr", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nLine 16: use function trim;", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 41: */", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 319: $output = $renderer->__invoke($httpExceptionProphecy->reveal(), true);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 319, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 46: public function close(): void", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 24: protected $message = 'Unauthorized.';", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 3: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 57: $this->assertStringNotContainsString('Oops..', $output);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 26: class ResponseEmitter", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 45: }", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 11: namespace Slim;", "file": "Slim/Logger.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 29: {", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 7: */", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 28: */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 7: */", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 53: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 26: LaminasDiactorosPsr17Factory::class,", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 44: && class_exists(static::$responseFactoryClass)", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 295: $this->container,", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 295, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 41: public function close(): void", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 119: public function close(): void", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 80: ' strong{display:inline-block;width:65px}' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Le flux de données n'est pas correctement libéré et la ressource n'est pas détachée lors de la fermeture de l'objet simulé, ce qui pourrait laisser des ressources ouvertes.", "query": "close resource detach", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Le flux de données n'est pas correctement libéré et la ressource n'est pas détachée lors de la fermeture de l'objet simulé, ce qui pourrait laisser des ressources ouvertes.", "query": "close resource detach", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Le flux de données n'est pas correctement libéré et la ressource n'est pas détachée lors de la fermeture de l'objet simulé, ce qui pourrait laisser des ressources ouvertes.", "query": "close resource detach", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lang": "fr", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=247-270\nread testResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClass", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "存在しないクラスへのコールバック呼び出しを試みた際、期待通りの例外メッセージと共にRuntimeExceptionがスローされるか確認するテストケースを追加してください。", "query": "unresolved route exception", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/RouteInterface.php\nLine 106: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 58: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 33: ->withAttribute(RouteContext::ROUTING_RESULTS, $routingResults);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 59: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 54: 'REQUEST_URI' => '',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 17: use Slim\\Exception\\HttpNotFoundException;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 19: use function array_key_exists;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 45: $code = $exception->getCode();", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 255: ->withHeader('Content-Length', $body->getSize())", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 23: * @param string|Stringable $message", "file": "Slim/Logger.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 19: protected $code = 401;", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 1: willReturn($pattern)", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 332, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 17: /**", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 162: $this->assertSame(['file' => '%2e%2e%2fetc%2fpasswd'], $results->getRouteArguments());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 31: $this->assertSame('Hello World', $exception->getMessage());", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 15: class MockPsr17Factory extends Psr17Factory", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 16: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 5: *", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 28: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 121: $routes = $routeCollector->getRoutes();", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "存在しないクラスへのコールバック呼び出しを試みた際、期待通りの例外メッセージと共にRuntimeExceptionがスローされるか確認するテストケースを追加してください。", "query": "unresolved route exception", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lang": "ja", "candidates": [{"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testRouteClassNotFoundThrowException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "存在しないクラスへのコールバック呼び出しを試みた際、期待通りの例外メッセージと共にRuntimeExceptionがスローされるか確認するテストケースを追加してください。", "query": "unresolved route exception", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "存在しないクラスへのコールバック呼び出しを試みた際、期待通りの例外メッセージと共にRuntimeExceptionがスローされるか確認するテストケースを追加してください。", "query": "unresolved route exception", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lang": "ja", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=88-111\nread getArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php lines=13-36\nread LaminasDiactorosPsr17Factory for detail", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "LaminasDiactorosPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=497-520\nread testRouteClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How does the piece that intercepts incoming requests and outgoing responses handle adding headers to track the execution order?", "query": "withAddedHeader request handler", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lang": "en", "candidates": [{"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 373: public function testAddMiddlewareAsStringNotImplementingInterfaceThrowsException()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 85: '
%s
' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 20: public function resolve($toResolve): callable;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 52: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 24: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 106: $httpExceptionProphecy = $this->prophesize(HttpException::class);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 53: $route = $routeCollector->map(['GET'], '/', function () {", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 130: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 44: }", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 26: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 94: * Add route for any HTTP method", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 7: */", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 42: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 59: public function setCallable($callable): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 27: protected string $description = 'The server cannot or will not process ' .", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 18: {", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 13: class GuzzlePsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1681: $body .= $args[0];", "file": "tests/AppTest.php", "symbol": "", "line": 1681, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 64: return [new MockMiddlewareWithoutConstructor(), 'process'];", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 64, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 27: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How does the piece that intercepts incoming requests and outgoing responses handle adding headers to track the execution order?", "query": "withAddedHeader request handler", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lang": "en", "candidates": [{"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\ndefines process", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "How does the piece that intercepts incoming requests and outgoing responses handle adding headers to track the execution order?", "query": "withAddedHeader request handler", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How does the piece that intercepts incoming requests and outgoing responses handle adding headers to track the execution order?", "query": "withAddedHeader request handler", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lang": "en", "candidates": [{"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=57-80\nread performRouting for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "performRouting", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "DIコンテナを渡さずにオブジェクトを解決しようとした時に、期待通りの例外が発生するか確認しているテストはどこ?", "query": "not resolvable exception", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lang": "ja", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 101: $result = json_decode($input, true);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 123: $authority = $uri->getAuthority();", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 367: public function testObjMiddlewareClass(): void", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 163: * {@inheritdoc}", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 110: }", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 60: public function collectRoutes(): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 256: $handler = new MockRequestHandler();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 51: 'REQUEST_METHOD' => $method,", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 227: ];", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 284: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 1: uri = $this->getMetadata('uri');", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 341: $this->setAccessible($reflectionProperty);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 341, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 106: $middleware = (function ($request, $handler) {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 131: {", "file": "tests/TestCase.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 136: }", "file": "tests/TestCase.php", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 44: $this->routeCollectorProxy = $routeCollectorProxy;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 60: );", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 29: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "DIコンテナを渡さずにオブジェクトを解決しようとした時に、期待通りの例外が発生するか確認しているテストはどこ?", "query": "not resolvable exception", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testObjMiddlewareClass", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "DIコンテナを渡さずにオブジェクトを解決しようとした時に、期待通りの例外が発生するか確認しているテストはどこ?", "query": "not resolvable exception", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "DIコンテナを渡さずにオブジェクトを解決しようとした時に、期待通りの例外が発生するか確認しているテストはどこ?", "query": "not resolvable exception", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lang": "ja", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=254-277\nread addCallable for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addCallable", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=177-200\nread eof for detail", "file": "tests/Mocks/MockStream.php", "symbol": "eof", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我在配置项目的代码格式规范。帮我看看能不能在配置里设置一下,让所有文件在保存时末尾都自动加上一个空行。", "query": "final newline", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 11: namespace Slim\\Middleware;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 471: $resolver = new CallableResolver($container);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 471, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 19: use const JSON_INVALID_UTF8_SUBSTITUTE;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 17: protected static string $responseFactoryClass = '';", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 137: $route = $request->getAttribute(RouteContext::ROUTE);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 46: 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.8',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 47: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 42: {", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 19: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 24: /**", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 261: $pattern", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 261, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 29: * The status is one of the constants shown above", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 38: * {@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 3: /**", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 18: {", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 81: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 24: * These functions include:", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 155: $callable = function (ServerRequestInterface $request, ResponseInterface $response) {", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 28: if (", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 21: /**", "file": "Slim/Logger.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我在配置项目的代码格式规范。帮我看看能不能在配置里设置一下,让所有文件在保存时末尾都自动加上一个空行。", "query": "final newline", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines insert_final_newline", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我在配置项目的代码格式规范。帮我看看能不能在配置里设置一下,让所有文件在保存时末尾都自动加上一个空行。", "query": "final newline", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lang": "zh", "candidates": [{"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=168-191\nread tell for detail", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=98-121\nread rewind for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "rewind", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=157-180\nread assertCallable for detail", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=658-681\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "데이터 스트림의 크기를 확인하려고 할 때 항상 null이 반환되는 문제 수정 요청", "query": "stream size null", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lang": "ko", "candidates": [{"text": "File: Slim/Logger.php\nLine 21: /**", "file": "Slim/Logger.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 23: */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 44: /**", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 115: ->onlyMethods(['getSize'])", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 5: *", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 50: $dispatcherProphecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 143: public function getSize(): ?int", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 110: });", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 17: interface ErrorHandlerInterface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 107: }", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 44: */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 121: $path = $this->urlFor($routeName, $data, $queryParams);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 65: public function getSize(): ?int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 180: ->getScheme()", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 26: $size = $response->getBody()->getSize();", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 96: $amountToRead = $body->getSize();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 96, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 24: throw new InvalidArgumentException(\"Not a Slim call\");", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 5: *", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 70: public function getSize(): ?int", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 392: $request = $args[0];", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 392, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "데이터 스트림의 크기를 확인하려고 할 때 항상 null이 반환되는 문제 수정 요청", "query": "stream size null", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lang": "ko", "candidates": [{"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines getSize", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "데이터 스트림의 크기를 확인하려고 할 때 항상 null이 반환되는 문제 수정 요청", "query": "stream size null", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "데이터 스트림의 크기를 확인하려고 할 때 항상 null이 반환되는 문제 수정 요청", "query": "stream size null", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lang": "ko", "candidates": [{"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=158-181\nread setDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=116-139\nread testDetermineResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=157-180\nread any for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "any", "line": 157, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to figure out how to change the way a path handler is executed. Where can I find the method that allows me to define a custom execution logic for a specific endpoint?", "query": "set invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lang": "en", "candidates": [{"text": "File: Slim/Exception/HttpException.php\nLine 45: {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 7: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 37: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 214: $route->setInvocationStrategy($strategyProphecy->reveal());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 214, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 30: /**", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 129: $stream = $response->getBody();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 112: *", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 134: htmlspecialchars($exceptionDescription, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'),", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 176: $callableResolver = $app->getCallableResolver();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 16: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 99: );", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 159: public function setInvocationStrategy(InvocationStrategyInterface $invocationStrategy): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 70: public function isReadable(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 78: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 111: public function testNoOverrideRewindEofBodyStream()", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 138: });", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 21: */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 28: public function setInvocationStrategy(InvocationStrategyInterface $invocationStrategy): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\nLine 176: }", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to figure out how to change the way a path handler is executed. Where can I find the method that allows me to define a custom execution logic for a specific endpoint?", "query": "set invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lang": "en", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm trying to figure out how to change the way a path handler is executed. Where can I find the method that allows me to define a custom execution logic for a specific endpoint?", "query": "set invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to figure out how to change the way a path handler is executed. Where can I find the method that allows me to define a custom execution logic for a specific endpoint?", "query": "set invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lang": "en", "candidates": [{"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=270-293\nread testAddMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddleware", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/HttpSoftPsr17Factory.php lines=13-36\nread HttpSoftPsr17Factory for detail", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "HttpSoftPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=279-302\nread testDetermineContentTypeApplicationJsonOrXml for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeApplicationJsonOrXml", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Comment obtenir les factories PSR-7 (serveur, réponse, flux) dans les tests ?", "query": "PSR-7 factories test", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lang": "fr", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 25: *", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 14: use Slim\\Tests\\TestCase;", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 14, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 29: use Slim\\Tests\\TestCase;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 17: use Slim\\Interfaces\\CallableResolverInterface;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1284: $app->getRouteCollector()->setDefaultInvocationStrategy(new RequestResponseArgs());", "file": "tests/AppTest.php", "symbol": "", "line": 1284, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 24: use Slim\\Tests\\TestCase;", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 197: $routeCollectorProphecy", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 27: * of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 30: abstract class TestCase extends PhpUnitTestCase", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 261: $handler = (function (ServerRequestInterface $request, $exception) {", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 261, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 43: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 38: return $callable($request, $response, ...array_values($routeArguments));", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 21: use Slim\\Tests\\TestCase;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\nLine 20: {", "file": "Slim/Logger.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 34: /**", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 53: ]);", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 21: }", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 42: use Slim\\Tests\\TestCase;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 26: use Slim\\Tests\\TestCase;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 5: *", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 7: */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 22: * in order to test what happens during the `Server::listen()` cycle.", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 38: $request->getBody()->rewind();", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Comment obtenir les factories PSR-7 (serveur, réponse, flux) dans les tests ?", "query": "PSR-7 factories test", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lang": "fr", "candidates": [{"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Comment obtenir les factories PSR-7 (serveur, réponse, flux) dans les tests ?", "query": "PSR-7 factories test", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Slim", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionProperty", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ProphecyTrait", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> Psr", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionMethod", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Comment obtenir les factories PSR-7 (serveur, réponse, flux) dans les tests ?", "query": "PSR-7 factories test", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lang": "fr", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=99-122\nread any for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我想看看有没有地方可以手动把路由收集器注入到应用程序实例里。帮我找一下那个用来设置路由收集器的静态方法。", "query": "set route collector", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lang": "zh", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 170: AppFactory::setRouteCollector($routeCollectorProphecy->reveal());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 170, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 16: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 42: * @param callable|string $callable", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 198: public static function setRouteCollector(RouteCollectorInterface $routeCollector): void", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 15: use Slim\\Factory\\Psr17\\Psr17FactoryProvider;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 15: use Slim\\Tests\\TestCase;", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 258: $route->setArgument('bar', 'bar');", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 105: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 90: }", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 9: declare(strict_types=1);", "file": "Slim/Logger.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 77: '{\"foo\":\"bar\"}',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 111: public function addMiddleware(MiddlewareInterface $middleware): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 68: $this->routeCollectorProxy->getBasePath()", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 21: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 20: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "我想看看有没有地方可以手动把路由收集器注入到应用程序实例里。帮我找一下那个用来设置路由收集器的静态方法。", "query": "set route collector", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我想看看有没有地方可以手动把路由收集器注入到应用程序实例里。帮我找一下那个用来设置路由收集器的静态方法。", "query": "set route collector", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php lines=13-36\nread LaminasDiactorosPsr17Factory for detail", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "LaminasDiactorosPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=254-277\nread addCallable for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addCallable", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=18-41\nread MockRequestHandler for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "MockRequestHandler", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "这段代码定义了哪些默认的请求体解析器?", "query": "default body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 20: public function dispatch(string $method, string $uri): RoutingResults;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 177: $this->expectExceptionMessage(sprintf(", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 3: /**", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 29: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 45: /**", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 3: /**", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 109: if ($basePath) {", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 17: use function class_exists;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 21: public function __invoke(", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 68: throw new RuntimeException(get_called_class() . ' could not instantiate a server request creator.');", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 7: */", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 97: protected function registerDefaultBodyParsers(): void", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 26: protected string $title = '429 Too Many Requests';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 35: }", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 286: $handler = $this->createMock(ErrorHandler::class);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 286, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 52: return $this->amountToRead === 0;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 19: class ContentLengthMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 21: }", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 19: public static $CalledCount = 0;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 54: '/.*A website error has occurred. Sorry for the temporary inconvenience.*/',", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 14: use Throwable;", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 801: Argument::type(ServerRequestInterface::class),", "file": "tests/AppTest.php", "symbol": "", "line": 801, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "这段代码定义了哪些默认的请求体解析器?", "query": "default body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "这段代码定义了哪些默认的请求体解析器?", "query": "default body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> const", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> function", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "这段代码定义了哪些默认的请求体解析器?", "query": "default body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lang": "zh", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=146-169\nread testDuplicateStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=116-139\nread testSlimCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallable", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Die Methode zum Beenden des Datenstroms tut aktuell gar nichts. Es findet kein Verschluss des Ressourcen-Handles statt, was bei wiederholten Aufrufen zu Speicherlecks führen kann. Bitte implementiere die Logik zum ordnungsgemäßen Schließen des Streams.", "query": "stream close implement", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lang": "de", "candidates": [{"text": "File: Slim/Exception/HttpException.php\nLine 44: public function getTitle(): string", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 46: public function close(): void", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 5: *", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 33: $error['exception'] = [];", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 29: }", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 351: $strategyImplements = class_implements($strategy);", "file": "Slim/Routing/Route.php", "symbol": "", "line": 351, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 42: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 18: }", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 65: $routeCollectorProphecy->reveal(),", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 25: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 25: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 41: public function close(): void", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 41: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 108: && (", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 84: ],", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 141: 'text/xml',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 103: $this->close();", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 19: public static $CalledCount = 0;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 70: public function getSize(): ?int", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 419: /** @var ContainerInterface $container */", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 419, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Die Methode zum Beenden des Datenstroms tut aktuell gar nichts. Es findet kein Verschluss des Ressourcen-Handles statt, was bei wiederholten Aufrufen zu Speicherlecks führen kann. Bitte implementiere die Logik zum ordnungsgemäßen Schließen des Streams.", "query": "stream close implement", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lang": "de", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines close", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Die Methode zum Beenden des Datenstroms tut aktuell gar nichts. Es findet kein Verschluss des Ressourcen-Handles statt, was bei wiederholten Aufrufen zu Speicherlecks führen kann. Bitte implementiere die Logik zum ordnungsgemäßen Schließen des Streams.", "query": "stream close implement", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Die Methode zum Beenden des Datenstroms tut aktuell gar nichts. Es findet kein Verschluss des Ressourcen-Handles statt, was bei wiederholten Aufrufen zu Speicherlecks führen kann. Bitte implementiere die Logik zum ordnungsgemäßen Schließen des Streams.", "query": "stream close implement", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lang": "de", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=284-307\nread testRouteObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClass", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=208-231\nread setMiddlewareDispatcher for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=356-379\nread testExecutesMiddlewareLastInFirstOut for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesMiddlewareLastInFirstOut", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotFoundException.php lines=13-36\nread HttpNotFoundException for detail", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "HttpNotFoundException", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=108-131\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getStreamFactory", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=211-234\nread testAvoidReadFromSlowStreamAccordingToStatus for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testAvoidReadFromSlowStreamAccordingToStatus", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Onde tem o teste que verifica se o tipo de conteúdo é negociado pelo header Accept em cada requisição em vez de ficar em cache?", "query": "negotiated Accept header", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/CallableTest.php\nLine 19: public static $CalledContainer = null;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 25: {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 44: && class_exists(static::$responseFactoryClass)", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 122: /**", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 172: $middleware = new BodyParsingMiddleware($parsers);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 18: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 29: $psr17Factory,", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 26: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 28: $psr17Factory,", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 51: public static function reset()", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 125: public function testContentTypeIsNegotiatedOnEachRequest()", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 77: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 62: }", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 37: }", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 27: {", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 81: $middleware = function ($request, $handler) use ($responseFactory) {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Onde tem o teste que verifica se o tipo de conteúdo é negociado pelo header Accept em cada requisição em vez de ficar em cache?", "query": "negotiated Accept header", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Onde tem o teste que verifica se o tipo de conteúdo é negociado pelo header Accept em cada requisição em vez de ficar em cache?", "query": "negotiated Accept header", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lang": "pt", "candidates": [{"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=523-546\nread testInvokeWithException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeWithException", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "동일한 변수명을 중복해서 정의할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "duplicate placeholder exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 30: {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 92: * @param string $method", "file": "tests/TestCase.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 24: bool $logErrorDetails", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 26: {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 5: *", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 95: }", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 26: protected string $title = '410 Gone';", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 22: */", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 69: * @param callable $callable A callable that returns parsed contents for media type.", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 27: }", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 98: : null;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 59: }", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 5: *", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 30: public function __construct(?ContainerInterface $container = null)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 61: {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 67: * @param string $name Route name", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 23: * @var callable|string", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 44: $uri = '/' . $uri;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 548: });", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 548, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 54: 'message' => $exception->getMessage(),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 125: public function testDuplicateVariableNameError()", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "동일한 변수명을 중복해서 정의할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "duplicate placeholder exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lang": "ko", "candidates": [{"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "동일한 변수명을 중복해서 정의할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "duplicate placeholder exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> function", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "동일한 변수명을 중복해서 정의할 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "duplicate placeholder exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lang": "ko", "candidates": [{"text": "Next: read tests/Mocks/MockStream.php lines=241-264\nread getContents for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=289-312\nread getDefaultLogger for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "getDefaultLogger", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "다양한 psr17 구현체가 앱 생성 시 적절한 응답 팩토리를 생성하는지 테스트하는 로직 찾아줘", "query": "psr17 response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lang": "ko", "candidates": [{"text": "File: tests/Routing/RouteTest.php\nLine 497: $response = $route->run($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 356: && !in_array(RequestHandlerInvocationStrategyInterface::class, $strategyImplements)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 240: });", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 51: public function testCreateAppWithAllImplementations(string $psr17factory, string $expectedServerRequestClass)", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 35: use function current;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 16: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 28: }", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 33: protected ResponseFactoryInterface $responseFactory;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 116: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 57: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 15: use Stringable;", "file": "Slim/Logger.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 139: $route->setName('test');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 17: /**", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 244: $this->assertSame(3, InvokableTest::$CalledCount);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 69: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('provideImplementations')]", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 71: ],", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 5: *", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 425: ->resolve(Argument::is($callable))", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 41: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 100: * @return App", "file": "Slim/App.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 7: */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "다양한 psr17 구현체가 앱 생성 시 적절한 응답 팩토리를 생성하는지 테스트하는 로직 찾아줘", "query": "psr17 response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "다양한 psr17 구현체가 앱 생성 시 적절한 응답 팩토리를 생성하는지 테스트하는 로직 찾아줘", "query": "psr17 response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "다양한 psr17 구현체가 앱 생성 시 적절한 응답 팩토리를 생성하는지 테스트하는 로직 찾아줘", "query": "psr17 response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lang": "ko", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=88-111\nread getArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=99-122\nread any for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=254-277\nread setArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查看 computeRoutingResults 方法的单元测试,它是如何验证 URI 转换逻辑的?", "query": "route resolver test uri", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 14: {", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 51: $middlewareDispatcher->handle($request);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 85: /**", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 36: if ($routeParser === null || $routingResults === null) {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 113: $request = $this->createServerRequest('/', 'GET');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 100: ): ServerRequestInterface {", "file": "tests/TestCase.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 12: * @param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 34: use Slim\\Interfaces\\CallableResolverInterface;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 1: handle($request);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 1: Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> function", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Slim", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查看 computeRoutingResults 方法的单元测试,它是如何验证 URI 转换逻辑的?", "query": "route resolver test uri", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lang": "zh", "candidates": [{"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=99-122\nread testCallingWithUnknownAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=284-307\nread testRouteObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClass", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=98-121\nread seek for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "seek", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "O método que recupera o coletor de rotas não está retornando a instância que foi injetada via construtor durante a inicialização da aplicação.", "query": "getRouteCollector injected", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lang": "pt", "candidates": [{"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 15: {", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 18: {", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 41: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 23: {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 31: if ($exception instanceof HttpException) {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 36: use function explode;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 16: use Psr\\Http\\Message\\StreamFactoryInterface;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 39: * @var array", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 33: $exception->setTitle('Title');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 28: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 23: $this->assertInstanceOf(HttpUnauthorizedException::class, $exception);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 244: $callableResolverProphecy->reveal(),", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 105: public function testGetRouteCollectorReturnsInjectedInstance(): void", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 13: use FastRoute\\Dispatcher;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 27: public const BASE_PATH = '__basePath__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 21: * This file exists to allow overriding the various output-related functions", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 78: public function testGetRouteCollectorReturnsInjectedInstance()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nLine 24: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 19: use Slim\\Exception\\HttpNotFoundException;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 79: $response->getReasonPhrase()", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 5: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "O método que recupera o coletor de rotas não está retornando a instância que foi injetada via construtor durante a inicialização da aplicação.", "query": "getRouteCollector injected", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lang": "pt", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "O método que recupera o coletor de rotas não está retornando a instância que foi injetada via construtor durante a inicialização da aplicação.", "query": "getRouteCollector injected", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "O método que recupera o coletor de rotas não está retornando a instância que foi injetada via construtor durante a inicialização da aplicação.", "query": "getRouteCollector injected", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lang": "pt", "candidates": [{"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=28-51\nread __invoke for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "디스패치 중 재귀적으로 다시 실행 가능한지 테스트하는 메서드 찾아줘.", "query": "recursive dispatch test", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/InvokableTest.php\nLine 20: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 1: reveal()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1826: public function testCanBeReExecutedRecursivelyDuringDispatch(): void", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 76: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 40: public function setUp(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 5: *", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 40: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 3: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 507: public function testCanBeReExecutedRecursivelyDuringDispatch(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 507, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 40: }", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 47: $text .= sprintf(\"Code: %s\\n\", $code);", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 3: /**", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'Laminas\\Diactoros\\ResponseFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "디스패치 중 재귀적으로 다시 실행 가능한지 테스트하는 메서드 찾아줘.", "query": "recursive dispatch test", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lang": "ko", "candidates": [{"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "디스패치 중 재귀적으로 다시 실행 가능한지 테스트하는 메서드 찾아줘.", "query": "recursive dispatch test", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "디스패치 중 재귀적으로 다시 실행 가능한지 테스트하는 메서드 찾아줘.", "query": "recursive dispatch test", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1826-1849\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=320-343\nread testAny for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testAny", "line": 320, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=17-40\nread ContentLengthMiddlewareTest for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Ich versuche gerade zu verstehen, wie die Schichten der Pipeline aufgebaut werden. Kannst du mir zeigen, wo die Logik für das Initialisieren einer einzelnen Komponente zwischen dem Request und dem nächsten Handler liegt?", "query": "middleware handler constructor", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lang": "de", "candidates": [{"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 34: $xml .= ' ' . $exception->getCode() . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 14: class HttpNotImplementedException extends HttpSpecializedException", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 62: /**", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 24: protected $message = 'Forbidden.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 1: reveal());", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 47: $this->assertSame('PUT', $request->getMethod());", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 15: interface DispatcherInterface", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 5: *", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 30: public function __construct(?ContainerInterface $container = null)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Ich versuche gerade zu verstehen, wie die Schichten der Pipeline aufgebaut werden. Kannst du mir zeigen, wo die Logik für das Initialisieren einer einzelnen Komponente zwischen dem Request und dem nächsten Handler liegt?", "query": "middleware handler constructor", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lang": "de", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Ich versuche gerade zu verstehen, wie die Schichten der Pipeline aufgebaut werden. Kannst du mir zeigen, wo die Logik für das Initialisieren einer einzelnen Komponente zwischen dem Request und dem nächsten Handler liegt?", "query": "middleware handler constructor", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ich versuche gerade zu verstehen, wie die Schichten der Pipeline aufgebaut werden. Kannst du mir zeigen, wo die Logik für das Initialisieren einer einzelnen Komponente zwischen dem Request und dem nächsten Handler liegt?", "query": "middleware handler constructor", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lang": "de", "candidates": [{"text": "Next: read Slim/Routing/RouteRunner.php lines=23-46\nread RouteRunner for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "RouteRunner", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=173-196\nread testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=304-327\nread testObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClassInContainer", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "라우트 리졸버 인스턴스 가져오는 메서드 찾아줘", "query": "get route resolver", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lang": "ko", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 198: $app->getRouteResolver()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 198, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 14: {", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 759: $callableResolver,", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 759, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 61: $request = $request->withBody($this->createStream($body));", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 181: * 2. Instance of \\Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 547: public function testRouteGroupCombinations(array $sequence, string $expectedPath): void", "file": "tests/AppTest.php", "symbol": "", "line": 547, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 53: 'REQUEST_TIME_FLOAT' => microtime(true),", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 92: return $this->addDeferred($middleware);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 76: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 242: }", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 19: protected $code = 501;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 24: MockPsr17Factory::getResponseFactory();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 155: $route = $routeCollector->map(['GET'], '/{first}/{last}', function () {", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 59: */", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 43: $app->getRouteResolver(),", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 71: public static function stack()", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 85: public function getRouteResolver(): RouteResolverInterface", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 3: /**", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 30: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 3: /**", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "라우트 리졸버 인스턴스 가져오는 메서드 찾아줘", "query": "get route resolver", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "라우트 리졸버 인스턴스 가져오는 메서드 찾아줘", "query": "get route resolver", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> function", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "라우트 리졸버 인스턴스 가져오는 메서드 찾아줘", "query": "get route resolver", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lang": "ko", "candidates": [{"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Wie wird sichergestellt, dass bei der Prüfung auf einen leeren Inhalt ein Stream, der nicht zurückgesetzt werden kann, nicht geleert wird?", "query": "isResponseEmpty non-seekable", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lang": "de", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 137: }", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 20: * Get the route parser", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 40: * @param string $uri The request uri", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 101: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 23: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 198: public function testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 11: namespace Slim\\Tests\\Exception;", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 3: /**", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 34: protected string $style;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 48: * @param string $routeName Route name", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 26: protected string $title = '410 Gone';", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 175: if ($this->container && $callable instanceof Closure) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 30: public static function setUpBeforeClass(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 17: use RuntimeException;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 33: * Middleware are organized as a stack. That means middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 184: 'application/json' => function ($input) {", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 164: ?ContainerInterface $container = null,", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 21: /**", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 73: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 486: public function testClassNotFoundThrowException(): void", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 238: $this->assertSame(", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 238, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 205: }", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Wie wird sichergestellt, dass bei der Prüfung auf einen leeren Inhalt ein Stream, der nicht zurückgesetzt werden kann, nicht geleert wird?", "query": "isResponseEmpty non-seekable", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lang": "de", "candidates": [{"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\ndefines testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Wie wird sichergestellt, dass bei der Prüfung auf einen leeren Inhalt ein Stream, der nicht zurückgesetzt werden kann, nicht geleert wird?", "query": "isResponseEmpty non-seekable", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> function", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> const", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wie wird sichergestellt, dass bei der Prüfung auf einen leeren Inhalt ein Stream, der nicht zurückgesetzt werden kann, nicht geleert wird?", "query": "isResponseEmpty non-seekable", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lang": "de", "candidates": [{"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=125-148\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=407-430\nread testWriteToErrorLogShowTip for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogShowTip", "line": 407, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "注册媒体类型对应的解析回调", "query": "body parser register", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 29: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 130: try {", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 107: if (connection_status() !== CONNECTION_NORMAL) {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 26: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 5: *", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 71: public function registerBodyParser(string $mediaType, callable $callable): self", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 15: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 1: registerBodyParser('text/foo', $parser);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 203, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 35: callable $callable,", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 22: */", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 834: $response = $handler->handle($request);", "file": "tests/AppTest.php", "symbol": "", "line": 834, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 7: */", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 20: {", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 253: */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1771: $streamProphecy = $this->prophesize(StreamInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 1771, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 16: /**", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 20: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 88: $serverRequestCreatorProphecy", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 84: public static function setSlimHttpDecoratorsAutomaticDetection(bool $enabled): void", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 132: $stream->rewind();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "注册媒体类型对应的解析回调", "query": "body parser register", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "注册媒体类型对应的解析回调", "query": "body parser register", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> const", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> function", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "注册媒体类型对应的解析回调", "query": "body parser register", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lang": "zh", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=166-189\nread testJSONErrorRendererSubstitutesInvalidUtf8 for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererSubstitutesInvalidUtf8", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=227-250\nread testXMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererDisplaysErrorDetails", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=247-270\nread testResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClass", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "怎么给路由分组添加中间件?", "query": "route group middleware", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lang": "zh", "candidates": [{"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 593: $r->addRoute('GET', '/user/{name}/{id:[0-9]+}', 'handler0');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 593, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 95: false,", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 1: assertSame($route, $routeContext->getRoute());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 109: public function add($middleware): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 109, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 32: callable $callable,", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 279: $route->add($mw);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 279, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 30: $decoratedResponseFactory = new static::$responseFactoryClass($responseFactory, $streamFactory)", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 74: public function add($middleware): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 31: * @runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 199: }", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 11: namespace Slim\\Tests\\Exception;", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 275: public function add($middleware): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 275, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 58: }", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 53: $this->markTestSkipped('Named arguments are not supported in PHP versions prior to 8.0');", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 85: public function add($middleware): MiddlewareDispatcherInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 626: $app->add($middlewareProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 626, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 41: if (", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 15: interface ServerRequestCreatorInterface", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 49: $middlewareDispatcher->add($callable);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 49, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "怎么给路由分组添加中间件?", "query": "route group middleware", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "怎么给路由分组添加中间件?", "query": "route group middleware", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "怎么给路由分组添加中间件?", "query": "route group middleware", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lang": "zh", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=45-68\nread __construct for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "__construct", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=83-106\nread addMiddleware for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "addMiddleware", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "스트림 데이터를 읽어오는 테스트용 객체에서 내용을 가져오는 메서드를 찾고 있어요. 현재 구현이 안 되어 있고 예외를 던지도록 되어 있는데, 이 부분을 어떻게 채워야 할까요?", "query": "getContents Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lang": "ko", "candidates": [{"text": "File: tests/Routing/RouteRunnerTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 770: /** @var MiddlewareDispatcher $middlewareDispatcher */", "file": "tests/AppTest.php", "symbol": "", "line": 770, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 55: protected function getDispatcherClass()", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 159: if (isset($stats['size'])) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 1: getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 35: * added one (last in, first out).", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 7: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 182: throw new InvalidArgumentException('This is a subclass of LogicException...');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 19: protected static string $serverRequestCreatorClass = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 14: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 41: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 86: }", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 32: ServerRequestInterface $request,", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 60: public function getContents(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 34: );", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 1: getContents();", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 113, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "스트림 데이터를 읽어오는 테스트용 객체에서 내용을 가져오는 메서드를 찾고 있어요. 현재 구현이 안 되어 있고 예외를 던지도록 되어 있는데, 이 부분을 어떻게 채워야 할까요?", "query": "getContents Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lang": "ko", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines getContents", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "스트림 데이터를 읽어오는 테스트용 객체에서 내용을 가져오는 메서드를 찾고 있어요. 현재 구현이 안 되어 있고 예외를 던지도록 되어 있는데, 이 부분을 어떻게 채워야 할까요?", "query": "getContents Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "스트림 데이터를 읽어오는 테스트용 객체에서 내용을 가져오는 메서드를 찾고 있어요. 현재 구현이 안 되어 있고 예외를 던지도록 되어 있는데, 이 부분을 어떻게 채워야 할까요?", "query": "getContents Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lang": "ko", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=82-105\nread testRelativePathForWithNoBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testRelativePathForWithNoBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=135-158\nread testDuplicateVariableRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableRoute", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=304-327\nread testObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClassInContainer", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotFoundException.php lines=13-36\nread HttpNotFoundException for detail", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "HttpNotFoundException", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=27-50\nread resolveMiddleware for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=23-46\nread XmlErrorRenderer for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "XmlErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "在测试中验证当请求头包含特定的方法覆盖指令时,中间件是否能正确地将 HTTP 请求方法从 POST 更改为指定的其他谓词(例如 PUT)。", "query": "X-Http-Method-Override middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 58: $response->getBody()->write('Body');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 32: );", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 16: /**", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 1: $routeArguments The route's placeholder arguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 18: use function clearstatcache;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 65: $body = $this->streamFactory->createStream();", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 98: if ($method === null && $predicate($instance)) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 82: $httpExceptionProphecy = $this->prophesize(HttpException::class);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 19: class MethodOverrideMiddlewareTest extends TestCase", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 40: [GuzzlePsr17Factory::class, GuzzleServerRequest::class],", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 7: */", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 5: namespace Slim\\Routing;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 44: return $xml;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 97: * @param callable|array{class-string, string}|string $callable The route callback routine", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 1: resolve(MockMiddlewareWithoutConstructor::class)", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 7: */", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 155: * \\Psr\\Http\\Message\\ResponseInterface.", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 106: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "在测试中验证当请求头包含特定的方法覆盖指令时,中间件是否能正确地将 HTTP 请求方法从 POST 更改为指定的其他谓词(例如 PUT)。", "query": "X-Http-Method-Override middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\ndefines MethodOverrideMiddlewareTest", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "在测试中验证当请求头包含特定的方法覆盖指令时,中间件是否能正确地将 HTTP 请求方法从 POST 更改为指定的其他谓词(例如 PUT)。", "query": "X-Http-Method-Override middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "在测试中验证当请求头包含特定的方法覆盖指令时,中间件是否能正确地将 HTTP 请求方法从 POST 更改为指定的其他谓词(例如 PUT)。", "query": "X-Http-Method-Override middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lang": "zh", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=19-42\nread MethodOverrideMiddlewareTest for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=95-118\nread setArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArgument", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=43-66\nread testBodyParam for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testBodyParam", "line": 43, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "zeige die methode zum instanziieren einer serveranfrage für tests", "query": "create server request", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lang": "de", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 62: $request = $this->createServerRequest('/');", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 47: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 42: ];", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 104: null", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 14: class HttpUnauthorizedException extends HttpSpecializedException", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 20: $request = $this->createServerRequest('/');", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 48: public function createServerRequest(string $uri, string $method = 'GET', array $data = []): ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 96: protected function createServerRequest(", "file": "tests/TestCase.php", "symbol": "", "line": 96, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 15: {", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 38: public function createServerRequest(", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 31: if (isset($trace[1])) {", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 26: $middleware = new OutputBufferingMiddleware($this->getStreamFactory());", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 103: public function testOutputBufferIsCleanedWhenThrowableIsCaught()", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 31: ->createServerRequest('/', 'POST')", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 20: {", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 13: class GuzzlePsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 198: $callableResolverProphecy->reveal(),", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 108: $this->assertSame('Test', ob_get_contents());", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 66: $request = $this->createServerRequest('/foo/baz/');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 258: $request = $this->createServerRequest('/', 'GET');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 258, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 18: use function in_array;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 7: */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "zeige die methode zum instanziieren einer serveranfrage für tests", "query": "create server request", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lang": "de", "candidates": [{"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "zeige die methode zum instanziieren einer serveranfrage für tests", "query": "create server request", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> function", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "zeige die methode zum instanziieren einer serveranfrage für tests", "query": "create server request", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lang": "de", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=153-176\nread testAppIsCreatedWithInstancesFromSetters for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInstancesFromSetters", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找验证装饰器在注入响应工厂时是否能正确包含流工厂的测试用例", "query": "decorated response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lang": "zh", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 60: $html .= '

Trace

';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 97: }", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 42: */", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 51: $this->assertNull($routeContext->getRoute());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 3: /**", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 149: $app->add(function ($request, $handler) {", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 26: $middleware = new OutputBufferingMiddleware($this->getStreamFactory());", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 6: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 176: public function getRoutes(): array", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 35: * @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 15: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 39: }", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1151: return 0;", "file": "tests/AppTest.php", "symbol": "", "line": 1151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 114: * declarations in the callback will be prepended by the group(s)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 26: * as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 51: $middlewareDispatcher->handle($request);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 3: /**", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 36: } while ($exception = $exception->getPrevious());", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 262: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 35: * @param string $routeName Route name", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 19: class ContentLengthMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "查找验证装饰器在注入响应工厂时是否能正确包含流工厂的测试用例", "query": "decorated response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "查找验证装饰器在注入响应工厂时是否能正确包含流工厂的测试用例", "query": "decorated response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找验证装饰器在注入响应工厂时是否能正确包含流工厂的测试用例", "query": "decorated response factory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lang": "zh", "candidates": [{"text": "Next: read Slim/Logger.php lines=28-51\nread log for detail", "file": "Slim/Logger.php", "symbol": "log", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockPsr17Factory.php lines=15-38\nread MockPsr17Factory for detail", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "MockPsr17Factory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=508-531\nread testMiddlewareClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareClassNotFoundThrowException", "line": 508, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "How do I create a server request and obtain the necessary factory instances for PSR-7 objects in tests?", "query": "PSR7 object provider", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lang": "en", "candidates": [{"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 1: shouldBeCalled();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 112: }", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 112: *", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 25: $this->assertInstanceOf(ServerRequestInterface::class, $exception->getRequest());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 19: protected $code = 500;", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 25: interface PSR7ObjectProviderInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 116: };", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 66: switch ($routeStatus) {", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 24: public static function setFactories(array $factories): void;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 124: // `rewind()` has to be called.", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 137: $route = $routeCollector->map(['GET'], $pattern, function () {", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 19: protected $code = 410;", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 26: public function testHttpUnauthorizedExceptionWithMessage()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 23: */", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 72: })->bindTo($this);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 40: if ($exception instanceof HttpException) {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 1: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "How do I create a server request and obtain the necessary factory instances for PSR-7 objects in tests?", "query": "PSR7 object provider", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How do I create a server request and obtain the necessary factory instances for PSR-7 objects in tests?", "query": "PSR7 object provider", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lang": "en", "candidates": [{"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=21-44\nread RouteContextTest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "RouteContextTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=71-94\nread getNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getNamedRoute", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=19-42\nread testAddsContentLength for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "testAddsContentLength", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Onde é definida a classe que gerencia o registro de rotas dentro de grupos e que utiliza um resolvedor de chamadas e uma fábrica de respostas?", "query": "RouteCollectorProxyInterface group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 14: use Psr\\Container\\ContainerInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 7: */", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 20: use Slim\\Routing\\RouteCollectorProxy;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 14: {", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 68: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 80: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 51: {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 23: * Resolve $toResolve into a callable", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 41: foreach ($routeArguments as $k => $v) {", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 25: class RouteCollectorProxy implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 97: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 35: * Get the RouteCollectorProxy's base path", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 26: * as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 28: use Slim\\Routing\\RouteCollectorProxy;", "file": "Slim/App.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 131: $this->methods = $methods;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 99: * @param string $pattern The route pattern", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 110: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 23: use Slim\\Routing\\RouteCollectorProxy;", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 42: use Slim\\Routing\\RouteCollectorProxy;", "file": "tests/AppTest.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 25: // Add Content-Length header if not already added", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 49: {", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 255: /** @var RouteCollectorProxy */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 255, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 3: /**", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Onde é definida a classe que gerencia o registro de rotas dentro de grupos e que utiliza um resolvedor de chamadas e uma fábrica de respostas?", "query": "RouteCollectorProxyInterface group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "Onde é definida a classe que gerencia o registro de rotas dentro de grupos e que utiliza um resolvedor de chamadas e uma fábrica de respostas?", "query": "RouteCollectorProxyInterface group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Onde é definida a classe que gerencia o registro de rotas dentro de grupos e que utiliza um resolvedor de chamadas e uma fábrica de respostas?", "query": "RouteCollectorProxyInterface group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lang": "pt", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=135-158\nread testDuplicateVariableRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableRoute", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "このメソッドは例外の説明を設定するためのもの?", "query": "set description", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 18: {", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 153: }", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 106: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 7: */", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 5: *", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 54: * @var ErrorHandlerInterface|callable|string|null", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 43: $decoratedServerRequest = new static::$serverRequestDecoratorClass($request)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 60: public function setDescription(string $description): self", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 374: ->willReturn(false)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 374, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 45: */", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 24: Psr17FactoryProvider::setFactories([]);", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 11: namespace Slim\\Handlers\\Strategies;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 18: */", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 68: return new SlimHttpServerRequestCreator($serverRequestCreator);", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 20: public static function urlForCases()", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 34: $exception->setDescription('Description');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 27: * @param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "このメソッドは例外の説明を設定するためのもの?", "query": "set description", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "このメソッドは例外の説明を設定するためのもの?", "query": "set description", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Throwable", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "このメソッドは例外の説明を設定するためのもの?", "query": "set description", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lang": "ja", "candidates": [{"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotFoundException.php lines=13-36\nread HttpNotFoundException for detail", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "HttpNotFoundException", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=167-190\nread testSlimCallableAsArrayContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArrayContainer", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=39-62\nread getRequest for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getRequest", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=263-286\nread writeToErrorLog for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=208-231\nread testAnyRoute for detail", "file": "tests/AppTest.php", "symbol": "testAnyRoute", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=165-188\nread map for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "map", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "依存関係として注入されたリゾルバーが、正しく取得できるか確認しているテストはどこですか?", "query": "callable resolver injection", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lang": "ja", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 41: return $exception->getDescription();", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 86: public function testGetCallableResolverReturnsInjectedInstance(): void", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 114: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 33: * Middleware are organized as a stack. That means middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 272: /**", "file": "Slim/Routing/Route.php", "symbol": "", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 23: *", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 5: *", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 37: return $callable($request, $response, ...$routeArguments);", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 68: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 24: protected $message = 'Forbidden.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 88: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 41: $html = \"

{$description}

\";", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 83: protected ResponseFactoryInterface $responseFactory;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 7: */", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 23: use Slim\\Error\\Renderers\\XmlErrorRenderer;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 75: ' ' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 46: ]);", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 31: *", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 91: $middlewareDispatcher->addMiddleware($routingMiddleware);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 85: $this->middleware[] = $middleware;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 47: public static function isServerRequestCreatorAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "依存関係として注入されたリゾルバーが、正しく取得できるか確認しているテストはどこですか?", "query": "callable resolver injection", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "依存関係として注入されたリゾルバーが、正しく取得できるか確認しているテストはどこですか?", "query": "callable resolver injection", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "依存関係として注入されたリゾルバーが、正しく取得できるか確認しているテストはどこですか?", "query": "callable resolver injection", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lang": "ja", "candidates": [{"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "帮我写一下 HttpNotFoundException 的测试用例,验证其 request 属性的 getter 和 setter,以及 title 和 description 属性的 getter 和 setter。", "query": "HttpExceptionTest", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lang": "zh", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 227: $containerProphecy->reveal(),", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 33: }", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 131: preg_match(CallableResolver::$callablePattern, $toResolve, $matches);", "file": "Slim/CallableResolver.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 17: protected static string $responseFactoryClass = 'Slim\\Psr7\\Factory\\ResponseFactory';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 18: class HttpExceptionTest extends TestCase", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\nLine 41: /** @var RouteParserInterface $routeParser */", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 42: */", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 130: try {", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 275: {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 3: /**", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 164: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 192: $resolver = new CallableResolver($container);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 192, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 18: protected static string $streamFactoryClass = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 15: {", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 191: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 191, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 49: * $routes is an associative array of expressions representing a route as multiple segments", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 127: ?InvocationStrategyInterface $invocationStrategy = null,", "file": "Slim/Routing/Route.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 19: use function strtoupper;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "帮我写一下 HttpNotFoundException 的测试用例,验证其 request 属性的 getter 和 setter,以及 title 和 description 属性的 getter 和 setter。", "query": "HttpExceptionTest", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nsibling in tests/Exception", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\ndefines HttpExceptionTest", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "帮我写一下 HttpNotFoundException 的测试用例,验证其 request 属性的 getter 和 setter,以及 title 和 description 属性的 getter 和 setter。", "query": "HttpExceptionTest", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "帮我写一下 HttpNotFoundException 的测试用例,验证其 request 属性的 getter 和 setter,以及 title 和 description 属性的 getter 和 setter。", "query": "HttpExceptionTest", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php lines=13-36\nread LaminasDiactorosPsr17Factory for detail", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "LaminasDiactorosPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=40-63\nread testHttpNotAllowedExceptionGetAllowedMethods for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpNotAllowedExceptionGetAllowedMethods", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=290-313\nread testCreateAppWithContainerUsesContainerDependenciesWhenPresent for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithContainerUsesContainerDependenciesWhenPresent", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=658-681\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=28-51\nread testHttpExceptionAttributeGettersSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionAttributeGettersSetters", "line": 28, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "crea una instancia a partir de los atributos de la petición", "query": "from request attributes", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lang": "es", "candidates": [{"text": "File: Slim/Logger.php\nLine 14: use Psr\\Log\\InvalidArgumentException;", "file": "Slim/Logger.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 16: {", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 11: namespace Slim\\Tests\\Providers;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 29: public static function fromRequest(ServerRequestInterface $serverRequest): self", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 44: && class_exists(static::$responseFactoryClass)", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 574: {", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 574, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 14: class HttpTooManyRequestsException extends HttpSpecializedException", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 58: 'SERVER_PROTOCOL' => 'HTTP/1.1',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 45: $code = $exception->getCode();", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 1: prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 36: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 89: if (empty($segments)) {", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 20: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 79: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 35: $routeContext = RouteContext::fromRequest($serverRequest);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 29: private DispatcherInterface $dispatcher;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 288: $errorRenderers = [", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 5: *", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 139: if (file_exists($cacheFile) && !is_readable($cacheFile)) {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 39: return $responseProphecy->reveal();", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "crea una instancia a partir de los atributos de la petición", "query": "from request attributes", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "crea una instancia a partir de los atributos de la petición", "query": "from request attributes", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Slim", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "crea una instancia a partir de los atributos de la petición", "query": "from request attributes", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lang": "es", "candidates": [{"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=142-165\nread parseBody for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Como renderizar uma exceção como string com base nas configurações de exibição de detalhes?", "query": "exception error renderer", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lang": "pt", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 26: use Slim\\Factory\\ServerRequestCreatorFactory;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 110: })->bindTo($this);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 27: * @param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 217: * {@inheritdoc}", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 217, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 28: public function log($level, $message, array $context = []): void", "file": "Slim/Logger.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 79: {", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 148: $this->isContentTypeForced = $contentType !== null;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 148, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 13: use Closure;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 115: * that it is in.", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 140: );", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 14: use Slim\\Interfaces\\ErrorRendererInterface;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 14, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 27: }", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 15: interface ErrorRendererInterface", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 21: use Slim\\Middleware\\RoutingMiddleware;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 75: ['year' => '2015', 'month' => '07', 'day' => '19'],", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 26: use Slim\\Interfaces\\ErrorRendererInterface;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 48: * @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 158: * @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 16: {", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 17: use function array_values;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 27: /**", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 31: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 39: return $responseProphecy->reveal();", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como renderizar uma exceção como string com base nas configurações de exibição de detalhes?", "query": "exception error renderer", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\ndefines ErrorRendererInterface", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como renderizar uma exceção como string com base nas configurações de exibição de detalhes?", "query": "exception error renderer", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como renderizar uma exceção como string com base nas configurações de exibição de detalhes?", "query": "exception error renderer", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lang": "pt", "candidates": [{"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=98-121\nread testObjMethodArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMethodArray", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=119-142\nread fullUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "fullUrlFor", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Il semble y avoir une confusion dans la gestion de l'ordre d'exécution des couches intermédiaires : le comportement décrit comme une pile LIFO (dernier entré, premier sorti) pour l'ajout de nouveaux composants semble entrer en conflit avec la manière dont la chaîne de traitement est initialisée avec le noyau de l'application.", "query": "middleware stack LIFO", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lang": "fr", "candidates": [{"text": "File: Slim/Factory/AppFactory.php\nLine 22: use Slim\\Interfaces\\MiddlewareDispatcherInterface;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 24: *", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 20: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 56: $this->dispatcher = $dispatcher;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 66: */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 22: use Slim\\Interfaces\\MiddlewareDispatcherInterface;", "file": "Slim/App.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 45: {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 5: namespace Slim\\Routing;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 112: * @param bool $displayErrorDetails Whether or not to display the error details", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 22: use Slim\\Interfaces\\MiddlewareDispatcherInterface;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 33: use Slim\\Interfaces\\MiddlewareDispatcherInterface;", "file": "tests/AppTest.php", "symbol": "", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 17: interface MiddlewareDispatcherInterface extends RequestHandlerInterface", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 139: * {@inheritdoc}", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Laminas\\Diactoros\\StreamFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 343: $kernelProphecy = $this->prophesize(RequestHandlerInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 343, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 35: use Slim\\Interfaces\\MiddlewareDispatcherInterface;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 46: $segmentName = '';", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 5: *", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 31: ['GET', '//foo', '//foo'],", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 9: interface RouteResolverInterface", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Il semble y avoir une confusion dans la gestion de l'ordre d'exécution des couches intermédiaires : le comportement décrit comme une pile LIFO (dernier entré, premier sorti) pour l'ajout de nouveaux composants semble entrer en conflit avec la manière dont la chaîne de traitement est initialisée avec le noyau de l'application.", "query": "middleware stack LIFO", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lang": "fr", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Il semble y avoir une confusion dans la gestion de l'ordre d'exécution des couches intermédiaires : le comportement décrit comme une pile LIFO (dernier entré, premier sorti) pour l'ajout de nouveaux composants semble entrer en conflit avec la manière dont la chaîne de traitement est initialisée avec le noyau de l'application.", "query": "middleware stack LIFO", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Il semble y avoir une confusion dans la gestion de l'ordre d'exécution des couches intermédiaires : le comportement décrit comme une pile LIFO (dernier entré, premier sorti) pour l'ajout de nouveaux composants semble entrer en conflit avec la manière dont la chaîne de traitement est initialisée avec le noyau de l'application.", "query": "middleware stack LIFO", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lang": "fr", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=130-153\nread setAccessible for detail", "file": "tests/TestCase.php", "symbol": "setAccessible", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=43-66\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "setBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=42-65\nread seedMiddlewareStack for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je suis en train de créer un mock pour l'interface `RequestHandlerInterface` afin de tester le comportement du gestionnaire de requêtes. Ce mock doit : 1. Compter le nombre de fois où la méthode `handle` est appelée via une variable statique `$CalledCount`. 2. Détecter la classe qui a initié l'appel à `handle` en examinant la pile d'exécution (`debug_backtrace`) et stocker ce nom dans une variable statique `$strategy`. 3. Retourner une réponse PSR-7 standard avec un en-tête `Content-Type` défini sur `text/plain` et un corps contenant le compteur d'appels actuel.", "query": "mock request handler test", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lang": "fr", "candidates": [{"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 1: assertNotNull($routeContext->getBasePath());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 7: */", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 290: }", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 20: class RequestHandlerTest implements RequestHandlerInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 17: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 63: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 50: if (!$isEmpty) {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 19: protected $code = 501;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 33: }", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 27: }", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je suis en train de créer un mock pour l'interface `RequestHandlerInterface` afin de tester le comportement du gestionnaire de requêtes. Ce mock doit : 1. Compter le nombre de fois où la méthode `handle` est appelée via une variable statique `$CalledCount`. 2. Détecter la classe qui a initié l'appel à `handle` en examinant la pile d'exécution (`debug_backtrace`) et stocker ce nom dans une variable statique `$strategy`. 3. Retourner une réponse PSR-7 standard avec un en-tête `Content-Type` défini sur `text/plain` et un corps contenant le compteur d'appels actuel.", "query": "mock request handler test", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\ndefines RequestHandlerTest", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Je suis en train de créer un mock pour l'interface `RequestHandlerInterface` afin de tester le comportement du gestionnaire de requêtes. Ce mock doit : 1. Compter le nombre de fois où la méthode `handle` est appelée via une variable statique `$CalledCount`. 2. Détecter la classe qui a initié l'appel à `handle` en examinant la pile d'exécution (`debug_backtrace`) et stocker ce nom dans une variable statique `$strategy`. 3. Retourner une réponse PSR-7 standard avec un en-tête `Content-Type` défini sur `text/plain` et un corps contenant le compteur d'appels actuel.", "query": "mock request handler test", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> function", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je suis en train de créer un mock pour l'interface `RequestHandlerInterface` afin de tester le comportement du gestionnaire de requêtes. Ce mock doit : 1. Compter le nombre de fois où la méthode `handle` est appelée via une variable statique `$CalledCount`. 2. Détecter la classe qui a initié l'appel à `handle` en examinant la pile d'exécution (`debug_backtrace`) et stocker ce nom dans une variable statique `$strategy`. 3. Retourner une réponse PSR-7 standard avec un en-tête `Content-Type` défini sur `text/plain` et un corps contenant le compteur d'appels actuel.", "query": "mock request handler test", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lang": "fr", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=165-188\nread map for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "map", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=26-49\nread JsonErrorRenderer for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "JsonErrorRenderer", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=17-40\nread Psr17FactoryTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=268-291\nread map for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "map", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "获取缓存文件路径", "query": "cache file path", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lang": "zh", "candidates": [{"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 70: */", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 27: use Slim\\Interfaces\\CallableResolverInterface;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 21: * JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 37: $prophet = new Prophet();", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 27: {", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 28: class DispatcherTest extends TestCase", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 3: /**", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 17: class MockMiddlewareSlimCallable", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 39: }", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 38: return $response;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 129: public function getCacheFile(): ?string", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 44: $routeParser = new RouteParser($routeCollector);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 3: /**", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 38: $cacheFile = $this->routeCollector->getCacheFile();", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 37: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 21: public function __invoke(", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 37: public function getCacheFile(): ?string;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 204: $this->assertSame($cacheFile, $routeCollector->getCacheFile());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 204, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 190: $request = $serverRequestCreator->createServerRequestFromGlobals();", "file": "Slim/App.php", "symbol": "", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 63: ): ServerRequestCreatorInterface {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "获取缓存文件路径", "query": "cache file path", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "获取缓存文件路径", "query": "cache file path", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Slim", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> function", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "获取缓存文件路径", "query": "cache file path", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=188-211\nread testPut for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPut", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1984-2007\nread testAppIsARequestHandler for detail", "file": "tests/AppTest.php", "symbol": "testAppIsARequestHandler", "line": 1984, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=25-48\nread __construct for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "__construct", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=284-307\nread testRouteObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClass", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=144-167\nread testRouteArgumentsAreDecodedOnlyOnce for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteArgumentsAreDecodedOnlyOnce", "line": 144, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ルーティングの振り分け処理を司るクラスのユニットテストを探しています。特に、特定のメソッドをリフレクションで呼び出して、期待される実装クラスが生成されるか検証している箇所を教えてください。", "query": "routing dispatcher test", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lang": "ja", "candidates": [{"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 14: {", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 28: }", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 57: return $this->amountToRead === 0;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 22: use Slim\\Tests\\TestCase;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 30: * @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 87: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 186: public function run(?ServerRequestInterface $request = null): void", "file": "Slim/App.php", "symbol": "", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 15: }", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 27: protected string $description = 'The server cannot or will not process ' .", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 14: class HttpBadRequestException extends HttpSpecializedException", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 1: [", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 264: return $response;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 28: class DispatcherTest extends TestCase", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 130: );", "file": "Slim/App.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 27: public const BASE_PATH = '__basePath__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 18: {", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルーティングの振り分け処理を司るクラスのユニットテストを探しています。特に、特定のメソッドをリフレクションで呼び出して、期待される実装クラスが生成されるか検証している箇所を教えてください。", "query": "routing dispatcher test", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lang": "ja", "candidates": [{"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ルーティングの振り分け処理を司るクラスのユニットテストを探しています。特に、特定のメソッドをリフレクションで呼び出して、期待される実装クラスが生成されるか検証している箇所を教えてください。", "query": "routing dispatcher test", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Slim", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> function", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルーティングの振り分け処理を司るクラスのユニットテストを探しています。特に、特定のメソッドをリフレクションで呼び出して、期待される実装クラスが生成されるか検証している箇所を教えてください。", "query": "routing dispatcher test", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lang": "ja", "candidates": [{"text": "Next: read Slim/Factory/AppFactory.php lines=213-236\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "쓰기 가능한 상태인지 확인하는 로직 찾아줘", "query": "isWritable stream", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 16: * Resolve $toResolve into a callable", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 5: *", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 40: public function computeRoutingResults(string $uri, string $method): RoutingResults", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 67: * Return the current header stack", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 24: use const CONNECTION_NORMAL;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 45: );", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 29: {", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 68: } elseif ($this->style === static::APPEND && $response->getBody()->isWritable()) {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 167: }", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 155: * \\Psr\\Http\\Message\\ResponseInterface.", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 18: */", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 206: public function isWritable(): bool", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 23: * Invoke a route callable with request, response, and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 48: }", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 3: /**", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 35: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 7: */", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 18: class MockSequenceMiddleware implements MiddlewareInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 86: $container", "file": "tests/TestCase.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 80: public function isWritable(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 85: public function isWritable(): bool", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 85, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "쓰기 가능한 상태인지 확인하는 로직 찾아줘", "query": "isWritable stream", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "쓰기 가능한 상태인지 확인하는 로직 찾아줘", "query": "isWritable stream", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "쓰기 가능한 상태인지 확인하는 로직 찾아줘", "query": "isWritable stream", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lang": "ko", "candidates": [{"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=343-366\nread testRouteWithInternationalCharacters for detail", "file": "tests/AppTest.php", "symbol": "testRouteWithInternationalCharacters", "line": 343, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=111-134\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "addMiddleware", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=17-40\nread createServerRequestFromGlobals for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Le mécanisme qui permet d'injecter de nouveaux analyseurs de contenu lors de l'initialisation de l'intercepteur de requêtes semble écraser ou ignorer les configurations par défaut si on ne passe pas une liste spécifique, ou alors il faut vérifier comment les fonctions personnalisées sont fusionnées avec les types de contenu standards lors de la création de l'instance.", "query": "custom body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lang": "fr", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 46: public function __construct(array $bodyParsers = [])", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 88: public function __construct(", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 86: }", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 114: } catch (Exception $e) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 120: public function __construct(", "file": "Slim/Routing/Route.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 27: {", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 42: public function __construct(?ContainerInterface $container = null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 5: *", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 17: }", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 37: if ($request->getBody()->eof()) {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 22: /**", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 23: public function __construct(ServerRequestInterface $request, ?string $message = null, ?Throwable $previous = null)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 34: return new ServerRequestCreator($serverRequestCreator, static::$serverRequestCreatorMethod);", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 13: /** @api */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 24: {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 38: * @param string $uri Should be $request->getUri()->getPath()", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 7: */", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 3: /**", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Le mécanisme qui permet d'injecter de nouveaux analyseurs de contenu lors de l'initialisation de l'intercepteur de requêtes semble écraser ou ignorer les configurations par défaut si on ne passe pas une liste spécifique, ou alors il faut vérifier comment les fonctions personnalisées sont fusionnées avec les types de contenu standards lors de la création de l'instance.", "query": "custom body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lang": "fr", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Le mécanisme qui permet d'injecter de nouveaux analyseurs de contenu lors de l'initialisation de l'intercepteur de requêtes semble écraser ou ignorer les configurations par défaut si on ne passe pas une liste spécifique, ou alors il faut vérifier comment les fonctions personnalisées sont fusionnées avec les types de contenu standards lors de la création de l'instance.", "query": "custom body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> function", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> const", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Le mécanisme qui permet d'injecter de nouveaux analyseurs de contenu lors de l'initialisation de l'intercepteur de requêtes semble écraser ou ignorer les configurations par défaut si on ne passe pas une liste spécifique, ou alors il faut vérifier comment les fonctions personnalisées sont fusionnées avec les types de contenu standards lors de la création de l'instance.", "query": "custom body parsers", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lang": "fr", "candidates": [{"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=119-142\nread fullUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "fullUrlFor", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=153-176\nread testAppIsCreatedWithInstancesFromSetters for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInstancesFromSetters", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "미들웨어 디스패처 생성하는 메서드 찾아줘", "query": "create MiddlewareDispatcher", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\nLine 47: } else {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 67: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 42: {", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 15: use Slim\\Tests\\TestCase;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 44: public function getTitle(): string", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 10: {", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 48: $middlewareDispatcher = $this->createMiddlewareDispatcher($requestHandlerProphecy->reveal());", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 31: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 86: {", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 49: return $decoratedServerRequest;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 24: use Slim\\Interfaces\\RouteResolverInterface;", "file": "Slim/App.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 36: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 145: // routingResults is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 78: protected function createMiddlewareDispatcher(", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Logger.php\nLine 15: use Stringable;", "file": "Slim/Logger.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 104: * @param string[] $methods Numeric array of HTTP method names", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 78: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 69: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 34: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 31: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "미들웨어 디스패처 생성하는 메서드 찾아줘", "query": "create MiddlewareDispatcher", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "미들웨어 디스패처 생성하는 메서드 찾아줘", "query": "create MiddlewareDispatcher", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Slim", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionProperty", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ProphecyTrait", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionMethod", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> Psr", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "미들웨어 디스패처 생성하는 메서드 찾아줘", "query": "create MiddlewareDispatcher", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=146-169\nread testDuplicateStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=416-439\nread routeGroupsDataProvider for detail", "file": "tests/AppTest.php", "symbol": "routeGroupsDataProvider", "line": 416, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "AppFactory::create() が空のファクトリプロバイダで呼ばれたときに RuntimeException が発生するテストケースを示しています。\nこのテストは、Psr17FactoryProvider::setFactories() の副作用が他のテストに影響しないように分離プロセスで実行する必要があるため、別プロセスで動作します。", "query": "AppFactory RuntimeException empty factories", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lang": "ja", "candidates": [{"text": "File: tests/Exception/HttpExceptionTest.php\nLine 45: $exception->setAllowedMethods(['GET']);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 244: public function testXMLErrorRendererRenderHttpException()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 68: 'text/xml' => XmlErrorRenderer::class,", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 34: protected string $style;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 198: $response = $handler->__invoke($xmlRequest, $exception, false, false, false);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 56: /** @var array Hash of readable and writable stream types */", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 24: protected string $serverRequestCreatorMethod;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 116: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 27: }", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 19: use function fclose;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 44: return (Closure::fromCallable($callable))();", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 52: }", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 168: $routeParserProphecy = $this->prophesize(RouteParser::class);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 14: {", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 31: $serverRequestCreatorProphecy = $this->prophesize(ServerRequestCreatorInterface::class);", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 63: return $html;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 35: return $this->defaultErrorTitle;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 70: }", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 64: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 33: $this->routeCollector = $routeCollector;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 32: )", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "AppFactory::create() が空のファクトリプロバイダで呼ばれたときに RuntimeException が発生するテストケースを示しています。\nこのテストは、Psr17FactoryProvider::setFactories() の副作用が他のテストに影響しないように分離プロセスで実行する必要があるため、別プロセスで動作します。", "query": "AppFactory RuntimeException empty factories", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "AppFactory::create() が空のファクトリプロバイダで呼ばれたときに RuntimeException が発生するテストケースを示しています。\nこのテストは、Psr17FactoryProvider::setFactories() の副作用が他のテストに影響しないように分離プロセスで実行する必要があるため、別プロセスで動作します。", "query": "AppFactory RuntimeException empty factories", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "AppFactory::create() が空のファクトリプロバイダで呼ばれたときに RuntimeException が発生するテストケースを示しています。\nこのテストは、Psr17FactoryProvider::setFactories() の副作用が他のテストに影響しないように分離プロセスで実行する必要があるため、別プロセスで動作します。", "query": "AppFactory RuntimeException empty factories", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lang": "ja", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=59-82\nread testCreateServerRequestFromGlobalsThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeException", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=52-75\nread process for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "process", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=137-160\nread testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=116-139\nread testDetermineResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=142-165\nread testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "このモックハンドラは、呼び出し回数のカウントと、リクエストを引数として呼び出す処理を実装しています。テスト環境でリクエスト処理の簡易的な検証を行うために使用するので、その挙動を確認してください。", "query": "mock invoke count", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lang": "ja", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 94: }", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 21: public function __invoke(", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 23: *", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 29: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 38: }", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 16: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 103: );", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 31: public function __invoke(", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 296: $reflectionProperty->setValue($handler, $this->getResponseFactory());", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 31: public function __invoke(", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 30: public function __construct(?ContainerInterface $container = null)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 33: $text .= \"\\nPrevious Error:\\n\";", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 33: {", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 39: return $callable($request, $response, $routeArguments);", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 3: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 18: use Psr\\Log\\LoggerInterface;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 465: * object that is returned by __invoke().", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 465, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 48: $test = function () {", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 348: $route = $routeCollectorProxy->any($pattern, $callable);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 348, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "このモックハンドラは、呼び出し回数のカウントと、リクエストを引数として呼び出す処理を実装しています。テスト環境でリクエスト処理の簡易的な検証を行うために使用するので、その挙動を確認してください。", "query": "mock invoke count", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\ndefines __invoke", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "このモックハンドラは、呼び出し回数のカウントと、リクエストを引数として呼び出す処理を実装しています。テスト環境でリクエスト処理の簡易的な検証を行うために使用するので、その挙動を確認してください。", "query": "mock invoke count", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "このモックハンドラは、呼び出し回数のカウントと、リクエストを引数として呼び出す処理を実装しています。テスト環境でリクエスト処理の簡易的な検証を行うために使用するので、その挙動を確認してください。", "query": "mock invoke count", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lang": "ja", "candidates": [{"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php lines=15-38\nread MockPsr17FactoryWithoutStreamFactory for detail", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "MockPsr17FactoryWithoutStreamFactory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=145-168\nread addErrorMiddleware for detail", "file": "Slim/App.php", "symbol": "addErrorMiddleware", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "crie uma classe de teste que estenda a exceção base para simular erros personalizados", "query": "mock custom exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lang": "pt", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 38: }", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 3: /**", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 28: use Slim\\Tests\\Mocks\\MockCustomException;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 52: public function fullUrlFor(UriInterface $uri, string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 26: protected string $title = '501 Not Implemented';", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 61: $routingMiddleware = new RoutingMiddleware($this->routeResolver, $this->routeParser);", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 13: use Exception;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 15: class MockCustomException extends Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 592: $dispatcher->addDeferred(MockMiddlewareWithConstructor::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 592, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 23: class SlimHttpServerRequestCreatorTest extends TestCase", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 134: return $seekable ? $stream->read(1) === '' : $stream->eof();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 196: return $class . ':' . $method;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 196, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 27: */", "file": "Slim/Logger.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 145: {", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 14: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 113: * Get default route invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 20: use Slim\\App;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 17: class ContentLengthMiddlewareTest extends TestCase", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 123: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 112: }", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 25: use Slim\\Tests\\Mocks\\MockCustomException;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 19: use function strtoupper;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 16: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "crie uma classe de teste que estenda a exceção base para simular erros personalizados", "query": "mock custom exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\ndefines MockCustomException", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "crie uma classe de teste que estenda a exceção base para simular erros personalizados", "query": "mock custom exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "crie uma classe de teste que estenda a exceção base para simular erros personalizados", "query": "mock custom exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lang": "pt", "candidates": [{"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=109-132\nread get for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "get", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=254-277\nread setArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=167-190\nread testSlimCallableAsArrayContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArrayContainer", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "라우팅 관련 속성들이 포함된 서버 요청 객체를 생성하는 테스트용 헬퍼 메서드에서, 라우트 객체와 파서, 그리고 결과 데이터들이 요청 속성에 올바르게 주입되어 있는지 확인이 필요합니다.", "query": "createServerRequest route attributes", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lang": "ko", "candidates": [{"text": "File: Slim/CallableResolver.php\nLine 100: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 53: {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 48: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: createGroup($pattern, $callable);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 26: *", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 14: use Slim\\Tests\\TestCase;", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 23: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 64: }", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 19: class ContentLengthMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 18: * @api", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 188: /** @noinspection PhpUnhandledExceptionInspection */", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 44: * @return ResponseFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 117: private MiddlewareInterface $middleware;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "라우팅 관련 속성들이 포함된 서버 요청 객체를 생성하는 테스트용 헬퍼 메서드에서, 라우트 객체와 파서, 그리고 결과 데이터들이 요청 속성에 올바르게 주입되어 있는지 확인이 필요합니다.", "query": "createServerRequest route attributes", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lang": "ko", "candidates": [{"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "라우팅 관련 속성들이 포함된 서버 요청 객체를 생성하는 테스트용 헬퍼 메서드에서, 라우트 객체와 파서, 그리고 결과 데이터들이 요청 속성에 올바르게 주입되어 있는지 확인이 필요합니다.", "query": "createServerRequest route attributes", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Slim", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "라우팅 관련 속성들이 포함된 서버 요청 객체를 생성하는 테스트용 헬퍼 메서드에서, 라우트 객체와 파서, 그리고 결과 데이터들이 요청 속성에 올바르게 주입되어 있는지 확인이 필요합니다.", "query": "createServerRequest route attributes", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=21-44\nread RouteContextTest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "RouteContextTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=38-61\nread getErrorDescription for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorDescription", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "The main application entry point is failing to properly initialize its internal dependencies when they aren't explicitly passed to the constructor. Specifically, it seems to be attempting to instantiate a new resolver using a container that might be null, or falling back to default implementations in a way that breaks the dependency chain for the route runner and middleware dispatcher.", "query": "application constructor dependencies", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lang": "en", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\nLine 19: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 95: $url .= '?' . http_build_query($queryParams);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 208: $this->routesByName[$name] = $route;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 21: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 53: * @throws HttpNotFoundException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 23: public function __construct(ServerRequestInterface $request, ?string $message = null, ?Throwable $previous = null)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 7: */", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 54: '/.*A website error has occurred. Sorry for the temporary inconvenience.*/',", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 55: public function __construct(", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 34: /**", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Laminas\\Diactoros\\StreamFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 13: use FastRoute\\Dispatcher\\GroupCountBased;", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 45: ) {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 125: * back to the Application.", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 46: public function __construct(array $bodyParsers = [])", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 1: ", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "The main application entry point is failing to properly initialize its internal dependencies when they aren't explicitly passed to the constructor. Specifically, it seems to be attempting to instantiate a new resolver using a container that might be null, or falling back to default implementations in a way that breaks the dependency chain for the route runner and middleware dispatcher.", "query": "application constructor dependencies", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> function", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "The main application entry point is failing to properly initialize its internal dependencies when they aren't explicitly passed to the constructor. Specifically, it seems to be attempting to instantiate a new resolver using a container that might be null, or falling back to default implementations in a way that breaks the dependency chain for the route runner and middleware dispatcher.", "query": "application constructor dependencies", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lang": "en", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=84-107\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=290-313\nread testCreateAppWithContainerUsesContainerDependenciesWhenPresent for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithContainerUsesContainerDependenciesWhenPresent", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=27-50\nread testGetStreamFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetStreamFactoryThrowsRuntimeException", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "获取路由分组模式的方法", "query": "route group pattern", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 375: $routeCollectorProxy = new RouteCollectorProxy(", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 375, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 409: $this->assertSame($pattern, $route->getPattern());", "file": "tests/AppTest.php", "symbol": "", "line": 409, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 79: $self->assertSame('/prefix/test', $route->getPattern());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 133: ->getPattern()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 133, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 34: $r->addRoute($route->getMethods(), $basePath . $route->getPattern(), $route->getIdentifier());", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 415: $callableResolver", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 59: // If routing hasn't been done, then do it now so we can dispatch", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 42: public function getPattern(): string;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 56: $routeCollectorProxy->getCallableResolver()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 104: null", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 105: public function getPattern(): string", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 105, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 61: })", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 68: public function resolveRoute($toResolve): callable", "file": "Slim/CallableResolver.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 13: use RuntimeException;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 30: } elseif (strtoupper($request->getMethod()) === 'POST') {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 191: ->getPattern()", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 191, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "获取路由分组模式的方法", "query": "route group pattern", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "获取路由分组模式的方法", "query": "route group pattern", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "获取路由分组模式的方法", "query": "route group pattern", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lang": "zh", "candidates": [{"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=101-124\nread testSetServerRequestCreatorWithoutDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo se ejecuta la cadena de middlewares y se devuelve la respuesta?", "query": "dispatch middleware handle", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\nLine 57: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 93: simplexml_load_string('John'),", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 36: * @param array $data Named argument replacement data", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 18: * @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 280: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 34: return $handler->handle($request);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 14: public function computeRoutingResults(string $uri, string $method): RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 277: return $handler->handle($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 277, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 151: /**", "file": "Slim/CallableResolver.php", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 22: public static function getResponseFactory(): ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 156: })->bindTo($this), true); // - true; handle subclass but also LogicException explicitly", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 156, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 49: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 147: $this->assertInstanceOf(RoutingResults::class, $routingResults);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 321: return $this->middlewareDispatcher->handle($request);", "file": "Slim/Routing/Route.php", "symbol": "", "line": 321, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 122: $request = $this->createServerRequest('https://example.com:443/goodbye', 'GET');", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 25: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 35: callable $callable,", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 220: $self = $this;", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 220, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 1: handleException($request, $e);", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 101: $this->assertNull($route);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 3: /**", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 34: * @copyright Copyright (c) 2015-2016 Zend Technologies USA Inc. (http://www.zend.com)", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Cómo se ejecuta la cadena de middlewares y se devuelve la respuesta?", "query": "dispatch middleware handle", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lang": "es", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo se ejecuta la cadena de middlewares y se devuelve la respuesta?", "query": "dispatch middleware handle", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo se ejecuta la cadena de middlewares y se devuelve la respuesta?", "query": "dispatch middleware handle", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lang": "es", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=29-52\nread tearDown for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "tearDown", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=347-370\nread testResolutionToAPsrRequestHandlerClassWithCustomMethod for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClassWithCustomMethod", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=88-111\nread getArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=213-236\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estoy revisando cómo se preparan las pruebas unitarias para la resolución de funciones. ¿Podrías explicarme por qué se está definiendo una función anónima dentro de este método de configuración estática?", "query": "setUpBeforeClass function", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lang": "es", "candidates": [{"text": "File: Slim/App.php\nLine 40: {", "file": "Slim/App.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 53: /**", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 1: $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 37: /** @var ResponseInterface */", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 7: */", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 300: }", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 300, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy revisando cómo se preparan las pruebas unitarias para la resolución de funciones. ¿Podrías explicarme por qué se está definiendo una función anónima dentro de este método de configuración estática?", "query": "setUpBeforeClass function", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lang": "es", "candidates": [{"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\ndefines setUpBeforeClass", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy revisando cómo se preparan las pruebas unitarias para la resolución de funciones. ¿Podrías explicarme por qué se está definiendo una función anónima dentro de este método de configuración estática?", "query": "setUpBeforeClass function", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy revisando cómo se preparan las pruebas unitarias para la resolución de funciones. ¿Podrías explicarme por qué se está definiendo una función anónima dentro de este método de configuración estática?", "query": "setUpBeforeClass function", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lang": "es", "candidates": [{"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php lines=13-36\nread LaminasDiactorosPsr17Factory for detail", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "LaminasDiactorosPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je cherche la méthode qui permet de simuler le passage d'une requête à travers un enchaînement de gestionnaires sans modifier le contenu. Peux-tu me montrer comment elle renvoie simplement la réponse du suivant ?", "query": "middleware request handler", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lang": "fr", "candidates": [{"text": "File: Slim/CallableResolver.php\nLine 138: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 11: protected static string $responseFactoryClass = 'Nyholm\\Psr7\\Factory\\Psr17Factory';", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 144: [MockMiddlewareSlimCallable::class . ':custom', new MockMiddlewareSlimCallable()],", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 144, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 58: * Get route objects", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 24: public function custom(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 47: public function custom(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 138: $this->assertNull($route);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 17: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 256: return new RouteCollectorProxy(", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 350: $callable = $resolver->resolve(RequestHandlerTest::class . ':custom');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 350, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 45: public function __construct(", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 35: * Is the PSR-17 ResponseFactory available", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 93: * @deprecated 4.14.1 Use a middleware for custom route arguments now.", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 36: Psr17FactoryProvider::setFactories(['Factory 1']);", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 88: */", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 164: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 92: {", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 54: protected function createRequestWithBody($contentType, $body)", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 230: $routeProphecy = $this->prophesize(RouteInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 225: $callable = $callable->bindTo($this->container);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 84: */", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 23: bool $logErrors,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je cherche la méthode qui permet de simuler le passage d'une requête à travers un enchaînement de gestionnaires sans modifier le contenu. Peux-tu me montrer comment elle renvoie simplement la réponse du suivant ?", "query": "middleware request handler", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lang": "fr", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Je cherche la méthode qui permet de simuler le passage d'une requête à travers un enchaînement de gestionnaires sans modifier le contenu. Peux-tu me montrer comment elle renvoie simplement la réponse du suivant ?", "query": "middleware request handler", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche la méthode qui permet de simuler le passage d'une requête à travers un enchaînement de gestionnaires sans modifier le contenu. Peux-tu me montrer comment elle renvoie simplement la réponse du suivant ?", "query": "middleware request handler", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lang": "fr", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=415-438\nread testControllerMethodAsStringResolvesWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithContainer", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=39-62\nread getRequest for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getRequest", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=208-231\nread setMiddlewareDispatcher for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=241-264\nread getContents for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=365-388\nread testOptions for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "테스트 종료할 때 헤더 스택 초기화해 주는 부분 어디 있지?", "query": "HeaderStack reset", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 17: class ContentLengthMiddlewareTest extends TestCase", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 45: public function tearDown(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 5: *", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 36: public function tearDown(): void", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 11: namespace Slim\\Tests\\Providers;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 29: public function tearDown(): void", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 80: $exception->setAllowedMethods($routingResults->getAllowedMethods());", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 273: * {@inheritdoc}", "file": "Slim/Routing/Route.php", "symbol": "", "line": 273, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 34: foreach ($routeArguments as $k => $v) {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 91: } else {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 34: * @copyright Copyright (c) 2015-2016 Zend Technologies USA Inc. (http://www.zend.com)", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 19: protected $code = 400;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 400: }", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 32: ['GET', 'hello%20world', '/hello world'],", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 23: */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 24: ResponseInterface $response,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 52: return sprintf('', str_replace(']]>', ']]]]>', $content));", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 13: interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 47: protected function tearDown(): void", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 22: /**", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "테스트 종료할 때 헤더 스택 초기화해 주는 부분 어디 있지?", "query": "HeaderStack reset", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\ndefines tearDown", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "테스트 종료할 때 헤더 스택 초기화해 주는 부분 어디 있지?", "query": "HeaderStack reset", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> function", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> const", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "테스트 종료할 때 헤더 스택 초기화해 주는 부분 어디 있지?", "query": "HeaderStack reset", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=59-82\nread testCreateServerRequestFromGlobalsThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeException", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ストリームの全データを文字列として取得するメソッドを探しています。もし中身が読み取れなかった場合に例外を投げる実装になっているか確認したいです。", "query": "stream_get_contents exception", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockStream.php\nLine 241: public function getContents(): string", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 61: $routingMiddleware = new RoutingMiddleware($this->routeResolver, $this->routeParser);", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 7: */", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 60: public function getContents(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 15: public static $CalledCount = 0;", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 16: * Resolve $toResolve into a callable", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 1: assertTrue(true);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 39: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 49: $this->message = 'Method not allowed. Must be one of: ' . implode(', ', $methods);", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 74: * @var RouteGroupInterface[]", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 62: protected array $routes = [];", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 57: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 55: public function getContents(): string", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 33: ?Throwable $previous = null", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 59: echo 'Test';", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 31: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 135: }", "file": "tests/AppTest.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 40: if ($exception instanceof HttpException) {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 51: public static function reset()", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ストリームの全データを文字列として取得するメソッドを探しています。もし中身が読み取れなかった場合に例外を投げる実装になっているか確認したいです。", "query": "stream_get_contents exception", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lang": "ja", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "ストリームの全データを文字列として取得するメソッドを探しています。もし中身が読み取れなかった場合に例外を投げる実装になっているか確認したいです。", "query": "stream_get_contents exception", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ストリームの全データを文字列として取得するメソッドを探しています。もし中身が読み取れなかった場合に例外を投げる実装になっているか確認したいです。", "query": "stream_get_contents exception", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lang": "ja", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=241-264\nread getContents for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=756-779\nread testAddBodyParsingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddBodyParsingMiddleware", "line": 756, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=482-505\nread provideNotFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideNotFoundDispatchCases", "line": 482, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Onde está a implementação que incrementa um contador estático quando é chamada como uma função?", "query": "static increment count", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lang": "pt", "candidates": [{"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 38: $output = $renderer->__invoke($exception, true);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 20: public function resolveRoute($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 31: public function __invoke(", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 116: public function __invoke(", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 40: return $response->withAddedHeader('X-SEQ-POST-REQ-HANDLER', static::$id);", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 22: */", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 19: public function __invoke(", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 151: /**", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 18: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 31: public function __invoke(", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 21: public function __invoke(", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 48: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 17: * {@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Onde está a implementação que incrementa um contador estático quando é chamada como uma função?", "query": "static increment count", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\ndefines __invoke", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Onde está a implementação que incrementa um contador estático quando é chamada como uma função?", "query": "static increment count", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lang": "pt", "candidates": [{"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=497-520\nread testRouteClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=71-94\nread getNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getNamedRoute", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=482-505\nread provideNotFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideNotFoundDispatchCases", "line": 482, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=17-40\nread __invoke for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=210-233\nread testSuperclassExceptionHandlerDoesNotHandleSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerDoesNotHandleSubclassException", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1826-1849\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "グループ化されたミドルウェアを個別のルートに適用する際、既存のディスパッチャを新しいものに置き換えて、グループ内のミドルウェアを逆順に再適用しようとしています。この処理が正しく行われているか確認してください。", "query": "group middleware route", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockStream.php\nLine 69: ],", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 14: use Slim\\Interfaces\\ErrorRendererInterface;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 66: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 78: $response->getStatusCode(),", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 327: protected function appendGroupMiddlewareToRoute(): void", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 1: expectOutputString('Hello');", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 1: assertSame('', $routeContext->getBasePath());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 126: }", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 21: /**", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 103: $this->createMock(RequestHandler::class),", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 3: /**", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 115: public function testRouteIsNotStoredOnNotFound()", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "グループ化されたミドルウェアを個別のルートに適用する際、既存のディスパッチャを新しいものに置き換えて、グループ内のミドルウェアを逆順に再適用しようとしています。この処理が正しく行われているか確認してください。", "query": "group middleware route", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "グループ化されたミドルウェアを個別のルートに適用する際、既存のディスパッチャを新しいものに置き換えて、グループ内のミドルウェアを逆順に再適用しようとしています。この処理が正しく行われているか確認してください。", "query": "group middleware route", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "グループ化されたミドルウェアを個別のルートに適用する際、既存のディスパッチャを新しいものに置き換えて、グループ内のミドルウェアを逆順に再適用しようとしています。この処理が正しく行われているか確認してください。", "query": "group middleware route", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lang": "ja", "candidates": [{"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=23-46\nread XmlErrorRenderer for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "XmlErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "PSR-17のレスポンスファクトリにおいて、Slim HTTPデコレータの自動検出が有効な場合に、適切なストリームファクトリを使用してデコレートされたファクトリを返そうとするロジックで、特定の条件下で期待通りのデコレーションが行われない可能性があります。この自動検出とデコレーションの仕組みを確認したいです。", "query": "response factory decoration", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lang": "ja", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 23: abstract class AbstractErrorRenderer implements ErrorRendererInterface", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 16: abstract class HttpSpecializedException extends HttpException", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 123: $middlewareDispatcher->handle($request);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 328: // call determineContentType()", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 328, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 316: ->shouldBeCalledOnce();", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 316, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 37: }", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 35: * Is the PSR-17 ResponseFactory available", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 23: * Invoke a route callable with request, response, and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 13: class LaminasDiactorosPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 592: $callback = function (RouteCollector $r) {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 592, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Laminas\\Diactoros\\StreamFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 300: $request = $this->createServerRequest('/');", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 300, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 162: return $this->size;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 95: $this->fail('HTTP method should not have been allowed');", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 61: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 36: }", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 159: protected static function attemptResponseFactoryDecoration(", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 28: }", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 3: /**", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "PSR-17のレスポンスファクトリにおいて、Slim HTTPデコレータの自動検出が有効な場合に、適切なストリームファクトリを使用してデコレートされたファクトリを返そうとするロジックで、特定の条件下で期待通りのデコレーションが行われない可能性があります。この自動検出とデコレーションの仕組みを確認したいです。", "query": "response factory decoration", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "PSR-17のレスポンスファクトリにおいて、Slim HTTPデコレータの自動検出が有効な場合に、適切なストリームファクトリを使用してデコレートされたファクトリを返そうとするロジックで、特定の条件下で期待通りのデコレーションが行われない可能性があります。この自動検出とデコレーションの仕組みを確認したいです。", "query": "response factory decoration", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "PSR-17のレスポンスファクトリにおいて、Slim HTTPデコレータの自動検出が有効な場合に、適切なストリームファクトリを使用してデコレートされたファクトリを返そうとするロジックで、特定の条件下で期待通りのデコレーションが行われない可能性があります。この自動検出とデコレーションの仕組みを確認したいです。", "query": "response factory decoration", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lang": "ja", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=577-600\nread testRouteGroupPattern for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=103-126\nread testOutputBufferIsCleanedWhenThrowableIsCaught for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testOutputBufferIsCleanedWhenThrowableIsCaught", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=268-291\nread map for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "map", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estou validando como o sistema lida com argumentos nomeados. Você pode encontrar o teste que verifica a mistura de parâmetros conhecidos, desconhecidos e o uso de variádicos?", "query": "named arguments variadic", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lang": "pt", "candidates": [{"text": "File: Slim/App.php\nLine 171: {", "file": "Slim/App.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 20: class RouteGroup implements RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 18: {", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 229: $class = new ReflectionClass(ErrorHandler::class);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 229, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 97: ? $routeCollectorFromContainer", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 76: }", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 54: \"Could not detect any ServerRequest creator implementations. \" .", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 26: {", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 67: $callable($this->routeCollectorProxy);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 129: ->shouldBeCalled();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 43: 'dispatcher' => FastRouteDispatcher::class,", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 13: use function implode;", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 85: {", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 22: * @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 80: $app->getRouteResolver(),", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 209: public function testGettingUnknownParser()", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 7: */", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 26: protected string $title = '429 Too Many Requests';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 123: public function testCallingWithMixedKnownAndUnknownParametersAndVariadic()", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estou validando como o sistema lida com argumentos nomeados. Você pode encontrar o teste que verifica a mistura de parâmetros conhecidos, desconhecidos e o uso de variádicos?", "query": "named arguments variadic", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\ndefines testCallingWithMixedKnownAndUnknownParametersAndVariadic", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "Estou validando como o sistema lida com argumentos nomeados. Você pode encontrar o teste que verifica a mistura de parâmetros conhecidos, desconhecidos e o uso de variádicos?", "query": "named arguments variadic", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estou validando como o sistema lida com argumentos nomeados. Você pode encontrar o teste que verifica a mistura de parâmetros conhecidos, desconhecidos e o uso de variádicos?", "query": "named arguments variadic", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lang": "pt", "candidates": [{"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimPsr17Factory.php lines=13-36\nread SlimPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "SlimPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=123-146\nread testCallingWithMixedKnownAndUnknownParametersAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=127-150\nread run for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=108-131\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getStreamFactory", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=31-54\nread testCallingWithEmptyArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithEmptyArguments", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Wo wird die Methode definiert, die in den Tests immer hartcodiert 'true' zurückgibt, um den Lesestatus zu prüfen?", "query": "isReadable returns true", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lang": "de", "candidates": [{"text": "File: tests/Mocks/SmallChunksStream.php\nLine 70: public function isReadable(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 70, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 227: public function isReadable(): bool", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 227, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 20: private ?string $allowedMethodsUri = null;", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 47: */", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 186: // above. Perform the routing, which should throw the RuntimeException.", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 72: * {@inheritdoc}", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 26: protected string $description = 'The requested resource could not be found. Please verify the URI and try again.';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 75: public function isReadable(): bool", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\nLine 37: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 18: class MockMiddlewareWithoutConstructor implements MiddlewareInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 14: class HttpUnauthorizedException extends HttpSpecializedException", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 14: use ReflectionClass;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 38: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 5: *", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 20: {", "file": "Slim/Logger.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 111: public function addMiddleware(MiddlewareInterface $middleware): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 39: if (static::$serverRequestCreator) {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 99: public function testCallingWithUnknownAndVariadic()", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 23: */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Wo wird die Methode definiert, die in den Tests immer hartcodiert 'true' zurückgibt, um den Lesestatus zu prüfen?", "query": "isReadable returns true", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lang": "de", "candidates": [{"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines isReadable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Wo wird die Methode definiert, die in den Tests immer hartcodiert 'true' zurückgibt, um den Lesestatus zu prüfen?", "query": "isReadable returns true", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wo wird die Methode definiert, die in den Tests immer hartcodiert 'true' zurückgibt, um den Lesestatus zu prüfen?", "query": "isReadable returns true", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lang": "de", "candidates": [{"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=380-403\nread testWriteToErrorLog for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLog", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Wie sieht die Signatur für die Ausführung einer Middleware oder eines Callables aus, das den Request und die Response sowie Routenparameter entgegennimmt?", "query": "callable request response routeArguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lang": "de", "candidates": [{"text": "File: Slim/Exception/HttpGoneException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 120: $backup = self::disableXmlEntityLoader(true);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 34: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 185: // Create the routing middleware with the `RouteResolverInterface` defined", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 41: $calledCount = static::$CalledCount;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 35: public static function getResponseFactory(): ResponseFactoryInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 36: protected ?string $routeIdentifier = null;", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 47: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 28: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 1: $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Wie sieht die Signatur für die Ausführung einer Middleware oder eines Callables aus, das den Request und die Response sowie Routenparameter entgegennimmt?", "query": "callable request response routeArguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wie sieht die Signatur für die Ausführung einer Middleware oder eines Callables aus, das den Request und die Response sowie Routenparameter entgegennimmt?", "query": "callable request response routeArguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lang": "de", "candidates": [{"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=103-126\nread testOutputBufferIsCleanedWhenThrowableIsCaught for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testOutputBufferIsCleanedWhenThrowableIsCaught", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=173-196\nread testGetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetInvocationStrategy", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=18-41\nread MockRequestHandler for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "MockRequestHandler", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "캐시 파일이 없고 디렉토리에 쓰기 권한이 없을 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "cache writable exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 16: {", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 105: {", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 23: public static $id = '0';", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 44: }", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 95: throw new Exception('not implemented');", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 172: public function testCacheFileDoesNotExistsAndDirectoryIsNotWritable()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 19: use Slim\\Routing\\RouteResolver;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 36: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 7: */", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 54: });", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 31: * FOUND = 1", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 35: if (!static::isServerRequestDecoratorAvailable()) {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 36: * {@inheritdoc}", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 301: ->shouldBeCalledOnce();", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 301, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 22: * RouteResolver instantiates the FastRoute dispatcher", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 36: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 35: } else {", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "캐시 파일이 없고 디렉토리에 쓰기 권한이 없을 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "cache writable exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "캐시 파일이 없고 디렉토리에 쓰기 권한이 없을 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "cache writable exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> RuntimeException", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> function", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Slim", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "캐시 파일이 없고 디렉토리에 쓰기 권한이 없을 때 예외가 발생하는지 확인하는 테스트 찾아줘", "query": "cache writable exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=248-271\nread upperCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "upperCaseRequestMethodsProvider", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=508-531\nread testMiddlewareClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareClassNotFoundThrowException", "line": 508, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "根据给定的标识符查找并返回对应的路由对象,如果找不到会抛出异常吗?", "query": "lookup route exception", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 25: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 16: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 214: {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 7: */", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 78: ['foo' => 'bar'],", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 78: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 195: $routeCollectorProphecy = $this->prophesize(RouteCollectorInterface::class);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 171: }", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 168: * The callable signature MUST match the ErrorHandlerInterface", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 90: $routeResolver->resolveRoute($identifier);", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 90, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 243: if (!isset($this->stream)) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 20: public function resolveRoute($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 42: public function urlFor(string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 345: $callable = $this->callableResolver->resolveRoute($this->callable);", "file": "Slim/Routing/Route.php", "symbol": "", "line": 345, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 90: 'xml' => [", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 78: }", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 16: public function resolveRoute(string $identifier): RouteInterface;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 97: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 63: $callable = $this->callableResolver->resolveRoute($this->callable);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 71: ->resolveRoute($routeIdentifier)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 114: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 52: public function resolveRoute(string $identifier): RouteInterface", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "根据给定的标识符查找并返回对应的路由对象,如果找不到会抛出异常吗?", "query": "lookup route exception", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "根据给定的标识符查找并返回对应的路由对象,如果找不到会抛出异常吗?", "query": "lookup route exception", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> function", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "根据给定的标识符查找并返回对应的路由对象,如果找不到会抛出异常吗?", "query": "lookup route exception", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lang": "zh", "candidates": [{"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=248-271\nread upperCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "upperCaseRequestMethodsProvider", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=43-66\nread testBodyParam for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testBodyParam", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Como faço para criar uma rota que redirecione o usuário para outro endereço com um código de status específico?", "query": "route redirect status", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteResolverTest.php\nLine 40: * @param string $uri The request uri", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 27: protected string $description = 'You are not permitted to perform the requested operation.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 40: }", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 570: $uri = '/resource/123/456';", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 570, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 121: * Add a route that sends an HTTP redirect", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 121, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 31: string $message = '',", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 193: $app->getRouteCollector()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 24: * Default Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 3: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 11: namespace Slim\\Handlers\\Strategies;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 3: /**", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 26: StreamFactoryInterface $streamFactory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 87: $middlewareDispatcher->handle($request);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 335: $app->redirect($from, $to, 301);", "file": "tests/AppTest.php", "symbol": "", "line": 335, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 5: *", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 185: public function redirect(string $from, $to, int $status = 302): RouteInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 45: /**", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 19: use Throwable;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 39: ' could not instantiate a server request creator.');", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 30: use function array_intersect;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 425: $route = $routeCollectorProxy->redirect($from, $to);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 425, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como faço para criar uma rota que redirecione o usuário para outro endereço com um código de status específico?", "query": "route redirect status", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lang": "pt", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como faço para criar uma rota que redirecione o usuário para outro endereço com um código de status específico?", "query": "route redirect status", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como faço para criar uma rota que redirecione o usuário para outro endereço com um código de status específico?", "query": "route redirect status", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lang": "pt", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=356-379\nread testExecutesMiddlewareLastInFirstOut for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesMiddlewareLastInFirstOut", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=123-146\nread testCallingWithMixedKnownAndUnknownParametersAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1984-2007\nread testAppIsARequestHandler for detail", "file": "tests/AppTest.php", "symbol": "testAppIsARequestHandler", "line": 1984, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "当尝试解析一个中间件对象,但其关联的请求处理器类无法在没有容器的情况下被识别时,系统应该抛出包含特定错误信息的运行时异常。目前需要验证这种错误处理机制是否按预期工作。", "query": "resolveMiddleware exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nLine 221: if (!isset($this->routes[$identifier])) {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 13: /** @api */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 19: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 13: interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 21: */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 22: protected static array $factories = [", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 14: use Slim\\Middleware\\ContentLengthMiddleware;", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 3: /**", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 35: * @param MiddlewareDispatcher<\\Psr\\Container\\ContainerInterface|null> $dispatcher", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 15: class FastRouteDispatcher extends GroupCountBased", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 89: ->createServerRequestFromGlobals()", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 3: /**", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'GuzzleHttp\\Psr7\\HttpFactory';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 294: public function testMiddlewareObjPsrRequestHandlerClass(): void", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 23: private $calledCount = 0;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 243: /**", "file": "Slim/Routing/Route.php", "symbol": "", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 45: ) {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 45: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 3: /**", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 61: * {@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 56: '/hello/world?a%5B0%5D=b&a%5B1%5D=x&a%5B2%5D=y&c=d',", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "当尝试解析一个中间件对象,但其关联的请求处理器类无法在没有容器的情况下被识别时,系统应该抛出包含特定错误信息的运行时异常。目前需要验证这种错误处理机制是否按预期工作。", "query": "resolveMiddleware exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testMiddlewareObjPsrRequestHandlerClass", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "当尝试解析一个中间件对象,但其关联的请求处理器类无法在没有容器的情况下被识别时,系统应该抛出包含特定错误信息的运行时异常。目前需要验证这种错误处理机制是否按预期工作。", "query": "resolveMiddleware exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "当尝试解析一个中间件对象,但其关联的请求处理器类无法在没有容器的情况下被识别时,系统应该抛出包含特定错误信息的运行时异常。目前需要验证这种错误处理机制是否按预期工作。", "query": "resolveMiddleware exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lang": "zh", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=294-317\nread testMiddlewareObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=101-124\nread testSetServerRequestCreatorWithoutDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=786-809\nread testAddMiddlewareOnRoute for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je cherche l'endroit où l'on envoie finalement la réponse au client. Peux-tu me montrer la logique qui gère l'envoi des en-têtes et du corps de la réponse ?", "query": "send response client", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/MockRequestHandler.php\nLine 7: */", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 45: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 40: }", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 100: return $this", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 29: }", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 483: $resolver->resolveMiddleware('notFound');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 17: *", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 156: */", "file": "Slim/CallableResolver.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 40: }", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 20: {", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 5: *", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 52: 'type' => get_class($exception),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 29: private DispatcherInterface $dispatcher;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 19: /**", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 78: * Add DELETE route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 107: Psr17FactoryProvider::setFactories([SlimPsr17Factory::class]);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 195: $responseEmitter->emit($response);", "file": "Slim/App.php", "symbol": "", "line": 195, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 32: {", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 10: {", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 56: $responseEmitter->emit($response);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 18: protected static string $streamFactoryClass = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 38: public function emit(ResponseInterface $response): void", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 70: /**", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 53: }", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je cherche l'endroit où l'on envoie finalement la réponse au client. Peux-tu me montrer la logique qui gère l'envoi des en-têtes et du corps de la réponse ?", "query": "send response client", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lang": "fr", "candidates": [{"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Je cherche l'endroit où l'on envoie finalement la réponse au client. Peux-tu me montrer la logique qui gère l'envoi des en-têtes et du corps de la réponse ?", "query": "send response client", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> const", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche l'endroit où l'on envoie finalement la réponse au client. Peux-tu me montrer la logique qui gère l'envoi des en-têtes et du corps de la réponse ?", "query": "send response client", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lang": "fr", "candidates": [{"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "Wo wird die Methode aufgerufen, die eine Exception wirft, weil die Trennung des Streams noch nicht implementiert ist?", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lang": "de", "candidates": [{"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 34: return new ServerRequestCreator($serverRequestCreator, static::$serverRequestCreatorMethod);", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 21: {", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 106: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 18: class MockMiddlewareWithoutConstructor implements MiddlewareInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 28: $xml .= \"\\n \" . $this->createCdataSection($this->getErrorTitle($exception)) . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 132: if (PHP_VERSION_ID < 80100) {", "file": "tests/TestCase.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 36: ): ResponseInterface;", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 15: use function array_unshift;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 33: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 125: $this->detach();", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 125, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 50: public function detach()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 83: $callableResolverProphecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 1: getAttribute(RouteContext::ROUTE);", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 42: public function urlFor(string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Wo wird die Methode aufgerufen, die eine Exception wirft, weil die Trennung des Streams noch nicht implementiert ist?", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lang": "de", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines detach", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Wo wird die Methode aufgerufen, die eine Exception wirft, weil die Trennung des Streams noch nicht implementiert ist?", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wo wird die Methode aufgerufen, die eine Exception wirft, weil die Trennung des Streams noch nicht implementiert ist?", "query": "throw Exception not implemented", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lang": "de", "candidates": [{"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=81-104\nread getArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArgument", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=204-227\nread testDeferredResolvedSlimCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedSlimCallable", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Necesito verificar que cuando se realiza una solicitud HTTP con un método no permitido en una ruta configurada, el despachador devuelva correctamente el código de estado METHOD_NOT_ALLOWED.", "query": "method not allowed dispatch", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lang": "es", "candidates": [{"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 360: $callable = function () {", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 360, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 18: * @api", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 127: }", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 7: */", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 35: $xml .= ' ' . $this->createCdataSection($exception->getMessage()) . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 60: }", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 14: class HttpForbiddenException extends HttpSpecializedException", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 38: $callableResolver = $this->getCallableResolver();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 23: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 35: return $this->defaultErrorTitle;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 32: use function class_implements;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 138: */", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 86: $routeCollectorProphecy->reveal(),", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 30: public function relativeUrlFor(string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 13: class LaminasDiactorosPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 3: /**", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 81: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('provideMethodNotAllowedDispatchCases')]", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 68: {", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 307: $this->expectExceptionMessage('a_requesthandler is not resolvable');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 69: * Route parameters", "file": "Slim/Routing/Route.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Necesito verificar que cuando se realiza una solicitud HTTP con un método no permitido en una ruta configurada, el despachador devuelva correctamente el código de estado METHOD_NOT_ALLOWED.", "query": "method not allowed dispatch", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lang": "es", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Necesito verificar que cuando se realiza una solicitud HTTP con un método no permitido en una ruta configurada, el despachador devuelva correctamente el código de estado METHOD_NOT_ALLOWED.", "query": "method not allowed dispatch", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> function", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Necesito verificar que cuando se realiza una solicitud HTTP con un método no permitido en una ruta configurada, el despachador devuelva correctamente el código de estado METHOD_NOT_ALLOWED.", "query": "method not allowed dispatch", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lang": "es", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=391-414\nread testSetName for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=109-132\nread add for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=265-288\nread testMiddlewareResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareResolutionToAPsrRequestHandlerClass", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=317-340\nread testResolveThrowsExceptionWithoutContainerNonAdvancedCallableResolverAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerNonAdvancedCallableResolverAndUnresolvableClass", "line": 317, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "prüfe den testfall für das anhängen von ausgaben an den response body", "query": "append output buffering", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lang": "de", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 18: * Abstract Slim application error renderer", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 165: ' \"/user/([^/]+)\" for method \"GET\"');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 88: $psr17FactoryProvider::setFactories([SlimPsr17Factory::class]);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 337: $containerProphecy", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 337, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 13: use Slim\\Exception\\HttpException;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 264: /**", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 41: public function getCalledCount(): int", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 46: * @dataProvider provideImplementations", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 35: array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 7: */", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 27: * of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 15: {", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 54: $this->assertNotNull($routeContext->getBasePath());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 178: $uriProphecy = $this->prophesize(UriInterface::class);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 34: {", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 20: class MockMiddlewareWithConstructor implements MiddlewareInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 19: protected static string $responseFactoryClass = 'Slim\\Http\\Factory\\DecoratedResponseFactory';", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 46: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 53: public function testAppend()", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 43: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 192: }", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 192, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 24: {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "prüfe den testfall für das anhängen von ausgaben an den response body", "query": "append output buffering", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lang": "de", "candidates": [{"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\ndefines testAppend", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "prüfe den testfall für das anhängen von ausgaben an den response body", "query": "append output buffering", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> function", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> ReflectionProperty", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Slim", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Psr", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "prüfe den testfall für das anhängen von ausgaben an den response body", "query": "append output buffering", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lang": "de", "candidates": [{"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=157-180\nread any for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "any", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=17-40\nread ContentLengthMiddlewareTest for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=339-362\nread testExecutesKernelWithEmptyMiddlewareStack for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php lines=13-36\nread LaminasDiactorosPsr17Factory for detail", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "LaminasDiactorosPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我想看看在定义路由组的时候,有没有一个方法可以用来获取当前的路由组实例,方便我做嵌套调用。请帮我找一下这个接口里定义的相关方法。", "query": "collect routes", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nLine 235: $routeGroup->collectRoutes();", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 235, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 133: ->shouldBeCalledOnce();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 58: $html .= sprintf('
Line: %s
', $exception->getLine());", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 68: ['year' => '2015', 'month' => '07'],", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 29: // @phpstan-ignore-next-line", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 86: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 16: {", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 78: case RoutingResults::METHOD_NOT_ALLOWED:", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 31: callable $callable,", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 195: // @phpstan-ignore-next-line", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 19: public function collectRoutes(): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 121: * Add a route that sends an HTTP redirect", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'GuzzleHttp\\Psr7\\ServerRequest';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 60: public function collectRoutes(): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 27: }", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 77: public function testHTMLErrorRendererRenderHttpException()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 36: ): ResponseInterface {", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 26: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我想看看在定义路由组的时候,有没有一个方法可以用来获取当前的路由组实例,方便我做嵌套调用。请帮我找一下这个接口里定义的相关方法。", "query": "collect routes", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我想看看在定义路由组的时候,有没有一个方法可以用来获取当前的路由组实例,方便我做嵌套调用。请帮我找一下这个接口里定义的相关方法。", "query": "collect routes", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我想看看在定义路由组的时候,有没有一个方法可以用来获取当前的路由组实例,方便我做嵌套调用。请帮我找一下这个接口里定义的相关方法。", "query": "collect routes", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lang": "zh", "candidates": [{"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1984-2007\nread testAppIsARequestHandler for detail", "file": "tests/AppTest.php", "symbol": "testAppIsARequestHandler", "line": 1984, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ストリームファクトリが利用できない場合でも、レスポンスファクトリが正しく返されるかを確認しているテストはどこ?", "query": "ResponseFactory StreamFactory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lang": "ja", "candidates": [{"text": "File: Slim/CallableResolver.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 20: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 60: public function getMetadata($key = null)", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 83: public function handleException(ServerRequestInterface $request, Throwable $exception): ResponseInterface", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 85: $handler = (function () {", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 23: {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 42: public function getPattern(): string;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 1: dispatcher = $dispatcher ?? new Dispatcher($routeCollector);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 3: /**", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 299: );", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 27: * @throws RuntimeException If named route does not exist", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 71: ->resolveRoute($routeIdentifier)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 39: * @var callable[]", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 478: $kernel = $kernelProphecy->reveal();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 478, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ストリームファクトリが利用できない場合でも、レスポンスファクトリが正しく返されるかを確認しているテストはどこ?", "query": "ResponseFactory StreamFactory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lang": "ja", "candidates": [{"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ストリームファクトリが利用できない場合でも、レスポンスファクトリが正しく返されるかを確認しているテストはどこ?", "query": "ResponseFactory StreamFactory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ストリームファクトリが利用できない場合でも、レスポンスファクトリが正しく返されるかを確認しているテストはどこ?", "query": "ResponseFactory StreamFactory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lang": "ja", "candidates": [{"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=108-131\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getStreamFactory", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=157-180\nread assertCallable for detail", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=137-160\nread testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=248-271\nread upperCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "upperCaseRequestMethodsProvider", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "帮我找一下验证纯文本错误渲染器能否正确显示异常详情及嵌套异常内容的测试用例。", "query": "plaintext error test", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\nLine 152: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 19: protected $code = 501;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 65: public function getSize(): ?int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 18: {", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 174: * {@inheritdoc}", "file": "Slim/Routing/Route.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 38: $invocationStrategy = new RequestResponseNamedArgs();", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 55: return [self::METHOD_NOT_ALLOWED, null, []];", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 20: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 20: {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 73: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 203: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 3: /**", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 113: return $psr7ObjectProvider->createResponse($statusCode, $reasonPhrase);", "file": "tests/TestCase.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 48: // If nothing else matches, try fallback routes", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 285: public function testPlainTextErrorRendererDisplaysErrorDetails()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 197: if (isset($this->routesByName[$name])) {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 22: * Invoke a route callable.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 22: * @param string[] $factories", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 18: protected static string $streamFactoryClass = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 132: return $routingMiddleware;", "file": "Slim/App.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 7: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "帮我找一下验证纯文本错误渲染器能否正确显示异常详情及嵌套异常内容的测试用例。", "query": "plaintext error test", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lang": "zh", "candidates": [{"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\ndefines testPlainTextErrorRendererDisplaysErrorDetails", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "帮我找一下验证纯文本错误渲染器能否正确显示异常详情及嵌套异常内容的测试用例。", "query": "plaintext error test", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Slim", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> stdClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> function", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> RuntimeException", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> const", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "帮我找一下验证纯文本错误渲染器能否正确显示异常详情及嵌套异常内容的测试用例。", "query": "plaintext error test", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lang": "zh", "candidates": [{"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=391-414\nread testSetName for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=523-546\nread testInvokeWithException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeWithException", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "経路コレクタープロキシが応答ファクトリを取得するメソッドのテストを確認したい", "query": "route collection proxy response factory test", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 18: {", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 1: getResponseFactory();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 43: * @param string $uri", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 121: }", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 5: *", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 108: && (", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 5: *", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 48: // If nothing else matches, try fallback routes", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "経路コレクタープロキシが応答ファクトリを取得するメソッドのテストを確認したい", "query": "route collection proxy response factory test", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteCollectorProxyTest.php\ndefines RouteCollectorProxyTest", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "経路コレクタープロキシが応答ファクトリを取得するメソッドのテストを確認したい", "query": "route collection proxy response factory test", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Slim", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "経路コレクタープロキシが応答ファクトリを取得するメソッドのテストを確認したい", "query": "route collection proxy response factory test", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lang": "ja", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=208-231\nread testAnyRoute for detail", "file": "tests/AppTest.php", "symbol": "testAnyRoute", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=19-42\nread MethodOverrideMiddlewareTest for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=109-132\nread get for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "get", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=17-40\nread createServerRequestFromGlobals for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=116-139\nread testSlimCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallable", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1984-2007\nread testAppIsARequestHandler for detail", "file": "tests/AppTest.php", "symbol": "testAppIsARequestHandler", "line": 1984, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找测试容器为空时创建应用的逻辑", "query": "test empty container", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 28: class MiddlewareDispatcherTest extends TestCase", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 19: {", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 28: $response = $response->withHeader('Content-Length', (string) $size);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 62: 'x+t' => true, 'c+t' => true, 'a+' => true,", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 779: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 779, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 193: }", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 16: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 156: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 5: *", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 80: ' strong{display:inline-block;width:65px}' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 368: public function testCreateAppWithEmptyContainer()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 15: {", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 18: use function str_replace;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 34: return new ServerRequestCreator($serverRequestCreator, static::$serverRequestCreatorMethod);", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 114: return $this->allowedMethods = array_keys($allowedMethods);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 17: }", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 85: $routeResolver = new RouteResolver(", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 171: ];", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 68: * @param string $mediaType A HTTP media type (excluding content-type params).", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "查找测试容器为空时创建应用的逻辑", "query": "test empty container", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "查找测试容器为空时创建应用的逻辑", "query": "test empty container", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找测试容器为空时创建应用的逻辑", "query": "test empty container", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lang": "zh", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=157-180\nread assertCallable for detail", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "レスポンスのボディサイズに基づいてヘッダーを自動的に追加するミドルウェアのテストコードはどこですか?", "query": "Content-Length middleware test", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\nLine 114: $this->assertSame('/hello/world', $results);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 13: use InvalidArgumentException;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 23: private $calledCount = 0;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 13: use Psr\\Log\\AbstractLogger;", "file": "Slim/Logger.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 42: $request = $request->withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 32: */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 11: /**", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 14: class HttpForbiddenException extends HttpSpecializedException", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 53: }", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 139: * @param bool $logErrors", "file": "Slim/App.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 249: {", "file": "tests/AppTest.php", "symbol": "", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 21: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 29: */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 118: null,", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 20: use Psr\\Http\\Message\\StreamFactoryInterface;", "file": "tests/TestCase.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 39: ): ResponseInterface {", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 27: $this->serverRequestCreator = $serverRequestCreator;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 17: class ContentLengthMiddlewareTest extends TestCase", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockStream.php\nLine 38: /** @var resource A resource reference */", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 26: ): ResponseInterface {", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 32: {", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "レスポンスのボディサイズに基づいてヘッダーを自動的に追加するミドルウェアのテストコードはどこですか?", "query": "Content-Length middleware test", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\ndefines ContentLengthMiddlewareTest", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "レスポンスのボディサイズに基づいてヘッダーを自動的に追加するミドルウェアのテストコードはどこですか?", "query": "Content-Length middleware test", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "レスポンスのボディサイズに基づいてヘッダーを自動的に追加するミドルウェアのテストコードはどこですか?", "query": "Content-Length middleware test", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lang": "ja", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=43-66\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "setBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=84-107\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=17-40\nread ContentLengthMiddlewareTest for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=142-165\nread parseBody for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=497-520\nread testRouteClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=19-42\nread testAddsContentLength for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "testAddsContentLength", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estoy revisando los tests de los flujos de datos y me encontré con un método que lanza una excepción por no estar implementado. ¿Podrías decirme si este método de recuperación de información adicional debería estar funcional en los simuladores?", "query": "get metadata exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lang": "es", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 108: $middlewareDispatcher->handle($request);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 66: $unfilterName = 'string.rot13';", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 46: * @return ServerRequestInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 244: public function setDefaultErrorRenderer(string $contentType, $errorRenderer): void", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 19: protected $code = 429;", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 17: *", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 24: protected $message = 'Internal server error.';", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 27: protected string $defaultErrorDescription = 'A website error has occurred. Sorry for the temporary inconvenience.';", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 323: ->get(CallableResolverInterface::class)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 323, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 39: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 16: /**", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 217: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 217, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 69: $results = $dispatcher->dispatch($method, $uri);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 60: public function getMetadata($key = null)", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 507: public function testCanBeReExecutedRecursivelyDuringDispatch(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 20: ServerRequestInterface $request,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 77: * Verify if there's a header line on the stack", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 71: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 90: $this->uri = $this->getMetadata('uri');", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 90, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 33: ): ResponseInterface {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 65: public function getMetadata($key = null)", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy revisando los tests de los flujos de datos y me encontré con un método que lanza una excepción por no estar implementado. ¿Podrías decirme si este método de recuperación de información adicional debería estar funcional en los simuladores?", "query": "get metadata exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lang": "es", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines getMetadata", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy revisando los tests de los flujos de datos y me encontré con un método que lanza una excepción por no estar implementado. ¿Podrías decirme si este método de recuperación de información adicional debería estar funcional en los simuladores?", "query": "get metadata exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy revisando los tests de los flujos de datos y me encontré con un método que lanza una excepción por no estar implementado. ¿Podrías decirme si este método de recuperación de información adicional debería estar funcional en los simuladores?", "query": "get metadata exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lang": "es", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=52-75\nread fullUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "fullUrlFor", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1357-1380\nread testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument", "line": 1357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Il semble impossible de définir une stratégie d'exécution par défaut pour les routes lors de la configuration du collecteur, ce qui empêche de modifier le comportement global de l'appel des contrôleurs.", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lang": "fr", "candidates": [{"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 45: };", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 84: $requestHandler,", "file": "tests/TestCase.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 170: * as willdurand/negotiation for any other situation.", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 34: public function testAddFactory()", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 65: * @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 72: return true;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 230: $this->assertTrue($responseEmitter->isResponseEmpty($response));", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 66: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 25: /**", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1284: $app->getRouteCollector()->setDefaultInvocationStrategy(new RequestResponseArgs());", "file": "tests/AppTest.php", "symbol": "", "line": 1284, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 192: $candidate = $toResolve;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 192, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 120: public function setDefaultInvocationStrategy(InvocationStrategyInterface $strategy): RouteCollectorInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 68: return $this;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 32: public function setDefaultInvocationStrategy(InvocationStrategyInterface $strategy): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 5: *", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 65: $routes = $routeCollector->getRoutes();", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 31: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 69: return $response;", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 25: * Invoke a route callable with request, response and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 32: */", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 35: public static function getResponseFactory(): ResponseFactoryInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 289: $callableRoute = $resolver->resolveRoute($obj);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 21: * @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Il semble impossible de définir une stratégie d'exécution par défaut pour les routes lors de la configuration du collecteur, ce qui empêche de modifier le comportement global de l'appel des contrôleurs.", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lang": "fr", "candidates": [{"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Il semble impossible de définir une stratégie d'exécution par défaut pour les routes lors de la configuration du collecteur, ce qui empêche de modifier le comportement global de l'appel des contrôleurs.", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Slim", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> function", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Il semble impossible de définir une stratégie d'exécution par défaut pour les routes lors de la configuration du collecteur, ce qui empêche de modifier le comportement global de l'appel des contrôleurs.", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lang": "fr", "candidates": [{"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=21-44\nread RouteContextTest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "RouteContextTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=356-379\nread testExecutesMiddlewareLastInFirstOut for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesMiddlewareLastInFirstOut", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "RequestHandler가 요청을 처리하는 전역 예외 처리 로직을 구현해야 해요. try-catch 블록을 사용해 Throwable을 캐치하고 예외 처리 메서드로 위임합니다.", "query": "process middleware exception", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lang": "ko", "candidates": [{"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 408: $cases[] = ['HEAD', '/b/bar', $callback, 'handler1', ['foo' => 'bar']];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 408, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 48: public function createServerRequest(string $uri, string $method = 'GET', array $data = []): ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 34: $this->routeParser = new Std();", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 27: protected string $description = 'The server cannot or will not process ' .", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 26: * @param ResponseInterface $response The response object.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 567: };", "file": "tests/AppTest.php", "symbol": "", "line": 567, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 29: class RouteCollectorTest extends TestCase", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 74: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 95: return $responseFactory->createResponse();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 52: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 851: return $response;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 851, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 26: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 161: StreamFactoryInterface $streamFactory", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: end_of_line = lf", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 306: }", "file": "Slim/Routing/Route.php", "symbol": "", "line": 306, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 57: private static $readWriteHash = [", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 27: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 21: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 33: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 53: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "RequestHandler가 요청을 처리하는 전역 예외 처리 로직을 구현해야 해요. try-catch 블록을 사용해 Throwable을 캐치하고 예외 처리 메서드로 위임합니다.", "query": "process middleware exception", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "RequestHandler가 요청을 처리하는 전역 예외 처리 로직을 구현해야 해요. try-catch 블록을 사용해 Throwable을 캐치하고 예외 처리 메서드로 위임합니다.", "query": "process middleware exception", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> function", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "RequestHandler가 요청을 처리하는 전역 예외 처리 로직을 구현해야 해요. try-catch 블록을 사용해 Throwable을 캐치하고 예외 처리 메서드로 위임합니다.", "query": "process middleware exception", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=101-124\nread testHTMLErrorRendererEscapesHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererEscapesHttpException", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=233-256\nread testIsResponseEmptyWithZeroAsBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithZeroAsBody", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=43-66\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "setBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=125-148\nread addRoutingMiddleware for detail", "file": "Slim/App.php", "symbol": "addRoutingMiddleware", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=70-93\nread isReadable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How is the mock request handler implemented to capture the request object for inspection?", "query": "capture request handler", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lang": "en", "candidates": [{"text": "File: tests/Routing/RouteCollectorTest.php\nLine 61: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 17: use Slim\\Interfaces\\Psr17FactoryProviderInterface;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 23: protected static string $serverRequestDecoratorClass = 'Slim\\Http\\ServerRequest';", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 19: */", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 27: static::$CalledCount++;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 15: interface ServerRequestCreatorInterface", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 62: ) {", "file": "Slim/App.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 23: class BodyParsingMiddlewareTest extends TestCase", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 86: return $this;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 1: expectExceptionMessage('Callable notFound does not exist');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 467, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 92: ?InvocationStrategyInterface $defaultInvocationStrategy = null,", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 33: * Middleware are organized as a stack. That means middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 22: public function testGetSetFactories()", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How is the mock request handler implemented to capture the request object for inspection?", "query": "capture request handler", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lang": "en", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "How is the mock request handler implemented to capture the request object for inspection?", "query": "capture request handler", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Slim", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> function", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How is the mock request handler implemented to capture the request object for inspection?", "query": "capture request handler", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lang": "en", "candidates": [{"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=216-239\nread determineRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineRenderer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "서버 요청 객체를 생성할 수 있는 구현체를 탐색하고 결정하는 로직이 어디에 있나요? 적절한 팩토리를 찾지 못했을 때 예외를 던지는 부분도 같이 확인하고 싶습니다.", "query": "ServerRequest creator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RouteInterface.php\nLine 108: */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 14: [*.{yml,yaml}]", "file": ".editorconfig", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 55: return [", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 34: */", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 21: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 55: foreach ($expression as $segment) {", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 86: * @param TContainerInterface $container", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 126: ?ContainerInterface $container = null,", "file": "Slim/Routing/Route.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 357: AppFactory::setSlimHttpDecoratorsAutomaticDetection(false);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 379: $routeCollectorProphecy->reveal()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 379, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 28: };", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 108: $callableResolverProphecy->reveal(),", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 125: public function put(string $pattern, $callable): RouteInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 11: namespace Slim\\Handlers\\Strategies;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "서버 요청 객체를 생성할 수 있는 구현체를 탐색하고 결정하는 로직이 어디에 있나요? 적절한 팩토리를 찾지 못했을 때 예외를 던지는 부분도 같이 확인하고 싶습니다.", "query": "ServerRequest creator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "서버 요청 객체를 생성할 수 있는 구현체를 탐색하고 결정하는 로직이 어디에 있나요? 적절한 팩토리를 찾지 못했을 때 예외를 던지는 부분도 같이 확인하고 싶습니다.", "query": "ServerRequest creator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lang": "ko", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=211-234\nread testAvoidReadFromSlowStreamAccordingToStatus for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testAvoidReadFromSlowStreamAccordingToStatus", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=21-44\nread process for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "process", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "检查配置中是否禁用了行尾空格修剪", "query": "trim_trailing_whitespace", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lang": "zh", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 61: $routingResults = $this->resolveRoutingResultsFromRequest($request);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1634: {", "file": "tests/AppTest.php", "symbol": "", "line": 1634, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 60: public function testHTMLErrorRendererRenderFragmentMethod()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 52: if (", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 19: protected $code = 429;", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 21: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 3: /**", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 160: return $this->basePath;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 36: }", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 12: trim_trailing_whitespace = false", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 67: if (!static::isServerRequestCreatorAvailable()) {", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 11: namespace Slim\\Error;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 155: $route = $routeCollector->map(['GET'], '/{first}/{last}', function () {", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 249: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 41: MockPsr17Factory::getServerRequestCreator();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 800: $strategy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 800, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "检查配置中是否禁用了行尾空格修剪", "query": "trim_trailing_whitespace", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines trim_trailing_whitespace", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "检查配置中是否禁用了行尾空格修剪", "query": "trim_trailing_whitespace", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lang": "zh", "candidates": [{"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=111-134\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "addMiddleware", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=95-118\nread setArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArgument", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Onde está o teste que verifica o comportamento de limpeza das fábricas de mensagens PSR-17 e que precisa rodar em um processo separado para não afetar os outros?", "query": "Psr17 setFactories", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lang": "pt", "candidates": [{"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 53: }", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 204: $r->addRoute('GET', '/handler1', 'handler1');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 1: formatExceptionFragment($exception);", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 14: {", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 22: public static function getResponseFactory(): ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 23: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 58: ));", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 1: Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Onde está o teste que verifica o comportamento de limpeza das fábricas de mensagens PSR-17 e que precisa rodar em um processo separado para não afetar os outros?", "query": "Psr17 setFactories", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lang": "pt", "candidates": [{"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=103-126\nread seek for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "seek", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=415-438\nread testControllerMethodAsStringResolvesWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithContainer", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/HttpSoftPsr17Factory.php lines=13-36\nread HttpSoftPsr17Factory for detail", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "HttpSoftPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Investigate why the logic for determining a fallback method for class-string references fails to properly apply the default method when the object instance satisfies the provided condition.", "query": "resolve class method", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lang": "en", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 1: expectException(RuntimeException::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 319, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 87: '{\"foo\":\"bar\"}',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 32: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 31: */", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 59: }", "file": "tests/TestCase.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 23: *", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 7: */", "file": "Slim/Logger.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 86: private function resolveByPredicate($toResolve, callable $predicate, string $defaultMethod): callable", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Assets/HeaderStack.php\nLine 93: }", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 49: public function setTitle(string $title): self", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 36: }", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 25: array $routeArguments", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 1: $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Investigate why the logic for determining a fallback method for class-string references fails to properly apply the default method when the object instance satisfies the provided condition.", "query": "resolve class method", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Investigate why the logic for determining a fallback method for class-string references fails to properly apply the default method when the object instance satisfies the provided condition.", "query": "resolve class method", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lang": "en", "candidates": [{"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=59-82\nread testCreateServerRequestFromGlobalsThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeException", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=24-47\nread setFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "setFactories", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=377-400\nread testRouteObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjMiddlewareClass", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "DIコンテナを使って、クラス内のメソッドを呼び出し可能な形式として解決できるか確認するテストコードを探しています。ルートやミドルウェアの解決プロセスで、コンテナが正しく渡されているかを検証している箇所を知りたいです。", "query": "resolve container test", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lang": "ja", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 31: ResponseInterface $response,", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 117: public function post(string $pattern, $callable): RouteInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 155: * @throws RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 15: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 56: throw new RuntimeException(get_called_class() . ' could not instantiate a stream factory.');", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 150: public function testSlimCallableContainer(): void", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 51: */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 134: ->createServerRequest('/not-defined', 'GET')", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 7: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 49: $dispatcherProphecy = $this->prophesize(DispatcherInterface::class);", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 121: '',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 78: ' body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif}' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 74: }", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 191: if (LIBXML_VERSION >= 20900) {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 191, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 166: public function testJSONErrorRendererSubstitutesInvalidUtf8()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 61: {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 9: declare(strict_types=1);", "file": "tests/AppTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "DIコンテナを使って、クラス内のメソッドを呼び出し可能な形式として解決できるか確認するテストコードを探しています。ルートやミドルウェアの解決プロセスで、コンテナが正しく渡されているかを検証している箇所を知りたいです。", "query": "resolve container test", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lang": "ja", "candidates": [{"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testSlimCallableContainer", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "DIコンテナを使って、クラス内のメソッドを呼び出し可能な形式として解決できるか確認するテストコードを探しています。ルートやミドルウェアの解決プロセスで、コンテナが正しく渡されているかを検証している箇所を知りたいです。", "query": "resolve container test", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "DIコンテナを使って、クラス内のメソッドを呼び出し可能な形式として解決できるか確認するテストコードを探しています。ルートやミドルウェアの解決プロセスで、コンテナが正しく渡されているかを検証している箇所を知りたいです。", "query": "resolve container test", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lang": "ja", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=150-173\nread testSlimCallableContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1143-1166\nread testInvokeWithMatchingRouteWithSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArgument", "line": 1143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "执行定义好的中间件栈并在未路由时自动路由", "query": "route runner handle", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 51: */", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 85: foreach (self::$data as $item) {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 36: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 24: /**", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 34: use function count;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 78: * Add DELETE route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 207: $this->expectOutputString('This is a subclass of LogicException...');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 56: $args = [", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 57: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 41: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 102: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 42: return $handler->handle($request);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 51: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 193: $response = $this->handle($request);", "file": "Slim/App.php", "symbol": "", "line": 193, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 25: array $routeArguments", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 160: $this->defaultErrorHandler = $handler;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 81: throw $exception;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 203: $response = $app->handle($requestProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 203, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 31: $body = $request->getParsedBody();", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 73: $response = $middlewareDispatcher->handle($request);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 28: }", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 488: $requestProphecy = $this->prophesize(ServerRequestInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 488, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 7: */", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "执行定义好的中间件栈并在未路由时自动路由", "query": "route runner handle", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "执行定义好的中间件栈并在未路由时自动路由", "query": "route runner handle", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "执行定义好的中间件栈并在未路由时自动路由", "query": "route runner handle", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lang": "zh", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=23-46\nread RouteRunner for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "RouteRunner", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=116-139\nread testSlimCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallable", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1143-1166\nread testInvokeWithMatchingRouteWithSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArgument", "line": 1143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotFoundException.php lines=13-36\nread HttpNotFoundException for detail", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "HttpNotFoundException", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=573-596\nread testInvokeDeferredCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estoy revisando cómo se procesan las peticiones entrantes para ver si puedo añadir un nuevo formato. ¿Dónde se gestiona la conversión automática del contenido del cuerpo de la solicitud según el tipo de medios?", "query": "parse body middleware", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lang": "es", "candidates": [{"text": "File: Slim/Handlers/ErrorHandler.php\nLine 317: }", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 317, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 1: getResponseFactory(), false, false, false, $logger);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 217, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 108: * @param mixed $toResolve", "file": "Slim/CallableResolver.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 112: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/TestCase.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 25: use Slim\\Middleware\\BodyParsingMiddleware;", "file": "Slim/App.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 46: }", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 22: use function fread;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 17: use Slim\\Middleware\\BodyParsingMiddleware;", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 37: use Slim\\Middleware\\BodyParsingMiddleware;", "file": "tests/AppTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 5: end_of_line = lf", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 36: class BodyParsingMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/ResponseEmitterTest.php\nLine 155: public function testResponseDoesNotReplacePreviouslySetSetCookieHeaders(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 30: error_log((string) $message);", "file": "Slim/Logger.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 45: ?RouteCollectorInterface $routeCollector = null,", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 21: interface RouteCollectorProxyInterface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy revisando cómo se procesan las peticiones entrantes para ver si puedo añadir un nuevo formato. ¿Dónde se gestiona la conversión automática del contenido del cuerpo de la solicitud según el tipo de medios?", "query": "parse body middleware", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lang": "es", "candidates": [{"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy revisando cómo se procesan las peticiones entrantes para ver si puedo añadir un nuevo formato. ¿Dónde se gestiona la conversión automática del contenido del cuerpo de la solicitud según el tipo de medios?", "query": "parse body middleware", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> function", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> const", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy revisando cómo se procesan las peticiones entrantes para ver si puedo añadir un nuevo formato. ¿Dónde se gestiona la conversión automática del contenido del cuerpo de la solicitud según el tipo de medios?", "query": "parse body middleware", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lang": "es", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=210-233\nread testSuperclassExceptionHandlerDoesNotHandleSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerDoesNotHandleSubclassException", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=40-63\nread testHttpNotAllowedExceptionGetAllowedMethods for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpNotAllowedExceptionGetAllowedMethods", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=163-186\nread testParsingWithARegisteredParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingWithARegisteredParser", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to figure out how to programmatically update the URI structure for a specific endpoint. Where is the method that allows me to redefine the matching string for a registered path?", "query": "update uri pattern", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lang": "en", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 79: 'key' => $key,", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 732: $route->setPattern('/hola/{nombre}');", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 732, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 44: && class_exists(static::$responseFactoryClass)", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 14: public function computeRoutingResults(string $uri, string $method): RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 18: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 30: * @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 40: * Is the PSR-17 StreamFactory available", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 16: /**", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 17: use function htmlentities;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 45: public function setPattern(string $pattern): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 20: {", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'HttpSoft\\ServerRequest\\ServerRequestCreator';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 84: if (!empty($segments)) {", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 38: $response = $handler->handle($request);", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 41: {", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 184: public function setPattern(string $pattern): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteParser.php\nLine 110: $url = $basePath . $url;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 17: * @return string[]", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 24: public const CHUNK_SIZE = 1;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 38: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 71: * {@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to figure out how to programmatically update the URI structure for a specific endpoint. Where is the method that allows me to redefine the matching string for a registered path?", "query": "update uri pattern", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lang": "en", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm trying to figure out how to programmatically update the URI structure for a specific endpoint. Where is the method that allows me to redefine the matching string for a registered path?", "query": "update uri pattern", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to figure out how to programmatically update the URI structure for a specific endpoint. Where is the method that allows me to redefine the matching string for a registered path?", "query": "update uri pattern", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lang": "en", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=21-44\nread process for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "process", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=163-186\nread testParsingWithARegisteredParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingWithARegisteredParser", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=184-207\nread setPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Como testar se a exceção HttpUnauthorizedException é instanciada corretamente com uma requisição?", "query": "test HttpUnauthorizedException instantiate", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteResolverTest.php\nLine 49: $dispatcherProphecy = $this->prophesize(DispatcherInterface::class);", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 150: };", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 32: $responseFactory = $psr7ObjectProvider->getResponseFactory();", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 46: /** @var ResponseInterface */", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 18: /** @api */", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 37: ResponseInterface $response,", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 18: public function testHttpUnauthorizedException()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 107: * @param MiddlewareInterface|string|callable $middleware", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 14: use RuntimeException;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 16: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 69: }", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 22: * Middleware are organized as a stack. That means middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 231: $routeProphecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 231, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 42: public static function isStreamFactoryAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 14: use Slim\\MiddlewareDispatcher;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 36: {", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 74: {", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 17: }", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 4: * This is a direct copy of zend-diactoros/test/TestAsset/Functions.php and is used to override", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 270: $resolver = new CallableResolver(); // No container injected", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 215: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 215, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como testar se a exceção HttpUnauthorizedException é instanciada corretamente com uma requisição?", "query": "test HttpUnauthorizedException instantiate", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\ndefines testHttpUnauthorizedException", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nsibling in tests/Exception", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como testar se a exceção HttpUnauthorizedException é instanciada corretamente com uma requisição?", "query": "test HttpUnauthorizedException instantiate", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como testar se a exceção HttpUnauthorizedException é instanciada corretamente com uma requisição?", "query": "test HttpUnauthorizedException instantiate", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lang": "pt", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=150-173\nread testSlimCallableContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=109-132\nread get for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "get", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "在测试用例中检查:当依赖注入容器中已经注册了可调用对象时,该中间件是否能正确从容器中获取并执行对应的处理器逻辑。", "query": "container callable handler", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockAction.php\nLine 1: read($length);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 15: class MockPsr17Factory extends Psr17Factory", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 25: }", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 7: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 23: */", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 180: $routeCollectorProphecy->reveal()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 20: use Slim\\Interfaces\\CallableResolverInterface;", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 17: use Slim\\Interfaces\\Psr17FactoryProviderInterface;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 5: *", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 27: public function resolveMiddleware($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 225: $response->getBody()->write($exception->getMessage());", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 20: * @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 65: ) {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 59: null", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 31: public function __construct(RouteCollectorInterface $routeCollector, ?DispatcherInterface $dispatcher = null)", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 322: }", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 322, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 16: {", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 64: $this->assertSame($this->request, $request);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 44: return $this->response;", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1420: public function testInvokeWithCallableRegisteredInContainer(): void", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "在测试用例中检查:当依赖注入容器中已经注册了可调用对象时,该中间件是否能正确从容器中获取并执行对应的处理器逻辑。", "query": "container callable handler", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lang": "zh", "candidates": [{"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "在测试用例中检查:当依赖注入容器中已经注册了可调用对象时,该中间件是否能正确从容器中获取并执行对应的处理器逻辑。", "query": "container callable handler", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "在测试用例中检查:当依赖注入容器中已经注册了可调用对象时,该中间件是否能正确从容器中获取并执行对应的处理器逻辑。", "query": "container callable handler", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=158-181\nread setDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=380-403\nread testWriteToErrorLog for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLog", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=290-313\nread testCreateAppWithContainerUsesContainerDependenciesWhenPresent for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithContainerUsesContainerDependenciesWhenPresent", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How is the static property used to store the container instance in this mock class?", "query": "static container mock", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lang": "en", "candidates": [{"text": "File: tests/TestCase.php\nLine 20: use Psr\\Http\\Message\\StreamFactoryInterface;", "file": "tests/TestCase.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 36: }", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 73: * @param ContainerInterface|null $container", "file": "tests/TestCase.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 86: ' Go Back' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 32: public function __construct()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 55: private function __construct(", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 26: }", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 27: $response = $arguments[1];", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 74: }", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 21: public function __construct($container = null)", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 76: $this->middleware[] = $middleware;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 120: public function __construct(", "file": "Slim/Routing/Route.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 34: }", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 65: $routeCollectorProphecy->reveal(),", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 13: class GuzzlePsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 174: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 25: $response = $responseFactory->createResponse();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 78: * Add DELETE route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 39: public function __construct(StreamFactoryInterface $streamFactory, string $style = 'append')", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 45: public function __construct(", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 19: */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How is the static property used to store the container instance in this mock class?", "query": "static container mock", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lang": "en", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\ndefines __construct", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "How is the static property used to store the container instance in this mock class?", "query": "static container mock", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How is the static property used to store the container instance in this mock class?", "query": "static container mock", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lang": "en", "candidates": [{"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=268-291\nread map for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "map", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=21-44\nread process for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "process", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=523-546\nread testInvokeWithException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeWithException", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "미들웨어를 스택 구조로 쌓아서 실행 순서를 관리하는 로직을 찾고 있어요. 새로운 요청 처리를 체인 형태로 연결해주는 메서드가 어디에 정의되어 있나요?\n\n새로 추가된 미들웨어가 가장 먼저 실행되도록 구현된 부분을 확인하고 싶습니다.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lang": "ko", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 39: $middlewareDispatcher->addMiddleware($methodOverrideMiddleware);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 25: class RoutingMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 248: return $this->arguments;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 437: $dispatcher->addMiddleware($middleware1Prophecy->reveal());", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 437, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 20: use Slim\\Routing\\RouteCollectorProxy;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 45: public function detach()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 83: public function addMiddleware(MiddlewareInterface $middleware): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 284: public function addMiddleware(MiddlewareInterface $middleware): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 284, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 112: public function addMiddleware(MiddlewareInterface $middleware): self", "file": "Slim/App.php", "symbol": "", "line": 112, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 15: use function explode;", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 38: * Get route pattern", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 39: {", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 3: /**", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 114: ->setConstructorArgs([$stream])", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 68: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 72: $middlewareDispatcher->addMiddleware($outputBufferingMiddleware);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 286: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 286, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 21: $exception = new HttpUnauthorizedException($request);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 17: use RuntimeException;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 113: public function addMiddleware(MiddlewareInterface $middleware): MiddlewareDispatcherInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 57: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "미들웨어를 스택 구조로 쌓아서 실행 순서를 관리하는 로직을 찾고 있어요. 새로운 요청 처리를 체인 형태로 연결해주는 메서드가 어디에 정의되어 있나요?\n\n새로 추가된 미들웨어가 가장 먼저 실행되도록 구현된 부분을 확인하고 싶습니다.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "미들웨어를 스택 구조로 쌓아서 실행 순서를 관리하는 로직을 찾고 있어요. 새로운 요청 처리를 체인 형태로 연결해주는 메서드가 어디에 정의되어 있나요?\n\n새로 추가된 미들웨어가 가장 먼저 실행되도록 구현된 부분을 확인하고 싶습니다.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "미들웨어를 스택 구조로 쌓아서 실행 순서를 관리하는 로직을 찾고 있어요. 새로운 요청 처리를 체인 형태로 연결해주는 메서드가 어디에 정의되어 있나요?\n\n새로 추가된 미들웨어가 가장 먼저 실행되도록 구현된 부분을 확인하고 싶습니다.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lang": "ko", "candidates": [{"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockPsr17Factory.php lines=15-38\nread MockPsr17Factory for detail", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "MockPsr17Factory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=17-40\nread __invoke for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=265-288\nread testMiddlewareResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareResolutionToAPsrRequestHandlerClass", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "帮我看看测试用例,我想确认一下当容器中没有找到匹配项时,闭包和中间件是如何被解析的。", "query": "callable resolver container", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteResolverTest.php\nLine 37: * @dataProvider computeRoutingResultsDataProvider", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 85: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('requiredRouteContextRequestAttributes')]", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 31: return $response;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 152: public function testParsing($contentType, $body, $expected)", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 1: setErrorHandler(LogicException::class, (function (ServerRequestInterface $request, $exception) {", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 20: class RequestResponse implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 77: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 24: class CallableResolverTest extends TestCase", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 30: ServerRequestInterface $request,", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 164: 'Request body media type parser return value must be an array, an object, or null'", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 200: }", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 200, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "帮我看看测试用例,我想确认一下当容器中没有找到匹配项时,闭包和中间件是如何被解析的。", "query": "callable resolver container", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines CallableResolverTest", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "帮我看看测试用例,我想确认一下当容器中没有找到匹配项时,闭包和中间件是如何被解析的。", "query": "callable resolver container", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "帮我看看测试用例,我想确认一下当容器中没有找到匹配项时,闭包和中间件是如何被解析的。", "query": "callable resolver container", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lang": "zh", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=182-205\nread testForceContentTypeNullRestoresNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentTypeNullRestoresNegotiation", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "디퍼드 미들웨어 인터페이스를 구현하지 않은 클래스를 추가할 때 예외가 발생하는지 테스트", "query": "deferred non middleware exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 110: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 53: }", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 28: {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 227: public function testXMLErrorRendererDisplaysErrorDetails()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 19: {", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'HttpSoft\\Message\\StreamFactory';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 13: use Exception;", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 123: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 18: }", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 251: * @return RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 251, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 16: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 103: );", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 235: );", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 5: *", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 26: protected string $title = '403 Forbidden';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 50: 'REMOTE_ADDR' => '127.0.0.1',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 137: *", "file": "Slim/App.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 470: public function testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 53: }", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 58: ?CallableResolverInterface $callableResolver = null,", "file": "Slim/App.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 130: $seekable = $stream->isSeekable();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "디퍼드 미들웨어 인터페이스를 구현하지 않은 클래스를 추가할 때 예외가 발생하는지 테스트", "query": "deferred non middleware exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lang": "ko", "candidates": [{"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "디퍼드 미들웨어 인터페이스를 구현하지 않은 클래스를 추가할 때 예외가 발생하는지 테스트", "query": "deferred non middleware exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "디퍼드 미들웨어 인터페이스를 구현하지 않은 클래스를 추가할 때 예외가 발생하는지 테스트", "query": "deferred non middleware exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=470-493\nread testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=27-50\nread resolveMiddleware for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=144-167\nread testRouteArgumentsAreDecodedOnlyOnce for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteArgumentsAreDecodedOnlyOnce", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "this リクエストがデコレート可能かどうかを確認するメソッドってどうやって実装されてる?", "query": "server request decorator check", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lang": "ja", "candidates": [{"text": "File: tests/AppTest.php\nLine 1533: $requestProphecy->withAttribute(Argument::type('string'), Argument::any())->will(function ($args) {", "file": "tests/AppTest.php", "symbol": "", "line": 1533, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 1: invoke($handler);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 45: * JSON, XML, Plain Text or HTML based on the Accept header.", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 18: {", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 38: *", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 52: public static function isServerRequestDecoratorAvailable(): bool", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 92: $this->setAccessible($method);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 308: ->has(ResponseFactoryInterface::class)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 308, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 42: public function seedMiddlewareStack(RequestHandlerInterface $kernel): void;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 455: );", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 455, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 28: {", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 33: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 17: * {@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 42: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Laminas\\Diactoros\\StreamFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 66: && SlimHttpServerRequestCreator::isServerRequestDecoratorAvailable()", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 25: public const ROUTING_RESULTS = '__routingResults__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 63: return $this;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 22: {", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 31: use function array_reverse;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "this リクエストがデコレート可能かどうかを確認するメソッドってどうやって実装されてる?", "query": "server request decorator check", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "this リクエストがデコレート可能かどうかを確認するメソッドってどうやって実装されてる?", "query": "server request decorator check", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> function", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Slim", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "this リクエストがデコレート可能かどうかを確認するメソッドってどうやって実装されてる?", "query": "server request decorator check", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lang": "ja", "candidates": [{"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=25-48\nread __construct for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "__construct", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=786-809\nread testAddMiddlewareOnRoute for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=365-388\nread testOptions for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=19-42\nread SlimHttpServerRequestCreator for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "SlimHttpServerRequestCreator", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=23-46\nread RouteRunner for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "RouteRunner", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=347-370\nread testResolutionToAPsrRequestHandlerClassWithCustomMethod for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClassWithCustomMethod", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "依存関係注入コンテナを利用して、遅延評価されるコールバックからハンドラーを解決する際のテストケースが不足している、あるいは期待通りに動作するかを確認したい。具体的には、コンテナ経由で取得したオブジェクトの特定のメソッドを呼び出す挙動について。", "query": "deferred callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lang": "ja", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 18: * PSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 15: {", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 183: {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 573: public function testInvokeDeferredCallableWithContainer()", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 33: $xml .= ' ' . get_class($exception) . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 50: return $this;", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 50: {", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 269: };", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 21: */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 46: * Add GET route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 33: }", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 30: private $amountToRead;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 17: {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 9: declare(strict_types=1);", "file": "Slim/Logger.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1987: $app = new App($responseFactoryProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 1987, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 32: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 7: */", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "依存関係注入コンテナを利用して、遅延評価されるコールバックからハンドラーを解決する際のテストケースが不足している、あるいは期待通りに動作するかを確認したい。具体的には、コンテナ経由で取得したオブジェクトの特定のメソッドを呼び出す挙動について。", "query": "deferred callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "依存関係注入コンテナを利用して、遅延評価されるコールバックからハンドラーを解決する際のテストケースが不足している、あるいは期待通りに動作するかを確認したい。具体的には、コンテナ経由で取得したオブジェクトの特定のメソッドを呼び出す挙動について。", "query": "deferred callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "依存関係注入コンテナを利用して、遅延評価されるコールバックからハンドラーを解決する際のテストケースが不足している、あるいは期待通りに動作するかを確認したい。具体的には、コンテナ経由で取得したオブジェクトの特定のメソッドを呼び出す挙動について。", "query": "deferred callable container", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lang": "ja", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1592-1615\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments", "line": 1592, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=573-596\nread testInvokeDeferredCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=126-149\nread testResponseWithStreamReadYieldingLessBytesThanAsked for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseWithStreamReadYieldingLessBytesThanAsked", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "这个方法是怎么把中间件加入到执行队列里的?它是后进先出的吗?", "query": "add middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 74: $middlewareDispatcher->addMiddleware($routingMiddleware);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 66: $method = $reflectionRenderer->getMethod('renderExceptionFragment');", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 39: $middlewareDispatcher->addMiddleware($methodOverrideMiddleware);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 86: {", "file": "Slim/App.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 35: $request = $request->withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 88: return $this->addMiddleware($middleware);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 106: $middleware = (function ($request, $handler) {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 51: RequestHandlerInterface $kernel,", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 25: {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 31: public function addMiddleware(MiddlewareInterface $middleware): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 72: }", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 37: }", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 453: public function testFunctionNotFoundThrowException(): void", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 36: $middlewareDispatcher->addMiddleware($mw2);", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 5: *", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 37: public function addMiddleware(MiddlewareInterface $middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 195: })->bindTo($this));", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 38: }", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 627: $app->addMiddleware($middlewareProphecy2->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 627, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 353: $argDict = ['name' => 'rdlowrey'];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 353, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "这个方法是怎么把中间件加入到执行队列里的?它是后进先出的吗?", "query": "add middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lang": "zh", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "这个方法是怎么把中间件加入到执行队列里的?它是后进先出的吗?", "query": "add middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "这个方法是怎么把中间件加入到执行队列里的?它是后进先出的吗?", "query": "add middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=51-74\nread get for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=42-65\nread seedMiddlewareStack for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "미들웨어 스택을 거쳐서 최종 응답 객체를 반환하는 메서드가 어디 있지?", "query": "middleware stack response", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\nLine 68: return $this;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 5: *", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 46: 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.8',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 20: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 5: *", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 91: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 41: '/.*The application could not run because of the following error:.*/',", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 22: public static $CalledCount = 0;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 53: }", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1723: $app->run($requestProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 1723, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 67: $app->run($request);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 273: $streamFactoryProphecy = $this->prophesize(StreamFactoryInterface::class);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 273, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 127: public function run(ServerRequestInterface $request): ResponseInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/App.php\nLine 186: public function run(?ServerRequestInterface $request = null): void", "file": "Slim/App.php", "symbol": "", "line": 186, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 427: $response = $route->run($request);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 427, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 43: $this->routeParser = $routeParser;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 282: $route->run($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 282, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 387: public function testRedirect()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 28: }", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 25: protected $code = 405;", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 34: {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 18: /**", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 203: $responseEmitter = new ResponseEmitter();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "미들웨어 스택을 거쳐서 최종 응답 객체를 반환하는 메서드가 어디 있지?", "query": "middleware stack response", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lang": "ko", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "미들웨어 스택을 거쳐서 최종 응답 객체를 반환하는 메서드가 어디 있지?", "query": "middleware stack response", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "미들웨어 스택을 거쳐서 최종 응답 객체를 반환하는 메서드가 어디 있지?", "query": "middleware stack response", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=347-370\nread testResolutionToAPsrRequestHandlerClassWithCustomMethod for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClassWithCustomMethod", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=127-150\nread run for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=289-312\nread getDefaultLogger for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "getDefaultLogger", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=75-98\nread isSeekable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isSeekable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=284-307\nread testRouteObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClass", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=339-362\nread testExecutesKernelWithEmptyMiddlewareStack for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=173-196\nread testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je cherche la méthode qui assemble les variables globales du serveur pour générer une instance de requête PSR-7. Peux-tu me montrer comment elle appelle le créateur via un rappel ?", "query": "globals server request", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lang": "fr", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\nLine 156: });", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 17: public function createServerRequestFromGlobals(): ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 38: public function createServerRequestFromGlobals(): ServerRequestInterface", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 26: public function add($middleware): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 15: use Psr\\Container\\ContainerInterface;", "file": "tests/TestCase.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1365: return 0;", "file": "tests/AppTest.php", "symbol": "", "line": 1365, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 29: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 29: $psr17Factory,", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 17: }", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 28: 'or number of requests they can send in a given period of time.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 1: createServerRequestFromGlobals();", "file": "Slim/App.php", "symbol": "", "line": 190, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 57: $serverRequest = $serverRequestCreator->createServerRequestFromGlobals();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 50: ->createServerRequestFromGlobals()", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 54: }", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je cherche la méthode qui assemble les variables globales du serveur pour générer une instance de requête PSR-7. Peux-tu me montrer comment elle appelle le créateur via un rappel ?", "query": "globals server request", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lang": "fr", "candidates": [{"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Je cherche la méthode qui assemble les variables globales du serveur pour générer une instance de requête PSR-7. Peux-tu me montrer comment elle appelle le créateur via un rappel ?", "query": "globals server request", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Slim", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche la méthode qui assemble les variables globales du serveur pour générer une instance de requête PSR-7. Peux-tu me montrer comment elle appelle le créateur via un rappel ?", "query": "globals server request", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lang": "fr", "candidates": [{"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=43-66\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "setBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=523-546\nread testInvokeWithException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeWithException", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=150-173\nread testSlimCallableContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=125-148\nread addRoutingMiddleware for detail", "file": "Slim/App.php", "symbol": "addRoutingMiddleware", "line": 125, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找处理请求异常并返回响应的拦截方法定义", "query": "error handler interface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 26: /** @api */", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 103: */", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 5: *", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 116: $response = $handler->__invoke($request, $exception, false, false, false);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 3: /**", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 17: {", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 59: $resolved[1] ??= '__invoke';", "file": "Slim/CallableResolver.php", "symbol": "", "line": 59, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 31: public function __invoke(", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 17: public function __invoke(Throwable $exception, bool $displayErrorDetails): string;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 54: */", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 26: * @param MiddlewareInterface|string|callable $middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 17: use function json_encode;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 22: use Slim\\Interfaces\\MiddlewareDispatcherInterface;", "file": "Slim/App.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 71: /**", "file": "tests/TestCase.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 1: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "查找处理请求异常并返回响应的拦截方法定义", "query": "error handler interface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找处理请求异常并返回响应的拦截方法定义", "query": "error handler interface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=71-94\nread getNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getNamedRoute", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=247-270\nread testResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClass", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=19-42\nread SlimHttpServerRequestCreator for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "SlimHttpServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1143-1166\nread testInvokeWithMatchingRouteWithSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArgument", "line": 1143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=29-52\nread tearDown for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "tearDown", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=482-505\nread provideNotFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideNotFoundDispatchCases", "line": 482, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "implementierung des schreibvorgangs ins fehlerprotokoll finden", "query": "write error log", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lang": "de", "candidates": [{"text": "File: tests/Mocks/CallableTest.php\nLine 19: public static $CalledContainer = null;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 33: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 21: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 54: */", "file": "tests/TestCase.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 512: $writeToErrorLogMethod = new ReflectionMethod($handler, 'writeToErrorLog');", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 512, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 37: $middleware = new OutputBufferingMiddleware($this->getStreamFactory(), 'prepend');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 40: * Seed the middleware stack with the inner request handler", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 45: $exception->setAllowedMethods(['GET']);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 29: private DispatcherInterface $dispatcher;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 263: protected function writeToErrorLog(): void", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\nLine 47: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 47: 'HTTP_HOST' => 'localhost',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 89: $routeCollectorProphecy->reveal()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 86: public function testCannotCreateInstanceIfRequestIsMissingAttributes(string $attribute): void", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 34: protected $cacheFile;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 220: $this->name = $name;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 220, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 22: class RequestResponseNamedArgs implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 16: * @var int", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 40: ) {", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 62: $this->routeParser = $routeParser;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "implementierung des schreibvorgangs ins fehlerprotokoll finden", "query": "write error log", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lang": "de", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "implementierung des schreibvorgangs ins fehlerprotokoll finden", "query": "write error log", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> function", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Throwable", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Slim", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "implementierung des schreibvorgangs ins fehlerprotokoll finden", "query": "write error log", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lang": "de", "candidates": [{"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=263-286\nread writeToErrorLog for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=98-121\nread rewind for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "rewind", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=161-184\nread testShadowedStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testShadowedStaticRoute", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=119-142\nread fullUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "fullUrlFor", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "find the logic that executes path matching and passes the updated request to the next handler", "query": "routing middleware handle", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lang": "en", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 102: public function testSetServerRequestCreatorWithoutDecorators()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 49: {", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 238: /** @var ResponseInterface */", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 238, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 3: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 136: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 9: use FastRoute\\RouteParser\\Std;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 52: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 377: $containerProphecy", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 31: return $psr7ObjectProvider->createResponse();", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 40: /** @var RouteInterface|null $route */", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 74: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 608: $middlewareProphecy->process(Argument::cetera())->will(function () use ($responseProphecy) {", "file": "tests/AppTest.php", "symbol": "", "line": 608, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 42: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 78: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 21: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 127: '\"foo bar\"',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 158: $middleware->process($request, $requestHandler);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 158, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 13: use Psr\\Container\\ContainerInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 115: */", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "find the logic that executes path matching and passes the updated request to the next handler", "query": "routing middleware handle", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lang": "en", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "find the logic that executes path matching and passes the updated request to the next handler", "query": "routing middleware handle", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Slim", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "find the logic that executes path matching and passes the updated request to the next handler", "query": "routing middleware handle", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lang": "en", "candidates": [{"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=57-80\nread performRouting for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "performRouting", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=31-54\nread __construct for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "目前的路由收集器接口缺少一个用于指定路由缓存文件路径的方法,这会导致无法在生产环境下通过文件缓存来优化路由匹配性能。需要增加一个能够设置缓存文件路径并返回接口实例的方法,同时要处理文件路径非法或写入失败的异常情况。", "query": "route cache path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lang": "zh", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 110: rewind($stream);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 48: * @param string $routeName Route name", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 58: $routeCollector->setCacheFile($cacheFile);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 40: }", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 48: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 18: {", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 45: public function setCacheFile(string $cacheFile): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 103: $this->setCacheFile($cacheFile);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 44: {", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 32: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 84: {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 32: }", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 26: use function unlink;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 23: $this->assertInstanceOf(HttpUnauthorizedException::class, $exception);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 23: static::$CalledContainer = $container;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 90: {", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 36: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 166: $routeCollector->setCacheFile($this->cacheFile);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 166, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "目前的路由收集器接口缺少一个用于指定路由缓存文件路径的方法,这会导致无法在生产环境下通过文件缓存来优化路由匹配性能。需要增加一个能够设置缓存文件路径并返回接口实例的方法,同时要处理文件路径非法或写入失败的异常情况。", "query": "route cache path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "目前的路由收集器接口缺少一个用于指定路由缓存文件路径的方法,这会导致无法在生产环境下通过文件缓存来优化路由匹配性能。需要增加一个能够设置缓存文件路径并返回接口实例的方法,同时要处理文件路径非法或写入失败的异常情况。", "query": "route cache path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "目前的路由收集器接口缺少一个用于指定路由缓存文件路径的方法,这会导致无法在生产环境下通过文件缓存来优化路由匹配性能。需要增加一个能够设置缓存文件路径并返回接口实例的方法,同时要处理文件路径非法或写入失败的异常情况。", "query": "route cache path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lang": "zh", "candidates": [{"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=31-54\nread testCallingWithEmptyArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithEmptyArguments", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=75-98\nread isSeekable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isSeekable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=182-205\nread testForceContentTypeNullRestoresNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentTypeNullRestoresNegotiation", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=27-50\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "process", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "サーバーリクエスト生成器のカスタムインスタンスをセットアップすると、他のテストに影響が出てしまう。デコレーターの自動検出を有効にした状態で、独自の生成器が正しく反映され、期待通りのリクエストオブジェクトが返されるか確認したい。また、プロセスが汚染される問題を解決するために、テストを分離して実行している箇所を特定してほしい。", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteCollectorTest.php\nLine 27: use function unlink;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 68: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 1: prophesize(RequestHandlerInterface::class);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 17: public static $CalledCount = 0;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'Laminas\\Diactoros\\ResponseFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 119: $middlewareDispatcher->addCallable($middleware);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 33: }", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 23: */", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 60: public function getMetadata($key = null)", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 30: */", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 3: /**", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 59: echo 'Test';", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 123: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 70: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 18: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 1: expectException(RuntimeException::class);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 15: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 50: public function getBasePath(): string;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "サーバーリクエスト生成器のカスタムインスタンスをセットアップすると、他のテストに影響が出てしまう。デコレーターの自動検出を有効にした状態で、独自の生成器が正しく反映され、期待通りのリクエストオブジェクトが返されるか確認したい。また、プロセスが汚染される問題を解決するために、テストを分離して実行している箇所を特定してほしい。", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lang": "ja", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "サーバーリクエスト生成器のカスタムインスタンスをセットアップすると、他のテストに影響が出てしまう。デコレーターの自動検出を有効にした状態で、独自の生成器が正しく反映され、期待通りのリクエストオブジェクトが返されるか確認したい。また、プロセスが汚染される問題を解決するために、テストを分離して実行している箇所を特定してほしい。", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Slim", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Psr", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> RuntimeException", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> HttpSoft", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Nyholm", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "サーバーリクエスト生成器のカスタムインスタンスをセットアップすると、他のテストに影響が出てしまう。デコレーターの自動検出を有効にした状態で、独自の生成器が正しく反映され、期待通りのリクエストオブジェクトが返されるか確認したい。また、プロセスが汚染される問題を解決するために、テストを分離して実行している箇所を特定してほしい。", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lang": "ja", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=75-98\nread patch for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "patch", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ルート引数を可変長引数として展開してコールバックに渡す処理において、定義されているパラメータがすべて個別の引数として渡されるようになっているか確認してください。", "query": "route arguments callable", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lang": "ja", "candidates": [{"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 17: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 39: $content = '';", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 24: throw new InvalidArgumentException(\"Not a Slim call\");", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 20: {", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 1: routeCollector->getRoutes() as $route) {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 26: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 465: * object that is returned by __invoke().", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 465, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 113: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 116: $response = $handler->__invoke($request, $exception, false, false, false);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 21: public function __invoke(", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 45: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 42: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 21: $this->expectException(RuntimeException::class);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 21: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルート引数を可変長引数として展開してコールバックに渡す処理において、定義されているパラメータがすべて個別の引数として渡されるようになっているか確認してください。", "query": "route arguments callable", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ルート引数を可変長引数として展開してコールバックに渡す処理において、定義されているパラメータがすべて個別の引数として渡されるようになっているか確認してください。", "query": "route arguments callable", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> RuntimeException", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルート引数を可変長引数として展開してコールバックに渡す処理において、定義されているパラメータがすべて個別の引数として渡されるようになっているか確認してください。", "query": "route arguments callable", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lang": "ja", "candidates": [{"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=45-68\nread __construct for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "__construct", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=108-131\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getStreamFactory", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=274-297\nread testObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "验证当容器中存在名为 'a_requesthandler' 的请求处理程序类时,CallableResolver 能正确解析该路由并调用其 handle 方法,且能确保处理程序的静态调用计数器正确递增为 1。", "query": "resolve route handler container", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lang": "zh", "candidates": [{"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 83: $app->add($routingMiddleware);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 19: public function testAddsContentLength()", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 23: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 63: }", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 181: $callable = null;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 45: }", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 403: $app->get($pattern, function () {", "file": "tests/AppTest.php", "symbol": "", "line": 403, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 1: Trace';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 26: {", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 74: $methodOverrideMiddleware = new MethodOverrideMiddleware();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 197: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 88: }", "file": "tests/TestCase.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 108: public function tell(): int", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 113: return $psr7ObjectProvider->createResponse($statusCode, $reasonPhrase);", "file": "tests/TestCase.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "验证当容器中存在名为 'a_requesthandler' 的请求处理程序类时,CallableResolver 能正确解析该路由并调用其 handle 方法,且能确保处理程序的静态调用计数器正确递增为 1。", "query": "resolve route handler container", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lang": "zh", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testRouteObjPsrRequestHandlerClassInContainer", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "验证当容器中存在名为 'a_requesthandler' 的请求处理程序类时,CallableResolver 能正确解析该路由并调用其 handle 方法,且能确保处理程序的静态调用计数器正确递增为 1。", "query": "resolve route handler container", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "验证当容器中存在名为 'a_requesthandler' 的请求处理程序类时,CallableResolver 能正确解析该路由并调用其 handle 方法,且能确保处理程序的静态调用计数器正确递增为 1。", "query": "resolve route handler container", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lang": "zh", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=83-106\nread addMiddleware for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "addMiddleware", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=52-75\nread process for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "process", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=244-267\nread testXMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererRenderHttpException", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimPsr17Factory.php lines=13-36\nread SlimPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "SlimPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "我需要确认当前的流是否支持随机访问,因此请实现一个方法来返回这个属性。", "query": "stream seekable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lang": "zh", "candidates": [{"text": "File: Slim/MiddlewareDispatcher.php\nLine 187: // Do Nothing", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 124: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 1: isSeekable()) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 109, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 60: public function setDescription(string $description): self", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 194: $this->assertTrue($body->isSeekable());", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 194, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 29: * The status is one of the constants shown above", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 73: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 35: {", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17FactoryProvider;", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 348: $dispatcher = $this->createMiddlewareDispatcher($kernel, null);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 348, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 37: public function __construct(", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 97: [$instance, $method] = $this->resolveSlimNotation($toResolve);", "file": "Slim/CallableResolver.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 33: if (is_array($body) && !empty($body['_METHOD']) && is_string($body['_METHOD'])) {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 64: Psr17FactoryProvider::setFactories([SlimPsr17Factory::class]);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1691: $streamProphecy->isSeekable()->willReturn(true);", "file": "tests/AppTest.php", "symbol": "", "line": 1691, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 60: ->willReturn($callable);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 90: if ($body->isSeekable()) {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 90, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 80: public function isSeekable(): bool", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 75: public function isSeekable(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 66: /**", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 169: /** @var RouteParserInterface $routeParser */", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我需要确认当前的流是否支持随机访问,因此请实现一个方法来返回这个属性。", "query": "stream seekable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines isSeekable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "我需要确认当前的流是否支持随机访问,因此请实现一个方法来返回这个属性。", "query": "stream seekable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我需要确认当前的流是否支持随机访问,因此请实现一个方法来返回这个属性。", "query": "stream seekable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lang": "zh", "candidates": [{"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1398-1421\nread testInvokeWithoutMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithoutMatchingRoute", "line": 1398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=13-36\nread AdvancedCallableResolverInterface for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=109-132\nread get for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "get", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=482-505\nread provideNotFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideNotFoundDispatchCases", "line": 482, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=279-302\nread testDetermineContentTypeApplicationJsonOrXml for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeApplicationJsonOrXml", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=75-98\nread patch for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "patch", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=27-50\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "process", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "ルーティングの定義に関連して、パスの生成に必要なパーサーの取得、実行戦略の設定、およびキャッシュファイルやベースパスの管理を行うためのインターフェースを探しています。これらが定義されている箇所を確認してください。", "query": "route parser strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 23: public static $id = '0';", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 19: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 370: $this->expectExceptionMessage('{} is not resolvable');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 33: }", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 1: assertInstanceOf(PlainTextErrorRenderer::class, $renderer[0]);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 40: }", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 14: class HttpNotImplementedException extends HttpSpecializedException", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 17: interface RouteCollectorInterface", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 60: $html .= '

Trace

';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 23: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/App.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 19: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 34: protected string $style;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 15: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 17: }", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 16: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 37: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 94: };", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 161: $this->assertSame(RoutingResults::FOUND, $results->getRouteStatus());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 182: *", "file": "Slim/App.php", "symbol": "", "line": 182, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルーティングの定義に関連して、パスの生成に必要なパーサーの取得、実行戦略の設定、およびキャッシュファイルやベースパスの管理を行うためのインターフェースを探しています。これらが定義されている箇所を確認してください。", "query": "route parser strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lang": "ja", "candidates": [{"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ルーティングの定義に関連して、パスの生成に必要なパーサーの取得、実行戦略の設定、およびキャッシュファイルやベースパスの管理を行うためのインターフェースを探しています。これらが定義されている箇所を確認してください。", "query": "route parser strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルーティングの定義に関連して、パスの生成に必要なパーサーの取得、実行戦略の設定、およびキャッシュファイルやベースパスの管理を行うためのインターフェースを探しています。これらが定義されている箇所を確認してください。", "query": "route parser strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lang": "ja", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=380-403\nread testWriteToErrorLog for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLog", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=168-191\nread getMethods for detail", "file": "Slim/Routing/Route.php", "symbol": "getMethods", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=109-132\nread add for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "帮我看看这个测试方法,它是怎么验证获取路由组(getGroups)的逻辑的?", "query": "test get groups route", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 34: $this->routeParser = new Std();", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 32: *", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 203: $this->seek(0);", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 219: public function testGetGroups()", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 26: */", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 44: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 34: do {", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 36: /**", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 3: /**", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 27: public static function getStreamFactory(): StreamFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 36: if ($routingResults[0] === self::FOUND) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 15: /**", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 20: use function explode;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 14: use Psr\\Container\\ContainerInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 75: case RoutingResults::NOT_FOUND:", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 38: $request->getBody()->rewind();", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 113: $exception = new HttpNotFoundException($request);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 19: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 435: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 435, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 24: {", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "帮我看看这个测试方法,它是怎么验证获取路由组(getGroups)的逻辑的?", "query": "test get groups route", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "帮我看看这个测试方法,它是怎么验证获取路由组(getGroups)的逻辑的?", "query": "test get groups route", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=320-343\nread testAny for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testAny", "line": 320, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=24-47\nread setFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "setFactories", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=658-681\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=101-124\nread testSetServerRequestCreatorWithoutDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "El sistema no está manejando correctamente los casos donde la cabecera de tipo de contenido es parcialmente válida o tiene un formato mal formado, lo que debería ser verificado en las pruebas de gestión de errores.", "query": "Content-Type error", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lang": "es", "candidates": [{"text": "File: tests/Mocks/SlowPokeStream.php\nLine 106: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 81: ' ' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 36: }", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 32: use function array_keys;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 16: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 27: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 152: * @param mixed $resolved", "file": "Slim/CallableResolver.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 168: $exception = new Exception(\"Invalid \\xB1\\x31 UTF-8 sequence\");", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 192: }", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 192, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 32: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 41: }", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 49: }", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 76: public function getIdentifier(): string;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 31: ResponseInterface $response,", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 19: protected $code = 500;", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 216: public function testHalfValidContentType()", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 25: public static $container;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 81: ' ' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 5: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 39: {", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 53: if ($args[1] !== $expectedUri) {", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "El sistema no está manejando correctamente los casos donde la cabecera de tipo de contenido es parcialmente válida o tiene un formato mal formado, lo que debería ser verificado en las pruebas de gestión de errores.", "query": "Content-Type error", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lang": "es", "candidates": [{"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "El sistema no está manejando correctamente los casos donde la cabecera de tipo de contenido es parcialmente válida o tiene un formato mal formado, lo que debería ser verificado en las pruebas de gestión de errores.", "query": "Content-Type error", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "El sistema no está manejando correctamente los casos donde la cabecera de tipo de contenido es parcialmente válida o tiene un formato mal formado, lo que debería ser verificado en las pruebas de gestión de errores.", "query": "Content-Type error", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lang": "es", "candidates": [{"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=40-63\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "验证路由解析器生成带基础路径和查询参数的url", "query": "route parser url generation", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lang": "zh", "candidates": [{"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 126: {", "file": "Slim/App.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 54: return class_exists(static::$serverRequestDecoratorClass);", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 55: }", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 204: return $this;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 19: use Slim\\Handlers\\Strategies\\RequestHandler;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 11: namespace Slim\\Middleware;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'fromGlobals';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 39: class App extends RouteCollectorProxy implements RequestHandlerInterface", "file": "Slim/App.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 48: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 34: *", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 130: /** @psalm-suppress ArgumentTypeCoercion */", "file": "Slim/CallableResolver.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 18: use Psr\\Http\\Message\\StreamInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 39: $responseFactory = $this->getResponseFactory();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 80: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 18: class RouteParserTest extends TestCase", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockAction.php\nLine 16: use function count;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "验证路由解析器生成带基础路径和查询参数的url", "query": "route parser url generation", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "验证路由解析器生成带基础路径和查询参数的url", "query": "route parser url generation", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> RuntimeException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Slim", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "验证路由解析器生成带基础路径和查询参数的url", "query": "route parser url generation", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lang": "zh", "candidates": [{"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=82-105\nread testRelativePathForWithNoBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testRelativePathForWithNoBasePath", "line": 82, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=391-414\nread testSetName for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=165-188\nread map for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "map", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=253-276\nread createProxy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createProxy", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "해당 미들웨어가 인터페이스를 구현하지 않았을 때 예외가 발생하는지 테스트해야 합니다. 컨테이너에서 해당 미들웨어를 가져오면 stdClass가 반환되도록 설정했습니다.", "query": "test middleware interface exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MockRequestHandler.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 21: * @var int", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 279: public function testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 1: getBody()->write('Body');", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 14: class HttpInternalServerErrorException extends HttpSpecializedException", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 29: {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 32: return $exception->getTitle();", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 1: assertSame(1, RequestHandlerTest::$CalledCount);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 262, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "해당 미들웨어가 인터페이스를 구현하지 않았을 때 예외가 발생하는지 테스트해야 합니다. 컨테이너에서 해당 미들웨어를 가져오면 stdClass가 반환되도록 설정했습니다.", "query": "test middleware interface exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "해당 미들웨어가 인터페이스를 구현하지 않았을 때 예외가 발생하는지 테스트해야 합니다. 컨테이너에서 해당 미들웨어를 가져오면 stdClass가 반환되도록 설정했습니다.", "query": "test middleware interface exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "해당 미들웨어가 인터페이스를 구현하지 않았을 때 예외가 발생하는지 테스트해야 합니다. 컨테이너에서 해당 미들웨어를 가져오면 stdClass가 반환되도록 설정했습니다.", "query": "test middleware interface exception", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lang": "ko", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=365-388\nread testOptions for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=59-82\nread testCreateServerRequestFromGlobalsThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeException", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "FastRouteのディスパッチャーを初期化して、ルート収集器に登録されたすべてのパスとメソッドを反映したルーティング情報を構築する方法を知りたいです。", "query": "fastroute dispatcher initialize", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\nLine 76: [],", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 22: */", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 34: $this->dispatcher = $dispatcher ?? new Dispatcher($routeCollector);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 13: use FastRoute\\RouteParser\\Std;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 19: {", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 11: namespace Slim\\Middleware;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 19: protected $code = 501;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 16: use Slim\\Routing\\Dispatcher;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 13: use FastRoute\\Dispatcher;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 33: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 40: * Set appropriate options for the specific Dispatcher class we're testing", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 29: $this->expectException(RuntimeException::class);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 43: };", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 13: use FastRoute\\Dispatcher\\GroupCountBased;", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 234: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 106: $routeCollectorProxy = new RouteCollectorProxy(", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 13: class Dispatcher implements DispatcherInterface", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 22: */", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 1: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "FastRouteのディスパッチャーを初期化して、ルート収集器に登録されたすべてのパスとメソッドを反映したルーティング情報を構築する方法を知りたいです。", "query": "fastroute dispatcher initialize", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "FastRouteのディスパッチャーを初期化して、ルート収集器に登録されたすべてのパスとメソッドを反映したルーティング情報を構築する方法を知りたいです。", "query": "fastroute dispatcher initialize", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lang": "ja", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=170-193\nread addBodyParsingMiddleware for detail", "file": "Slim/App.php", "symbol": "addBodyParsingMiddleware", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=377-400\nread testRouteObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjMiddlewareClass", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=391-414\nread testSetName for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=485-508\nread testRouteCallableDoesNotAppendEchoedOutput for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableDoesNotAppendEchoedOutput", "line": 485, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "メソッドが許可されていない場合に取得できる許可済みメソッドのリストを確認する", "query": "get allowed methods", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lang": "ja", "candidates": [{"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 44: * @param string[] $methods", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 19: public static function getFactories(): array;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 165: $routingResults = $routingResultsProphecy->reveal();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 1: withAddedHeader('X-SEQ-POST-REQ-HANDLER', static::$id);", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 46: throw new RuntimeException(get_called_class() . ' could not instantiate a decorated server request.');", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 108: public function write($string): int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 43: $decoratedServerRequest = new static::$serverRequestDecoratorClass($request)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 3: /**", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 30: $this->expectExceptionMessage('Slim\\\\Tests\\\\Mocks\\\\MockPsr17Factory could not instantiate a stream factory.');", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 15: use ReflectionProperty;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 14: [*.{yml,yaml}]", "file": ".editorconfig", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 50: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 398: 'set \"displayErrorDetails\" to true in the ErrorHandler constructor',", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 80: * @param string $pattern The route URI pattern", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 637: /** @var InvocationStrategyInterface $strategy */", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 637, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 5: *", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "メソッドが許可されていない場合に取得できる許可済みメソッドのリストを確認する", "query": "get allowed methods", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "メソッドが許可されていない場合に取得できる許可済みメソッドのリストを確認する", "query": "get allowed methods", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> function", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "メソッドが許可されていない場合に取得できる許可済みメソッドのリストを確認する", "query": "get allowed methods", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lang": "ja", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=21-44\nread RouteContextTest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "RouteContextTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1308-1331\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy", "line": 1308, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "라우트 미들웨어 구현체 검색", "query": "routing middleware", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 25: class RoutingMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 14: use ReflectionMethod;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 39: use Slim\\Middleware\\RoutingMiddleware;", "file": "tests/AppTest.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 113: $results = $dispatcher->getAllowedMethods('/');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 227: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 18: */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 24: use Slim\\Middleware\\RoutingMiddleware;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 21: use Slim\\Middleware\\RoutingMiddleware;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 115: return $this->callableResolver->resolve($handler);", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 7: */", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 99: *", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 38: public function createServerRequest(", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 75: if (isset($this->variableRouteData[$httpMethod])) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 23: use Slim\\Middleware\\RoutingMiddleware;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 22: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 240: $this->assertSame((string) $output->exception[1]->type, 'RuntimeException');", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 560: {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 560, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 17: protected static string $responseFactoryClass = 'Slim\\Psr7\\Factory\\ResponseFactory';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 27: use Slim\\Middleware\\RoutingMiddleware;", "file": "Slim/App.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 13: use Exception;", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "라우트 미들웨어 구현체 검색", "query": "routing middleware", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "라우트 미들웨어 구현체 검색", "query": "routing middleware", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Slim", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "라우트 미들웨어 구현체 검색", "query": "routing middleware", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lang": "ko", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=57-80\nread performRouting for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "performRouting", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=416-439\nread routeGroupsDataProvider for detail", "file": "tests/AppTest.php", "symbol": "routeGroupsDataProvider", "line": 416, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=31-54\nread __construct for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "インターフェースを実装していないミドルウェアのモックを作って", "query": "mock middleware", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteTest.php\nLine 35: use Slim\\Tests\\Mocks\\MockMiddlewareWithoutInterface;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 5: *", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 247: $this->defaultErrorRenderer = $errorRenderer;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 18: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 60: public function getContents(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 36: }", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 16: class Psr17FactoryProviderTest extends TestCase", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 65: /**", "file": "Slim/CallableResolver.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 38: RouteResolverInterface $routeResolver,", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 142: $results = $routeParser->urlFor('test', $arguments, $queryParams);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 16: use Slim\\Routing\\RouteCollector;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 47: * @param UriInterface $uri", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 86: ' Go Back' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 178: ->withBody($body);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 17: * {@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 165: $routingResults = $routingResultsProphecy->reveal();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 37: public function addMiddleware(MiddlewareInterface $middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 33: * @return ResponseFactoryInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 21: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 34: * that have been added before will be executed after the newly", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 198: public static function setRouteCollector(RouteCollectorInterface $routeCollector): void", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 17: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 270: $middlewareDispatcher->addDeferred(MockMiddlewareWithoutConstructor::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 270, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "インターフェースを実装していないミドルウェアのモックを作って", "query": "mock middleware", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\ndefines MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "インターフェースを実装していないミドルウェアのモックを作って", "query": "mock middleware", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lang": "ja", "candidates": [{"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=265-288\nread testMiddlewareResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareResolutionToAPsrRequestHandlerClass", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=17-40\nread Psr17FactoryTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=127-150\nread run for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=658-681\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Verify that the system correctly catches unexpected exceptions thrown during the request lifecycle and triggers the configured fallback mechanism instead of crashing the application.", "query": "middleware error handler", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lang": "en", "candidates": [{"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 38: * {@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 171: }", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 1: routeCollectorProxy = $routeCollectorProxy;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 103: // routeParser is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 57: return $this->description;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 326: $handler = $this->createMock(ErrorHandler::class);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 326, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 288: public function testErrorHandlerHandlesThrowables()", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 24: use function class_exists;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 18: use Slim\\Interfaces\\RouteGroupInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 35: callable $callable,", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 78: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 17: /** @api */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 26: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 70: */", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 84: '

%s

' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 153: if (count($parts) >= 2) {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 97: $route = $this->createMock(RouteInterface::class);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Verify that the system correctly catches unexpected exceptions thrown during the request lifecycle and triggers the configured fallback mechanism instead of crashing the application.", "query": "middleware error handler", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lang": "en", "candidates": [{"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\ndefines testErrorHandlerHandlesThrowables", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Verify that the system correctly catches unexpected exceptions thrown during the request lifecycle and triggers the configured fallback mechanism instead of crashing the application.", "query": "middleware error handler", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Slim", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Psr", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> LogicException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Verify that the system correctly catches unexpected exceptions thrown during the request lifecycle and triggers the configured fallback mechanism instead of crashing the application.", "query": "middleware error handler", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lang": "en", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=31-54\nread __construct for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=166-189\nread testJSONErrorRendererSubstitutesInvalidUtf8 for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererSubstitutesInvalidUtf8", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=19-42\nread MethodOverrideMiddlewareTest for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "在测试初始化阶段,确保为每次测试用例准备好模拟的 HTTP 请求和响应对象,以避免测试环境状态污染。", "query": "ServerRequestInterface ResponseInterface mock", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 20: private ?string $allowedMethodsUri = null;", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 18: use function htmlspecialchars;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 239: return $response;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 239, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 37: return $decoratedResponseFactory;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1031: $group->group('/fizz', function (RouteCollectorProxyInterface $group) {", "file": "tests/AppTest.php", "symbol": "", "line": 1031, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 27: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 20: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 40: public function setUp(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 36: public function setUp(): void", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 151: $this->cacheFile = $cacheFile;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 67: {", "file": "tests/TestCase.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 25: public function setUp(): void", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 18: /**", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 254: ->createResponse()", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 61: // Route attribute is not required", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 242: {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 108: public function getStreamFactory(): StreamFactoryInterface", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 7: */", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 64: if ($this->style === static::PREPEND) {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "在测试初始化阶段,确保为每次测试用例准备好模拟的 HTTP 请求和响应对象,以避免测试环境状态污染。", "query": "ServerRequestInterface ResponseInterface mock", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\ndefines setUp", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "在测试初始化阶段,确保为每次测试用例准备好模拟的 HTTP 请求和响应对象,以避免测试环境状态污染。", "query": "ServerRequestInterface ResponseInterface mock", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "在测试初始化阶段,确保为每次测试用例准备好模拟的 HTTP 请求和响应对象,以避免测试环境状态污染。", "query": "ServerRequestInterface ResponseInterface mock", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lang": "zh", "candidates": [{"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=31-54\nread testCallingWithEmptyArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithEmptyArguments", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=51-74\nread get for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=65-88\nread getSize for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=168-191\nread getMethods for detail", "file": "Slim/Routing/Route.php", "symbol": "getMethods", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=99-122\nread testCallingWithUnknownAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "I'm looking at how the main request handler is initialized. Where is the constructor that takes the resolver, the parser, and the optional collector proxy?", "query": "RouteResolver RouteParser", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lang": "en", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 28: * @return ServerRequestFactoryInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 38: *", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 28: {", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 25: * @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 22: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 76: $request = $this", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 18: * @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 25: public function __construct(ServerRequestCreatorInterface $serverRequestCreator)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 22: public function testGetSetFactories()", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 102: $callable = $resolver->resolve([$obj, 'toCall']);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 30: public function __construct(int $responseChunkSize = 4096)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 93: try {", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 37: public function __construct(", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 88: $this->expectException(RuntimeException::class);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 31: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 31: public function __construct(RouteCollectorInterface $routeCollector, ?DispatcherInterface $dispatcher = null)", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 24: protected static string $responseFactoryClass;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 30: public function __construct(?ContainerInterface $container = null)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 35: }", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 9: interface RouteResolverInterface", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 18: }", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 19: public static $CalledCount = 0;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm looking at how the main request handler is initialized. Where is the constructor that takes the resolver, the parser, and the optional collector proxy?", "query": "RouteResolver RouteParser", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lang": "en", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm looking at how the main request handler is initialized. Where is the constructor that takes the resolver, the parser, and the optional collector proxy?", "query": "RouteResolver RouteParser", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm looking at how the main request handler is initialized. Where is the constructor that takes the resolver, the parser, and the optional collector proxy?", "query": "RouteResolver RouteParser", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lang": "en", "candidates": [{"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=304-327\nread testObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClassInContainer", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=211-234\nread testAvoidReadFromSlowStreamAccordingToStatus for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testAvoidReadFromSlowStreamAccordingToStatus", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=756-779\nread testAddBodyParsingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddBodyParsingMiddleware", "line": 756, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1592-1615\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments", "line": 1592, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=23-46\nread RouteRunner for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "RouteRunner", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=110-133\nread testGetAllowedMethodsReusesLastUriOnly for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethodsReusesLastUriOnly", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=18-41\nread MockRequestHandler for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "MockRequestHandler", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "帮我找一下测试基类里那个用来通过字符串构造流对象的辅助方法。", "query": "create StreamInterface", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 35: array $routeArguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 92: * @return array", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 2028: $this->assertSame('1', (string) $response->getBody());", "file": "tests/AppTest.php", "symbol": "", "line": 2028, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 61: $request = $request->withBody($this->createStream($body));", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 98: public function createStream(string $contents = ''): StreamInterface", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 98, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 61: public function createStream(string $contents = ''): StreamInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 213: * If the incoming request method is HEAD, we need to ensure that the response body", "file": "Slim/App.php", "symbol": "", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 64: $routeResolver = new RouteResolver(", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 15: {", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 3: /**", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 35: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 18: public function testHttpUnauthorizedException()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 19: public function testAddsContentLength()", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 32: array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 55: }", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 49: *", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 39: /**", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 164: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 65: $body = $this->streamFactory->createStream();", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 120: protected function createStream(string $contents = ''): StreamInterface", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/ResponseEmitterTest.php\nLine 175: $body = $this->createStream('Hello');", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 175, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 25: ResponseFactoryInterface $responseFactory,", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "帮我找一下测试基类里那个用来通过字符串构造流对象的辅助方法。", "query": "create StreamInterface", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lang": "zh", "candidates": [{"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "帮我找一下测试基类里那个用来通过字符串构造流对象的辅助方法。", "query": "create StreamInterface", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionMethod", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionProperty", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Slim", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Psr", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ProphecyTrait", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "帮我找一下测试基类里那个用来通过字符串构造流对象的辅助方法。", "query": "create StreamInterface", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lang": "zh", "candidates": [{"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1357-1380\nread testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument", "line": 1357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=265-288\nread testMiddlewareResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareResolutionToAPsrRequestHandlerClass", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=284-307\nread testRouteObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClass", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "inicializar la fábrica de streams y validar que el estilo sea append o prepend", "query": "output buffering style", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RoutingResults.php\nLine 16: class RoutingResults", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 31: public function __construct()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\nLine 5: *", "file": "Slim/Logger.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 98: public function seek($offset, $whence = SEEK_SET): void", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 28: $handler = (function (ServerRequestInterface $request, ResponseInterface $response) {", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 17: interface RouteGroupInterface", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 67: RouteContext::BASE_PATH,", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 13: interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 3: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 37: public function __construct(", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 55: $text .= sprintf('Trace: %s', $exception->getTraceAsString());", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 21: /**", "file": "Slim/Logger.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 39: public function __construct(StreamFactoryInterface $streamFactory, string $style = 'append')", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\nLine 59: ?MiddlewareDispatcherInterface $middlewareDispatcher = null", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 91: $html", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 1: ", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 31: string $message = '',", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 57: * @param callable|array{class-string, string}|string $callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 58: public function __construct(", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 339: public function testExecutesKernelWithEmptyMiddlewareStack(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 120: public function __construct(", "file": "Slim/Routing/Route.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "inicializar la fábrica de streams y validar que el estilo sea append o prepend", "query": "output buffering style", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lang": "es", "candidates": [{"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "inicializar la fábrica de streams y validar que el estilo sea append o prepend", "query": "output buffering style", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Throwable", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> function", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "inicializar la fábrica de streams y validar que el estilo sea append o prepend", "query": "output buffering style", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lang": "es", "candidates": [{"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=207-230\nread testResolutionToAnInvokableClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClassInContainer", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=29-52\nread tearDown for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "tearDown", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpUnauthorizedException.php lines=14-37\nread HttpUnauthorizedException for detail", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "HttpUnauthorizedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=104-127\nread getAllowedMethods for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=52-75\nread process for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "process", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=99-122\nread testCallingWithUnknownAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=289-312\nread getDefaultLogger for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "getDefaultLogger", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=48-71\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "verificar que el estilo por defecto sea append y que se pueda personalizar o lance excepción", "query": "output buffering style", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lang": "es", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 1: getTitle();", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 46: $this->assertSame(['GET'], $exception->getAllowedMethods());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 195: 'Unable to seek to stream position '", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 226: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 226, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 25: * @param ServerRequestInterface $request The request object.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 36: */", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 28: */", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 5: *", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 22: class OutputBufferingMiddlewareTest extends TestCase", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 1: $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "verificar que el estilo por defecto sea append y que se pueda personalizar o lance excepción", "query": "output buffering style", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Slim", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> function", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> ReflectionProperty", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Psr", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "verificar que el estilo por defecto sea append y que se pueda personalizar o lance excepción", "query": "output buffering style", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lang": "es", "candidates": [{"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=161-184\nread testShadowedStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testShadowedStaticRoute", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=211-234\nread testAvoidReadFromSlowStreamAccordingToStatus for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testAvoidReadFromSlowStreamAccordingToStatus", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=289-312\nread getDefaultLogger for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "getDefaultLogger", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=302-325\nread setArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=253-276\nread createProxy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createProxy", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=294-317\nread testMiddlewareObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "RouteCollectorProxy에서 getRouteCollector 메서드가 생성자 주입받은 인스턴스를 정확하게 반환하는지 확인하는 테스트를 작성해 주세요.", "query": "getRouteCollector instance", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lang": "ko", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 59: }", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 3: /**", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 42: public function urlFor(string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 23: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 78: public function testGetRouteCollectorReturnsInjectedInstance()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 48: $this->responseFactory = $responseFactory;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 128: ->willReturn(true)", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 20: use const SEEK_SET;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 7: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 39: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/TestCase.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 1: willReturn(-1)", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 44: return new self($route, $routeParser, $routingResults, $basePath);", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 42: $this->assertSame($this->response, $response);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 105: public function testGetRouteCollectorReturnsInjectedInstance(): void", "file": "tests/AppTest.php", "symbol": "", "line": 105, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 70: }", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 14: use Slim\\Routing\\RouteCollector;", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 14: class HttpBadRequestException extends HttpSpecializedException", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "RouteCollectorProxy에서 getRouteCollector 메서드가 생성자 주입받은 인스턴스를 정확하게 반환하는지 확인하는 테스트를 작성해 주세요.", "query": "getRouteCollector instance", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lang": "ko", "candidates": [{"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\ndefines testGetRouteCollectorReturnsInjectedInstance", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "RouteCollectorProxy에서 getRouteCollector 메서드가 생성자 주입받은 인스턴스를 정확하게 반환하는지 확인하는 테스트를 작성해 주세요.", "query": "getRouteCollector instance", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Slim", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "RouteCollectorProxy에서 getRouteCollector 메서드가 생성자 주입받은 인스턴스를 정확하게 반환하는지 확인하는 테스트를 작성해 주세요.", "query": "getRouteCollector instance", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=13-36\nread AdvancedCallableResolverInterface for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=71-94\nread getNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getNamedRoute", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/HttpSoftPsr17Factory.php lines=13-36\nread HttpSoftPsr17Factory for detail", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "HttpSoftPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je suis en train de rédiger les tests pour la gestion des exceptions. Tu peux me montrer la méthode qui permet d'instancier un faux objet pour l'interface de journalisation ?", "query": "mock logger interface", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 291: * {@inheritdoc}", "file": "Slim/Routing/Route.php", "symbol": "", "line": 291, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 16: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'Slim\\Psr7\\Factory\\ResponseFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 40: if ($exception instanceof HttpException) {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 431: });", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 431, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 88: $outputBufferingMiddleware = new OutputBufferingMiddleware($this->getStreamFactory(), 'prepend');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 31: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 117: private MiddlewareInterface $middleware;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 30: private function getMockLogger(): LoggerInterface", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 436: $cases[] = ['GET', '/user', $callback, 'handler2', []];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 436, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 19: interface InvocationStrategyInterface", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Je suis en train de rédiger les tests pour la gestion des exceptions. Tu peux me montrer la méthode qui permet d'instancier un faux objet pour l'interface de journalisation ?", "query": "mock logger interface", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je suis en train de rédiger les tests pour la gestion des exceptions. Tu peux me montrer la méthode qui permet d'instancier un faux objet pour l'interface de journalisation ?", "query": "mock logger interface", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lang": "fr", "candidates": [{"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=24-47\nread setFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "setFactories", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=241-264\nread getContents for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "PSR-17 実装の組み合わせをデータプロバイダーとして返している箇所はどこ?", "query": "provideImplementations PSR-17", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 32: *", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 3: /**", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 34: public static function provideImplementations()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 575: // 1 -------------------------------------------------------------------------------------->", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 575, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 114: * Prepare the route for use", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 20: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 16: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 17: use function json_encode;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 25: protected string $defaultErrorTitle = 'Slim Application Error';", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 159: {", "file": "tests/AppTest.php", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 17: /**", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 61: return $this", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 20: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1861: $responseProphecy->getStatusCode()->willReturn($args[0]);", "file": "tests/AppTest.php", "symbol": "", "line": 1861, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 53: public static function provideImplementations()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 23: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 26: public static function computeRoutingResultsDataProvider(): array", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 101: $length = min($this->responseChunkSize, $amountToRead);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "PSR-17 実装の組み合わせをデータプロバイダーとして返している箇所はどこ?", "query": "provideImplementations PSR-17", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "PSR-17 実装の組み合わせをデータプロバイダーとして返している箇所はどこ?", "query": "provideImplementations PSR-17", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "PSR-17 実装の組み合わせをデータプロバイダーとして返している箇所はどこ?", "query": "provideImplementations PSR-17", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lang": "ja", "candidates": [{"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=208-231\nread setMiddlewareDispatcher for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=786-809\nread testAddMiddlewareOnRoute for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=42-65\nread seedMiddlewareStack for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=157-180\nread assertCallable for detail", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "リクエストメソッドとパスからルーティング結果を取得する処理を探して", "query": "dispatch routing result", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lang": "ja", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 85: '
%s
' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 40: ->withHeader('Content-Type', 'text/plain');", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 21: use Slim\\Interfaces\\RouteResolverInterface;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 472: $this->expectException(RuntimeException::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 472, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 226: }", "file": "Slim/App.php", "symbol": "", "line": 226, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 33: public function dispatch($httpMethod, $uri): array", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 20: public function dispatch(string $method, string $uri): RoutingResults;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 32: $results = $dispatcher->dispatch($method, $uri);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 20: {", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 21: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 24: ResponseInterface $response,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 74: $result = $dispatcher2->dispatch('GET', '/');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 199: $middlewareDispatcher->handle($request);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 59: // If routing hasn't been done, then do it now so we can dispatch", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 59, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 110: ->willReturn($exceptionTitle)", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 24: {", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 28: }", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 5: *", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 81: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 51: ->dispatch(Argument::type('string'), Argument::type('string'))", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 63: public function dispatch(string $method, string $uri): RoutingResults", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/CallableTest.php\nLine 31: return $psr7ObjectProvider->createResponse();", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "リクエストメソッドとパスからルーティング結果を取得する処理を探して", "query": "dispatch routing result", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "リクエストメソッドとパスからルーティング結果を取得する処理を探して", "query": "dispatch routing result", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "リクエストメソッドとパスからルーティング結果を取得する処理を探して", "query": "dispatch routing result", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lang": "ja", "candidates": [{"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=40-63\nread testHttpNotAllowedExceptionGetAllowedMethods for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpNotAllowedExceptionGetAllowedMethods", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=111-134\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "addMiddleware", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=21-44\nread RouteContextTest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "RouteContextTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我想看看在没有容器的情况下,如果解析器返回的是一个非高级调用对象,中间件调度器是如何处理延迟加载任务的。能帮我找一下相关的测试用例吗?", "query": "deferred callable resolver", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lang": "zh", "candidates": [{"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 35: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 19: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 53: Psr17FactoryProvider::setFactories([$psr17factory]);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 20: {", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 69: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 21: }", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 17: interface Psr17FactoryInterface", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 26: public function testHttpUnauthorizedExceptionWithMessage()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 163: public function testUrlForRouteThatDoesNotExist()", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 76: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 68: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 38: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 227: $callable = function () {", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 32: array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 46: * @return array", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 43: 'dispatcher' => FastRouteDispatcher::class,", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 97: public function testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 16: {", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我想看看在没有容器的情况下,如果解析器返回的是一个非高级调用对象,中间件调度器是如何处理延迟加载任务的。能帮我找一下相关的测试用例吗?", "query": "deferred callable resolver", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我想看看在没有容器的情况下,如果解析器返回的是一个非高级调用对象,中间件调度器是如何处理延迟加载任务的。能帮我找一下相关的测试用例吗?", "query": "deferred callable resolver", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我想看看在没有容器的情况下,如果解析器返回的是一个非高级调用对象,中间件调度器是如何处理延迟加载任务的。能帮我找一下相关的测试用例吗?", "query": "deferred callable resolver", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=82-105\nread getRouteIdentifier for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=265-288\nread testMiddlewareResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareResolutionToAPsrRequestHandlerClass", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=268-291\nread map for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "map", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "当尝试通过工厂方法获取用于创建服务器请求的实例时,如果底层依赖的环境无法满足实例化条件,程序应该抛出一个运行时异常,而不是返回 null 或静默失败。请检查目前的实现是否正确处理了这种由于环境缺失导致的实例化失败场景。", "query": "server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lang": "zh", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 41: MockPsr17Factory::getServerRequestCreator();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 39: /**", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 83: ->createResponse($statusCode, $reasonPhrase);", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 24: protected $message = 'Too many requests.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 32: public static function getServerRequestCreator(): ServerRequestCreatorInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 452: $responseProphecy = $this->prophesize(ResponseInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 452, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 27: }", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 258: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 160: ResponseFactoryInterface $responseFactory,", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 134: );", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 5: *", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 17: class ServerRequestCreator implements ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 19: public static function getServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 16: public function resolveRoute(string $identifier): RouteInterface;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1198: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 1198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 65: public static function getServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 48: $serverRequestCreator = $psr17Factory::getServerRequestCreator();", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 20: {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 31: $body = $request->getParsedBody();", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1380: $uriProphecy = $this->prophesize(UriInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 1380, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 198: $callableResolverProphecy->reveal(),", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "当尝试通过工厂方法获取用于创建服务器请求的实例时,如果底层依赖的环境无法满足实例化条件,程序应该抛出一个运行时异常,而不是返回 null 或静默失败。请检查目前的实现是否正确处理了这种由于环境缺失导致的实例化失败场景。", "query": "server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "当尝试通过工厂方法获取用于创建服务器请求的实例时,如果底层依赖的环境无法满足实例化条件,程序应该抛出一个运行时异常,而不是返回 null 或静默失败。请检查目前的实现是否正确处理了这种由于环境缺失导致的实例化失败场景。", "query": "server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> function", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "当尝试通过工厂方法获取用于创建服务器请求的实例时,如果底层依赖的环境无法满足实例化条件,程序应该抛出一个运行时异常,而不是返回 null 或静默失败。请检查目前的实现是否正确处理了这种由于环境缺失导致的实例化失败场景。", "query": "server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=254-277\nread setArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=347-370\nread testResolutionToAPsrRequestHandlerClassWithCustomMethod for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClassWithCustomMethod", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "retornar o método http usado na requisição", "query": "get method", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteTest.php\nLine 347: $route->add(function (ServerRequestInterface $request, RequestHandlerInterface $handler) use (&$called) {", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 28: }", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 95: $request->getMethod()", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 95, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 25: {", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 73: $response = $middlewareDispatcher->handle($request);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 51: $method = $class->getMethod('determineRenderer');", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 66: $method = $reflectionRenderer->getMethod('renderExceptionFragment');", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 282: $emitBodyMethod = $mirror->getMethod('emitBody');", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 282, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 190: $requestProphecy->getMethod()->willReturn($method);", "file": "tests/AppTest.php", "symbol": "", "line": 190, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 7: */", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 14: class HttpBadRequestException extends HttpSpecializedException", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 38: $response = $responseFactory", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 52: ->will(function ($args) use ($routingResultsProphecy, $expectedUri) {", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 28: public function log($level, $message, array $context = []): void", "file": "Slim/Logger.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 15: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 67: public function getMethod(): string", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\nLine 84: : self::determineResponseFactory();", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 29: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 156: *", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 22: public static $CalledCount = 0;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 39: }", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 128: $this->method = $request->getMethod();", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 128, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "retornar o método http usado na requisição", "query": "get method", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lang": "pt", "candidates": [{"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "retornar o método http usado na requisição", "query": "get method", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "retornar o método http usado na requisição", "query": "get method", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lang": "pt", "candidates": [{"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "创建一个包含指定内容的流对象", "query": "create stream contents", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lang": "zh", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 61: public function createStream(string $contents = ''): StreamInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 65: $body = $this->streamFactory->createStream();", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 1: willReturn($responseProphecy->reveal())", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 27: }", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 69: public function testMapPrependsGroupPattern()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 14: [*.{yml,yaml}]", "file": ".editorconfig", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 81: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 19: public function testGetResponseFactoryThrowsRuntimeException()", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 120: protected function createStream(string $contents = ''): StreamInterface", "file": "tests/TestCase.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 3: /**", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 69: $response->getBody()->write($output);", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 84: if ($this->basePath === null) {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 57: * Push a header on the stack", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 157: * {@inheritdoc}", "file": "Slim/Routing/Route.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 33: ->withAttribute(RouteContext::ROUTING_RESULTS, $routingResults);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 23: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 175: $body = $this->createStream('Hello');", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 175, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 61: $request = $request->withBody($this->createStream($body));", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 61, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "创建一个包含指定内容的流对象", "query": "create stream contents", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "创建一个包含指定内容的流对象", "query": "create stream contents", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "创建一个包含指定内容的流对象", "query": "create stream contents", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=110-133\nread testGetAllowedMethodsReusesLastUriOnly for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethodsReusesLastUriOnly", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=140-163\nread testJSONErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysErrorDetails", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "HTTP 요청 메서드가 대문자인 경우에 대해 옵션을 가져오는 로직이 잘 작동하는지 확인하는 테스트 코드를 찾고 있어요. 다양한 HTTP 메서드들을 데이터 프로바이더로 넘겨서 검증하는 부분이 어디에 있나요?", "query": "test HTTP methods", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lang": "ko", "candidates": [{"text": "File: tests/AppTest.php\nLine 174: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('upperCaseRequestMethodsProvider')]", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 33: * Middleware are organized as a stack. That means middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 74: $identifier = 'test';", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 23: */", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 17: use Slim\\Error\\Renderers\\JsonErrorRenderer;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 29: !((", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 13: use InvalidArgumentException;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 59: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 526: $resolver = new CallableResolver($container);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 526, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 14: use Slim\\Tests\\Mocks\\MockPsr17Factory;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 19: {", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 32: callable $callable,", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 53: Psr17FactoryProvider::setFactories([$psr17factory]);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 60: public function setDescription(string $description): self", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 36: */", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 93: if ($predicate($toResolve)) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 32: private ?RouteCollectorProxyInterface $routeCollectorProxy;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 100: {", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 133: return $this;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 5: *", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 155: public function testResponseDoesNotReplacePreviouslySetSetCookieHeaders(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "HTTP 요청 메서드가 대문자인 경우에 대해 옵션을 가져오는 로직이 잘 작동하는지 확인하는 테스트 코드를 찾고 있어요. 다양한 HTTP 메서드들을 데이터 프로바이더로 넘겨서 검증하는 부분이 어디에 있나요?", "query": "test HTTP methods", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lang": "ko", "candidates": [{"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "HTTP 요청 메서드가 대문자인 경우에 대해 옵션을 가져오는 로직이 잘 작동하는지 확인하는 테스트 코드를 찾고 있어요. 다양한 HTTP 메서드들을 데이터 프로바이더로 넘겨서 검증하는 부분이 어디에 있나요?", "query": "test HTTP methods", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "HTTP 요청 메서드가 대문자인 경우에 대해 옵션을 가져오는 로직이 잘 작동하는지 확인하는 테스트 코드를 찾고 있어요. 다양한 HTTP 메서드들을 데이터 프로바이더로 넘겨서 검증하는 부분이 어디에 있나요?", "query": "test HTTP methods", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=150-173\nread testSlimCallableContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "例外の種類に基づいて、エラーを処理するための呼び出し可能オブジェクトを取得するロジックを探しています。特定の例外クラスやそのサブクラスに紐付けられたハンドラを解決する方法を知りたいです。", "query": "exception handler resolver", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lang": "ja", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 41: }", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 115: 'unknown-contenttype' => [", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 39: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 247: if (false === $contents = stream_get_contents($this->stream)) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 20: public function resolveRoute($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 24: ResponseInterface $response,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 103: public function getErrorHandler(string $type)", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 25: array $routeArguments", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 18: /**", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 60: [LaminasDiactorosPsr17Factory::class, LaminasDiactorosResponseFactory::class],", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 63: '/archive/2015',", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 42: $request = $this->createServerRequest('/');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 44: }", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 21: }", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 138: $handler = $middleware->getErrorHandler($exception);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 138, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 18: use Psr\\Http\\Message\\StreamInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 24: * {@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 105: );", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "例外の種類に基づいて、エラーを処理するための呼び出し可能オブジェクトを取得するロジックを探しています。特定の例外クラスやそのサブクラスに紐付けられたハンドラを解決する方法を知りたいです。", "query": "exception handler resolver", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lang": "ja", "candidates": [{"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "例外の種類に基づいて、エラーを処理するための呼び出し可能オブジェクトを取得するロジックを探しています。特定の例外クラスやそのサブクラスに紐付けられたハンドラを解決する方法を知りたいです。", "query": "exception handler resolver", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> function", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "例外の種類に基づいて、エラーを処理するための呼び出し可能オブジェクトを取得するロジックを探しています。特定の例外クラスやそのサブクラスに紐付けられたハンドラを解決する方法を知りたいです。", "query": "exception handler resolver", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lang": "ja", "candidates": [{"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=126-149\nread testResponseWithStreamReadYieldingLessBytesThanAsked for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseWithStreamReadYieldingLessBytesThanAsked", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=145-168\nread addErrorMiddleware for detail", "file": "Slim/App.php", "symbol": "addErrorMiddleware", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=166-189\nread testJSONErrorRendererSubstitutesInvalidUtf8 for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererSubstitutesInvalidUtf8", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=274-297\nread testObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=188-211\nread testPut for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPut", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "認証エラーが発生した際の例外クラスが正しくインスタンス化され、メッセージも保持できるか検証するテストコードを探しています。リクエストオブジェクトを渡して例外を生成するロジックを確認したいです。", "query": "unauthorized exception test", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lang": "ja", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 73: /**", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 33: null", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 16: {", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 16: class HttpUnauthorizedExceptionTest extends TestCase", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 7: */", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 7: */", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 24: protected $message = 'Too many requests.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 105: foreach ($this->variableRouteData as $method => $routeData) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 225: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 34: return new ServerRequestCreator($serverRequestCreator, static::$serverRequestCreatorMethod);", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 22: protected static array $factories = [", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 1: uri) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 7: */", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 15: use Slim\\Interfaces\\RouteInterface;", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 31: {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "認証エラーが発生した際の例外クラスが正しくインスタンス化され、メッセージも保持できるか検証するテストコードを探しています。リクエストオブジェクトを渡して例外を生成するロジックを確認したいです。", "query": "unauthorized exception test", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lang": "ja", "candidates": [{"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nsibling in tests/Exception", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\ndefines HttpUnauthorizedExceptionTest", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "認証エラーが発生した際の例外クラスが正しくインスタンス化され、メッセージも保持できるか検証するテストコードを探しています。リクエストオブジェクトを渡して例外を生成するロジックを確認したいです。", "query": "unauthorized exception test", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "認証エラーが発生した際の例外クラスが正しくインスタンス化され、メッセージも保持できるか検証するテストコードを探しています。リクエストオブジェクトを渡して例外を生成するロジックを確認したいです。", "query": "unauthorized exception test", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lang": "ja", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=82-105\nread getRouteIdentifier for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php lines=15-38\nread MockPsr17FactoryWithoutStreamFactory for detail", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "MockPsr17FactoryWithoutStreamFactory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=279-302\nread testDetermineContentTypeApplicationJsonOrXml for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeApplicationJsonOrXml", "line": 279, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "comment initialiser le routeCollector dans le constructeur ?", "query": "RouteCollector constructor", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lang": "fr", "candidates": [{"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 61: $routingResults = $this->resolveRoutingResultsFromRequest($request);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 28: }", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 42: public function __construct(?ContainerInterface $container = null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 46: public function __construct(", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 55: public function __construct(", "file": "Slim/App.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 15: class HttpMethodNotAllowedException extends HttpSpecializedException", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 177: public function eof(): bool", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 11: namespace Slim;", "file": "Slim/Logger.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 71: $middlewareDispatcher->addCallable($middleware);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 22: * @param mixed $level", "file": "Slim/Logger.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 58: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 17: {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 18: protected $code = 404;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 30: public function __construct(int $responseChunkSize = 4096)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 19: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 28: public static $hasBeenInstantiated = false;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 36: public function __construct(ResponseInterface $response)", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 46: $app->add($routingMiddleware);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 93: $middleware = (function (Request $request, RequestHandler $handler) use ($responseFactory) {", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 35: use const STREAM_FILTER_READ;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 24: public function __construct(bool $appendRouteArgumentsToRequestAttributes = false)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 57: * Push a header on the stack", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "comment initialiser le routeCollector dans le constructeur ?", "query": "RouteCollector constructor", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lang": "fr", "candidates": [{"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "comment initialiser le routeCollector dans le constructeur ?", "query": "RouteCollector constructor", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "comment initialiser le routeCollector dans le constructeur ?", "query": "RouteCollector constructor", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lang": "fr", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=95-118\nread setArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArgument", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Verifique se a chamada ao método `getPattern()` em um grupo de rotas retorna exatamente o prefixo definido na criação do grupo.", "query": "route group pattern", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 16: {", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 51: $this->title = $title;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 80: */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 41: foreach ($routeArguments as $k => $v) {", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 129: {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 7: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 19: * @param ServerRequestInterface $request", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 117: $this->assertSame($serverRequestProphecy->reveal(), $serverRequestCreator->createServerRequestFromGlobals());", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 26: public static function computeRoutingResultsDataProvider(): array", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 64: $responseFactory,", "file": "Slim/App.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 125: public function put(string $pattern, $callable): RouteInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 7: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 26: public function testRoutingIsPerformedIfRoutingResultsAreUnavailable()", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 17: class MockMiddlewareSlimCallable", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 31: * FOUND = 1", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 11: namespace Slim\\Handlers\\Strategies;", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 577: public function testRouteGroupPattern(): void", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 49: public function setTitle(string $title): self", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 20: * @param ServerRequestInterface $request", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Verifique se a chamada ao método `getPattern()` em um grupo de rotas retorna exatamente o prefixo definido na criação do grupo.", "query": "route group pattern", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Verifique se a chamada ao método `getPattern()` em um grupo de rotas retorna exatamente o prefixo definido na criação do grupo.", "query": "route group pattern", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Verifique se a chamada ao método `getPattern()` em um grupo de rotas retorna exatamente o prefixo definido na criação do grupo.", "query": "route group pattern", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lang": "pt", "candidates": [{"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=577-600\nread testRouteGroupPattern for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=31-54\nread __construct for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=45-68\nread __construct for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "__construct", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=177-200\nread eof for detail", "file": "tests/Mocks/MockStream.php", "symbol": "eof", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=268-291\nread map for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "map", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=342-365\nread testAddClosureMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddClosureMiddleware", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Como eu passo a requisição, a exceção capturada e as flags para exibir e registrar detalhes do erro para gerar a resposta final?", "query": "invoke error handler", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lang": "pt", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 28: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 58: 'with argument without optional parameter' => [", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 174: {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 156: );", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 91: }", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 49: $this->assertSame('foo', $route->getArgument('name'));", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 29: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 52: 'routeParser' => new Std(),", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 31: public function __invoke(", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 30: public function getContainer(): ?ContainerInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 26: * @param ResponseInterface $response The response object.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 56: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 5: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 283: */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 283, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 95: return (", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 38: $output = $renderer->__invoke($exception, true);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 28: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 234: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 116: public function __invoke(", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 16: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 285: };", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 150: $this->assertSame($this->response, $invocationStrategy($callback, $this->request, $this->response, $args));", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 150, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como eu passo a requisição, a exceção capturada e as flags para exibir e registrar detalhes do erro para gerar a resposta final?", "query": "invoke error handler", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como eu passo a requisição, a exceção capturada e as flags para exibir e registrar detalhes do erro para gerar a resposta final?", "query": "invoke error handler", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> function", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Throwable", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Slim", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como eu passo a requisição, a exceção capturada e as flags para exibir e registrar detalhes do erro para gerar a resposta final?", "query": "invoke error handler", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lang": "pt", "candidates": [{"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=397-420\nread testRoutePatterns for detail", "file": "tests/AppTest.php", "symbol": "testRoutePatterns", "line": 397, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=98-121\nread seek for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "seek", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=145-168\nread addErrorMiddleware for detail", "file": "Slim/App.php", "symbol": "addErrorMiddleware", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Quand l'option pour ajouter les arguments de route aux attributs de la requête est activée, cette méthode doit incrémenter la requête avec chaque paire clé/valeur des arguments de route, puis appeler et retourner la réponse du callable de la route.", "query": "invoke route callable append attributes", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lang": "fr", "candidates": [{"text": "File: Slim/Handlers/ErrorHandler.php\nLine 116: public function __invoke(", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 3: /**", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 52: * @param string $reasonPhrase", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 28: $response = $response->withHeader('Content-Length', (string) $size);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 19: protected static string $responseFactoryClass = 'Slim\\Http\\Factory\\DecoratedResponseFactory';", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 160: {", "file": "Slim/Routing/Route.php", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 22: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 14: {", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 28: public function add($middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 7: */", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 28: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 25: protected string $title = '';", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 28: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 1: assertSame(RoutingResults::FOUND, $results->getRouteStatus());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 34: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 39: $responseFactory = $this->getResponseFactory();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Quand l'option pour ajouter les arguments de route aux attributs de la requête est activée, cette méthode doit incrémenter la requête avec chaque paire clé/valeur des arguments de route, puis appeler et retourner la réponse du callable de la route.", "query": "invoke route callable append attributes", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lang": "fr", "candidates": [{"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Quand l'option pour ajouter les arguments de route aux attributs de la requête est activée, cette méthode doit incrémenter la requête avec chaque paire clé/valeur des arguments de route, puis appeler et retourner la réponse du callable de la route.", "query": "invoke route callable append attributes", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Quand l'option pour ajouter les arguments de route aux attributs de la requête est activée, cette méthode doit incrémenter la requête avec chaque paire clé/valeur des arguments de route, puis appeler et retourner la réponse du callable de la route.", "query": "invoke route callable append attributes", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lang": "fr", "candidates": [{"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=27-50\nread resolveMiddleware for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=416-439\nread routeGroupsDataProvider for detail", "file": "tests/AppTest.php", "symbol": "routeGroupsDataProvider", "line": 416, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2102-2125\nread testInvokeSequentialProcessAfterAddingAnotherRouteArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessAfterAddingAnotherRouteArgument", "line": 2102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "prüfe den testfall für die instanziierung ohne basispfad und den fehler bei dessen abruf", "query": "route context exception", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lang": "de", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 19: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 88: /**", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 24: * @param array $context", "file": "Slim/Logger.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 22: use function implode;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 156: $this->cacheFile = __DIR__ . '/non-readable.cache';", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 282: $r->addRoute('GET', '/user/{name}/{id:[0-9]+}', 'handler1');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 282, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 15: {", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 68: ['year' => '2015', 'month' => '07'],", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 32: */", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 87: return $this->basePath;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 17: class MockCustomRequestHandlerInvocationStrategy implements RequestHandlerInvocationStrategyInterface", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 80: /**", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 52: $html .= sprintf('
Code: %s
', $code);", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 88: '',", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 64: {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 57: public function testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled(): void", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 16: * @var int", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 32: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 63: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "prüfe den testfall für die instanziierung ohne basispfad und den fehler bei dessen abruf", "query": "route context exception", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lang": "de", "candidates": [{"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "prüfe den testfall für die instanziierung ohne basispfad und den fehler bei dessen abruf", "query": "route context exception", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Slim", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "prüfe den testfall für die instanziierung ohne basispfad und den fehler bei dessen abruf", "query": "route context exception", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lang": "de", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=21-44\nread RouteContextTest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "RouteContextTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=13-36\nread AdvancedCallableResolverInterface for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "psr17ファクトリとリクエストの実装一覧を返すデータプロバイダを探して", "query": "psr17 factory implementation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lang": "ja", "candidates": [{"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 112: $callback = function ($request, $response, ...$arguments) use ($args) {", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 17: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 26: * as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 46: $segmentName = '';", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 7: */", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 13: use Exception;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 31: {", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 89: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 24: use function json_decode;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 49: return $decoratedServerRequest;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 53: public static function provideImplementations()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 80: /**", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 335: $method = 'POST';", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 335, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 69: );", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 33: */", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 95: $output = $renderer->__invoke($httpExceptionProphecy->reveal(), false);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 43: return $content;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 34: public static function provideImplementations()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 39: $reflectionProperty = new ReflectionProperty($middleware, 'style');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 242: $request = $this->createServerRequest('/foo');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 31: * @runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "psr17ファクトリとリクエストの実装一覧を返すデータプロバイダを探して", "query": "psr17 factory implementation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "psr17ファクトリとリクエストの実装一覧を返すデータプロバイダを探して", "query": "psr17 factory implementation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> HttpSoft", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Slim", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Psr", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Nyholm", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> RuntimeException", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "psr17ファクトリとリクエストの実装一覧を返すデータプロバイダを探して", "query": "psr17 factory implementation", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lang": "ja", "candidates": [{"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=43-66\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "setBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=28-51\nread testHttpExceptionAttributeGettersSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionAttributeGettersSetters", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=497-520\nread testRouteClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "호출 전략 설정 기능 테스트 코드 찾아줘", "query": "test set invocation strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lang": "ko", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 20: class RequestHandler implements RequestHandlerInvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 7: */", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Logger.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 29: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 27: protected string $description = 'The request requires valid user authentication.';", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Logger.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 101: */", "file": "Slim/App.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 24: * Default Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 197: public function testSetInvocationStrategy()", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 38: [HttpSoftPsr17Factory::class, HttpSoftServerRequest::class],", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 189: );", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 45: $serverRequestProphecy = $this->prophesize(ServerRequestInterface::class);", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 91: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 3: /**", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 24: protected $message = 'Forbidden.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 57: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 42: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 24: Psr17FactoryProvider::setFactories([]);", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 28: return $callable($request);", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 36: protected ?string $routeIdentifier = null;", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 54: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "호출 전략 설정 기능 테스트 코드 찾아줘", "query": "test set invocation strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lang": "ko", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "호출 전략 설정 기능 테스트 코드 찾아줘", "query": "test set invocation strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "호출 전략 설정 기능 테스트 코드 찾아줘", "query": "test set invocation strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lang": "ko", "candidates": [{"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1143-1166\nread testInvokeWithMatchingRouteWithSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArgument", "line": 1143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=279-302\nread testDetermineContentTypeApplicationJsonOrXml for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeApplicationJsonOrXml", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=948-971\nread testAddMiddlewareOnTwoRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnTwoRouteGroup", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Como é instanciada a classe que define o mapeamento entre um padrão de URL, os métodos HTTP e a ação a ser executada?", "query": "pattern callable pattern", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lang": "pt", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\nLine 45: public function __construct(", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 76: public function __construct($body = '')", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 22: */", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 1: getStatusCode());", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 24: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 27: * @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 193: $method = 'GET';", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 14: use Slim\\Tests\\TestCase;", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 14: {", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 33: private $response;", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 21: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 120: public function __construct(", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 37: public function __construct(", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como é instanciada a classe que define o mapeamento entre um padrão de URL, os métodos HTTP e a ação a ser executada?", "query": "pattern callable pattern", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lang": "pt", "candidates": [{"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como é instanciada a classe que define o mapeamento entre um padrão de URL, os métodos HTTP e a ação a ser executada?", "query": "pattern callable pattern", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como é instanciada a classe que define o mapeamento entre um padrão de URL, os métodos HTTP e a ação a ser executada?", "query": "pattern callable pattern", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lang": "pt", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=168-191\nread getMethods for detail", "file": "Slim/Routing/Route.php", "symbol": "getMethods", "line": 168, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=216-239\nread determineRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineRenderer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=17-40\nread __invoke for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=84-107\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=123-146\nread testCallingWithMixedKnownAndUnknownParametersAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我需要配置路由基础路径,以便在生成 URL 时能自动加上这个前缀。请帮我找到设置这个基础路径的方法。", "query": "set base path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MiddlewareTest.php\nLine 5: *", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 19: /**", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 16: use function min;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 7: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 105: $routeCollector->setBasePath('/app');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 105, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 34: foreach ($routeArguments as $k => $v) {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 45: $routeResolver = new RouteResolver($routeCollector);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 99: public function setBasePath(string $basePath): RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 99, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 22: protected $serverRequestCreator;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 33: $this->routeCollector = $routeCollector;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 21: use Slim\\Interfaces\\CallableResolverInterface;", "file": "Slim/App.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 37: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 55: public function setBasePath(string $basePath): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 156: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 46: /**", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 1: setBasePath($basePath);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 166: public function setBasePath(string $basePath): RouteCollectorInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 166, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 28: * @var string", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 20: public static $CalledCount = 0;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 17: public function __invoke(Throwable $exception, bool $displayErrorDetails): string;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 43: public function setBasePath(string $basePath): RouteCollectorProxyInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 112: $routeCollectorProxy->setBasePath($basePath);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 112, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我需要配置路由基础路径,以便在生成 URL 时能自动加上这个前缀。请帮我找到设置这个基础路径的方法。", "query": "set base path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我需要配置路由基础路径,以便在生成 URL 时能自动加上这个前缀。请帮我找到设置这个基础路径的方法。", "query": "set base path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我需要配置路由基础路径,以便在生成 URL 时能自动加上这个前缀。请帮我找到设置这个基础路径的方法。", "query": "set base path", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lang": "zh", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=254-277\nread addCallable for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addCallable", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=509-532\nread testRouteCallableAppendsCorrectOutputToResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableAppendsCorrectOutputToResponse", "line": 509, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1826-1849\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ミドルウェアでリクエストとハンドラを受け取ってモックレスポンスを返すメソッドを探す", "query": "mock middleware response", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lang": "ja", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 400: ->process(", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 400, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 17: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 28: use Slim\\Routing\\RoutingResults;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 7: */", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 78: return $this->resolveByPredicate($toResolve, [$this, 'isMiddleware'], 'process');", "file": "Slim/CallableResolver.php", "symbol": "", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 5: *", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 45: */", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 21: $this->expectException(RuntimeException::class);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 57: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/TestCase.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 64: return [new MockMiddlewareWithoutConstructor(), 'process'];", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 64, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 608: $middlewareProphecy->process(Argument::cetera())->will(function () use ($responseProphecy) {", "file": "tests/AppTest.php", "symbol": "", "line": 608, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 49: $html = sprintf('
Type: %s
', get_class($exception));", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 66: $routeCollector ?? static::$routeCollector,", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 16: /**", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 23: use Slim\\Tests\\Mocks\\MockMiddlewareWithoutConstructor;", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 19: use function array_key_exists;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 44: return $this->defaultErrorDescription;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 105: 'invalid-json' => [", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 129: return $this->middleware->process($request, $this->next);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 52: 'type' => get_class($exception),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ミドルウェアでリクエストとハンドラを受け取ってモックレスポンスを返すメソッドを探す", "query": "mock middleware response", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lang": "ja", "candidates": [{"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ミドルウェアでリクエストとハンドラを受け取ってモックレスポンスを返すメソッドを探す", "query": "mock middleware response", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ミドルウェアでリクエストとハンドラを受け取ってモックレスポンスを返すメソッドを探す", "query": "mock middleware response", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lang": "ja", "candidates": [{"text": "Next: read Slim/Logger.php lines=28-51\nread log for detail", "file": "Slim/Logger.php", "symbol": "log", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=519-542\nread testCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testCallableClassNotFoundThrowException", "line": 519, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "현재 라우팅 처리 결과를 바탕으로 선택된 라우트의 상태를 확인하고 싶어요. 이 메서드를 호출하면 현재 라우팅 결정의 결과를 정수 형태로 반환받을 수 있습니다.", "query": "get route status", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MockCustomException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 39: return (string) json_encode(", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 79: return static::$responseFactoryClass && class_exists(static::$responseFactoryClass);", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 28: {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 111: $this->assertSame(Dispatcher::METHOD_NOT_ALLOWED, $routingResults->getRouteStatus());", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 111, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 77: public function getRouteStatus(): int", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\nLine 72: /**", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 7: */", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 408: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 408, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 62: $routeStatus = $routingResults->getRouteStatus();", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 18: use Slim\\Tests\\TestCase;", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 222: }", "file": "Slim/App.php", "symbol": "", "line": 222, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 24: {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 41: {", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 280: return $route;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 75: $this->assertSame(FastRouteDispatcher::FOUND, $result->getRouteStatus());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\nLine 51: * @return (TContainerInterface is ContainerInterface ? App : App)", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 20: class MockMiddlewareWithConstructor implements MiddlewareInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 443: };", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 443, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 20: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "현재 라우팅 처리 결과를 바탕으로 선택된 라우트의 상태를 확인하고 싶어요. 이 메서드를 호출하면 현재 라우팅 결정의 결과를 정수 형태로 반환받을 수 있습니다.", "query": "get route status", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "현재 라우팅 처리 결과를 바탕으로 선택된 라우트의 상태를 확인하고 싶어요. 이 메서드를 호출하면 현재 라우팅 결정의 결과를 정수 형태로 반환받을 수 있습니다.", "query": "get route status", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "현재 라우팅 처리 결과를 바탕으로 선택된 라우트의 상태를 확인하고 싶어요. 이 메서드를 호출하면 현재 라우팅 결정의 결과를 정수 형태로 반환받을 수 있습니다.", "query": "get route status", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=339-362\nread testExecutesKernelWithEmptyMiddlewareStack for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=130-153\nread setAccessible for detail", "file": "tests/TestCase.php", "symbol": "setAccessible", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=539-562\nread testInvokeDeferredCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithNoContainer", "line": 539, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找用于给路由添加中间件的方法", "query": "add middleware", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 39: * @param TContainerInterface $container", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 31: string $message = '',", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 38: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 18: use function is_array;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 22: return [", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 32: $html = '

The application could not run because of the following error:

';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 49: $middlewareDispatcher->add($callable);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 29: $mw2 = new ContentLengthMiddleware();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 206: {", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 109: public function add($middleware): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 46: $app->add($routingMiddleware);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 28: public function add($middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 85: public function add($middleware): MiddlewareDispatcherInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 1: $input];", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 147: return $response;", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 3: declare(strict_types=1);", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 74: public function add($middleware): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 1: add($mw);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 279, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "查找用于给路由添加中间件的方法", "query": "add middleware", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "查找用于给路由添加中间件的方法", "query": "add middleware", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找用于给路由添加中间件的方法", "query": "add middleware", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lang": "zh", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=109-132\nread add for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Como resetar a propriedade estática serverRequestDecoratorClass do SlimHttpServerRequestCreator no método tearDown para garantir o isolamento dos testes?", "query": "reset static property tearDown", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lang": "pt", "candidates": [{"text": "File: tests/CallableResolverTest.php\nLine 263: }", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 26: protected string $title = '429 Too Many Requests';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 144: $mediaType = $this->getMediaType($request);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 14: use Throwable;", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 75: */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 13: use Slim\\Error\\AbstractErrorRenderer;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 29: }", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 16: use Slim\\Factory\\Psr17\\SlimHttpServerRequestCreator;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 3: /**", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 1: getMethod()->willReturn('GET');", "file": "tests/AppTest.php", "symbol": "", "line": 1530, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 822: $value .= $args[0];", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 822, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 50: $this->assertSame([], $exception->getAllowedMethods());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 95: return str_repeat('.', $size);", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 42: {", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 242: $contentType = $method->invoke($handler, $request);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 23: class SlimHttpServerRequestCreatorTest extends TestCase", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\nLine 31: $route = $serverRequest->getAttribute(self::ROUTE);", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 115: *", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 166: ) {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como resetar a propriedade estática serverRequestDecoratorClass do SlimHttpServerRequestCreator no método tearDown para garantir o isolamento dos testes?", "query": "reset static property tearDown", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lang": "pt", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nsibling in tests/Factory/Psr17", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como resetar a propriedade estática serverRequestDecoratorClass do SlimHttpServerRequestCreator no método tearDown para garantir o isolamento dos testes?", "query": "reset static property tearDown", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> RuntimeException", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Slim", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> stdClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionProperty", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como resetar a propriedade estática serverRequestDecoratorClass do SlimHttpServerRequestCreator no método tearDown para garantir o isolamento dos testes?", "query": "reset static property tearDown", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lang": "pt", "candidates": [{"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=274-297\nread testObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=29-52\nread tearDown for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "tearDown", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=247-270\nread testResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClass", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=78-101\nread testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=142-165\nread parseBody for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=43-66\nread testCreateServerRequestFromGlobals for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobals", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=59-82\nread testCreateServerRequestFromGlobalsThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeException", "line": 59, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "リダイレクトが正しく動作するか確認するためのテストコードを探しています。ステータスコード301とLocationヘッダーが適切に設定されているかを検証している箇所はどこでしょうか。", "query": "test redirect 301", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 230: $response = $this->createResponse();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 104: );", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 58: return $psr7ObjectProvider->getStreamFactory();", "file": "tests/TestCase.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 52: $this->callable = $callable;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 76: * @param string $name Route name", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 22: use function sprintf;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 40: if ($this->appendRouteArgumentsToRequestAttributes) {", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 35: return $responseFactory->createResponse();", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 99: *", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 110: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 68: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 55: $errorMiddleware = new ErrorMiddleware(", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 299: public function testRedirectRoute(): void", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 5: *", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 25: NyholmPsr17Factory::class,", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 165: public function map(array $methods, string $pattern, $callable): RouteInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 164: 'Request body media type parser return value must be an array, an object, or null'", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 1: function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "リダイレクトが正しく動作するか確認するためのテストコードを探しています。ステータスコード301とLocationヘッダーが適切に設定されているかを検証している箇所はどこでしょうか。", "query": "test redirect 301", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lang": "ja", "candidates": [{"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=210-233\nread testSuperclassExceptionHandlerDoesNotHandleSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerDoesNotHandleSubclassException", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=75-98\nread isSeekable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isSeekable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "에러 핸들러에 여러 개의 예외 클래스를 배열로 전달했을 때 정상적으로 처리되는지 확인하는 테스트 코드를 찾고 있어요. 특정 예외 타입들을 묶어서 처리하는 로직이 어떻게 구현되어 있는지 보고 싶습니다.", "query": "setErrorHandler array exceptions", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 201: public function setCallable($callable): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 15: {", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 24: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 44: }", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 3: /**", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 28: 'or number of requests they can send in a given period of time.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 24: /**", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 248: public function testHandleMultipleExceptionsAddedAsArray()", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 30: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 109: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 54: ['first' => 'hello', 'second' => 'world'],", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 49: * It is at the very tip of the middleware queue meaning it will be executed", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 1: ", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\ndefines testHandleMultipleExceptionsAddedAsArray", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "에러 핸들러에 여러 개의 예외 클래스를 배열로 전달했을 때 정상적으로 처리되는지 확인하는 테스트 코드를 찾고 있어요. 특정 예외 타입들을 묶어서 처리하는 로직이 어떻게 구현되어 있는지 보고 싶습니다.", "query": "setErrorHandler array exceptions", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Psr", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Slim", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> LogicException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "에러 핸들러에 여러 개의 예외 클래스를 배열로 전달했을 때 정상적으로 처리되는지 확인하는 테스트 코드를 찾고 있어요. 특정 예외 타입들을 묶어서 처리하는 로직이 어떻게 구현되어 있는지 보고 싶습니다.", "query": "setErrorHandler array exceptions", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lang": "ko", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=347-370\nread testResolutionToAPsrRequestHandlerClassWithCustomMethod for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClassWithCustomMethod", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=467-490\nread testProcessWhenReturningAResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testProcessWhenReturningAResponse", "line": 467, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我想了解如何向这个应用实例中注册中间件。你能解释一下这个方法支持哪些参数类型吗?", "query": "add middleware", "file": "Slim/App.php", "symbol": "add", "line": 102, "lang": "zh", "candidates": [{"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 18: */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 491: $middlewareProphecy = $this->prophesize(MiddlewareInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 491, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 14: {", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 1: root = true", "file": ".editorconfig", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 65: public static function getServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 49: $middlewareDispatcher->add($callable);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 85: public function add($middleware): MiddlewareDispatcherInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 5: *", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 109: public function add($middleware): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 109, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 275: public function add($middleware): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 275, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 50: public function detach()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 55: 'file' => $exception->getFile(),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 28: }", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 626: $app->add($middlewareProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 626, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 31: {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 147: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 263: protected function writeToErrorLog(): void", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 84: public static function setSlimHttpDecoratorsAutomaticDetection(bool $enabled): void", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 7: */", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 34: $basePath = $serverRequest->getAttribute(self::BASE_PATH);", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 102: public function add($middleware): self", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 74: public function add($middleware): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我想了解如何向这个应用实例中注册中间件。你能解释一下这个方法支持哪些参数类型吗?", "query": "add middleware", "file": "Slim/App.php", "symbol": "add", "line": 102, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我想了解如何向这个应用实例中注册中间件。你能解释一下这个方法支持哪些参数类型吗?", "query": "add middleware", "file": "Slim/App.php", "symbol": "add", "line": 102, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> function", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我想了解如何向这个应用实例中注册中间件。你能解释一下这个方法支持哪些参数类型吗?", "query": "add middleware", "file": "Slim/App.php", "symbol": "add", "line": 102, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=161-184\nread testShadowedStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testShadowedStaticRoute", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=137-160\nread testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Estou tentando entender como as mensagens de erro são formatadas para o usuário final. Pode me mostrar os testes que verificam se o renderizador de HTML exibe os detalhes da exceção ou apenas uma mensagem genérica de erro?", "query": "HTML error renderer", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lang": "pt", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 128: $middlewareDispatcher->addMiddleware($routingMiddleware);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 3: /**", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 177: ->createResponse(204)", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 757: $deferred,", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 757, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 65: static::$slimHttpDecoratorsAutomaticDetectionEnabled", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 21: use function http_build_query;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 19: use const SEEK_SET;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 219: $responseEmitter->emit($response);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 16: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 32: class AbstractErrorRendererTest extends TestCase", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 16: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 14: use Slim\\Exception\\HttpMethodNotAllowedException;", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 1: ", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\ndefines AbstractErrorRendererTest", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estou tentando entender como as mensagens de erro são formatadas para o usuário final. Pode me mostrar os testes que verificam se o renderizador de HTML exibe os detalhes da exceção ou apenas uma mensagem genérica de erro?", "query": "HTML error renderer", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> stdClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> function", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> const", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Slim", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> RuntimeException", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estou tentando entender como as mensagens de erro são formatadas para o usuário final. Pode me mostrar os testes que verificam se o renderizador de HTML exibe os detalhes da exceção ou apenas uma mensagem genérica de erro?", "query": "HTML error renderer", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lang": "pt", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=729-752\nread testPatternCanBeChanged for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testPatternCanBeChanged", "line": 729, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=101-124\nread testHTMLErrorRendererEscapesHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererEscapesHttpException", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=29-52\nread tearDown for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "tearDown", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找测试路由解析逻辑及其数据提供者的代码", "query": "route resolver test", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Slim\\Psr7\\Factory\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 143: if (static::$streamFactory || $psr17factory::isStreamFactoryAvailable()) {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 24: class RouteResolverTest extends TestCase", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 101: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 13: use Throwable;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 29: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 42: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 1: withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 1: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "查找测试路由解析逻辑及其数据提供者的代码", "query": "route resolver test", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Slim", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> function", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找测试路由解析逻辑及其数据提供者的代码", "query": "route resolver test", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lang": "zh", "candidates": [{"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=290-313\nread testCreateAppWithContainerUsesContainerDependenciesWhenPresent for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithContainerUsesContainerDependenciesWhenPresent", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=142-165\nread testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=182-205\nread testForceContentTypeNullRestoresNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentTypeNullRestoresNegotiation", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=31-54\nread testCallingWithEmptyArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithEmptyArguments", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "コンテナからミドルウェアを取得する動作のテストを探して", "query": "middleware container test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 15: interface ServerRequestCreatorInterface", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 22: *", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 15: interface DispatcherInterface", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 116: return $responseFactory->createResponse();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 26: * @param ResponseInterface $response The response object.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 556: public function testFetchesMiddlewareFromContainer(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nLine 87: private function emitBody(ResponseInterface $response): void", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 25: * @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 121: );", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 19: use function sprintf;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 56: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 82: */", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 24: public static function setFactories(array $factories): void;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 15: {", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 35: {", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 25: {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 11: namespace Slim\\Tests\\Middleware;", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 111: } else {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 11: /**", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 19: public function testGetResponseFactoryThrowsRuntimeException()", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 98: return $this->routeArguments;", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "コンテナからミドルウェアを取得する動作のテストを探して", "query": "middleware container test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "コンテナからミドルウェアを取得する動作のテストを探して", "query": "middleware container test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "コンテナからミドルウェアを取得する動作のテストを探して", "query": "middleware container test", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lang": "ja", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=39-62\nread getRequest for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getRequest", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "inicializa la excepción con una solicitud y un mensaje opcional", "query": "http specialized exception constructor", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 52: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 21: public function __construct($container = null)", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 36: $this->request = $request;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 32: class ServerRequestCreatorFactoryTest extends TestCase", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 58: public function __construct(", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 31: public function testCallingWithEmptyArguments()", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 24: public function __construct(bool $appendRouteArgumentsToRequestAttributes = false)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 29: $arguments[1]->getBody()->write($contents);", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 29: public function __construct(", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 89: $httpExceptionProphecy", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface as RequestHandler;", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 120: public function __construct(", "file": "Slim/Routing/Route.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 28: protected static string $serverRequestCreatorClass;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 157: */", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 31: return $response;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 23: public function __construct(ServerRequestInterface $request, ?string $message = null, ?Throwable $previous = null)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 42: }", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 1: function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "inicializa la excepción con una solicitud y un mensaje opcional", "query": "http specialized exception constructor", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lang": "es", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=207-230\nread testResolutionToAnInvokableClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClassInContainer", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=343-366\nread testRouteWithInternationalCharacters for detail", "file": "tests/AppTest.php", "symbol": "testRouteWithInternationalCharacters", "line": 343, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je cherche la logique qui permet de générer l'objet de requête HTTP à partir de l'environnement serveur. Peux-tu m'expliquer comment est choisie l'implémentation utilisée pour construire cette requête ?", "query": "server request factory", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lang": "fr", "candidates": [{"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 224: $response = $this->createResponse();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 224, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 26: use Slim\\Factory\\ServerRequestCreatorFactory;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 3: /**", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 510: $exceptionProperty->setValue($handler, $exception);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 510, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 191: return $response->withHeader('Location', (string) $to);", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 191, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 137: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 14: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 23: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 57: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 50: $this->container = $container;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 20: use Slim\\Factory\\ServerRequestCreatorFactory;", "file": "Slim/App.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 16: use Slim\\Routing\\Dispatcher;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 13: use Throwable;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 103: public function tell(): int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 47: }", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 1: Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche la logique qui permet de générer l'objet de requête HTTP à partir de l'environnement serveur. Peux-tu m'expliquer comment est choisie l'implémentation utilisée pour construire cette requête ?", "query": "server request factory", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lang": "fr", "candidates": [{"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=43-66\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "setBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=240-263\nread testAddCallableBindsClosureToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddCallableBindsClosureToContainer", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=88-111\nread getArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "등록되지 않은 경로를 조회하려고 할 때 RuntimeException이 발생하지 않는 문제가 있습니다. 존재하지 않는 경로를 검색할 경우 적절한 예외를 던지는지 확인이 필요합니다.", "query": "lookup route exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lang": "ko", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 44: return $this->defaultErrorDescription;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 24: throw new InvalidArgumentException(\"Not a Slim call\");", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 42: $route = $this->routeCollector->getNamedRoute($routeName);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 16: use function header;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 702: $deferred,", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 702, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 61: static::$responseFactory = $responseFactory ?? static::$responseFactory;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 5: *", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 91: return new Psr17Factory();", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 51: array_unshift(static::$factories, $factory);", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 140: public function testLookupRouteThrowsExceptionIfRouteNotFound()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 58: $response->getBody()->write('Body');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 133: ->shouldBeCalledOnce();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 22: /**", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 3: /**", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 3: /**", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 70: }", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 30: {", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 153: }", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "등록되지 않은 경로를 조회하려고 할 때 RuntimeException이 발생하지 않는 문제가 있습니다. 존재하지 않는 경로를 검색할 경우 적절한 예외를 던지는지 확인이 필요합니다.", "query": "lookup route exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lang": "ko", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "등록되지 않은 경로를 조회하려고 할 때 RuntimeException이 발생하지 않는 문제가 있습니다. 존재하지 않는 경로를 검색할 경우 적절한 예외를 던지는지 확인이 필요합니다.", "query": "lookup route exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Slim", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> function", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> RuntimeException", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "등록되지 않은 경로를 조회하려고 할 때 RuntimeException이 발생하지 않는 문제가 있습니다. 존재하지 않는 경로를 검색할 경우 적절한 예외를 던지는지 확인이 필요합니다.", "query": "lookup route exception", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lang": "ko", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=43-66\nread testBodyParam for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testBodyParam", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "这个构造函数里怎么初始化读取量的?", "query": "amountToRead SIZE", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lang": "zh", "candidates": [{"text": "File: tests/Routing/DispatcherTest.php\nLine 94: $fastRouteDispatcher = $method->invoke($dispatcher);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 44: * @param array $routeArguments", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 3: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 85: {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 41: public function __construct(", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 144: $this->assertSame($greeting, $known['greeting']);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 42: public function __construct(?ContainerInterface $container = null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 20: use function get_called_class;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 55: private function __construct(", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 156: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 127: $this->assertSame(2, CallableTest::$CalledCount);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 32: public function __construct()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 46: return $this->dispatcher->dispatch($method, $uri);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 25: public function __construct(ServerRequestCreatorInterface $serverRequestCreator)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 41: */", "file": "Slim/CallableResolver.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 88: public function __construct(", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 1: ", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines __construct", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "这个构造函数里怎么初始化读取量的?", "query": "amountToRead SIZE", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "这个构造函数里怎么初始化读取量的?", "query": "amountToRead SIZE", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lang": "zh", "candidates": [{"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=99-122\nread any for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=270-293\nread testAddMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddleware", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=111-134\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "addMiddleware", "line": 111, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ルーティングパターンのテストデータを提供している箇所を探して", "query": "route patterns provider", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 40: /** @var callable $callable */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 23: * @var int", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 17: /**", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 29: /**", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 31: $this->assertSame('Hello World', $exception->getMessage());", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 33: ServerRequestInterface $request,", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 19: class MockAction", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 382: public static function routePatternsProvider(): array", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 39: unlink($this->cacheFile);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 7: use Slim\\Routing\\RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 39: use Slim\\Psr7\\Factory\\ResponseFactory as SlimResponseFactory;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 21: class SmallChunksStream implements StreamInterface", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 27: * @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 117: $routeCollector = $this->getRouteCollector();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 1: assertSame($dispatcher, $results->getDispatcher());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 7: */", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 22: class RequestResponseNamedArgs implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 52: {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 18: /**", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルーティングパターンのテストデータを提供している箇所を探して", "query": "route patterns provider", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ルーティングパターンのテストデータを提供している箇所を探して", "query": "route patterns provider", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルーティングパターンのテストデータを提供している箇所を探して", "query": "route patterns provider", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lang": "ja", "candidates": [{"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=38-61\nread getErrorDescription for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorDescription", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=98-121\nread testObjMethodArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMethodArray", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=470-493\nread testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=75-98\nread patch for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "patch", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "「ルーティングの getCallable メソッドが呼び出し可能なコールバックを返すことを確認するテストケースが見つからない」というバグレポートを作成してほしい。", "query": "route callable test", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lang": "ja", "candidates": [{"text": "File: tests/CallableResolverTest.php\nLine 93: $this->assertTrue($callable());", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 28: 'or number of requests they can send in a given period of time.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 15: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 159: $this->add($errorMiddleware);", "file": "Slim/App.php", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 24: */", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 27: self::$CalledCount += 1;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 557: }", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 557, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 77: $response->getProtocolVersion(),", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 73: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 146: public function testGetCallable()", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 33: ResponseInterface $response,", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 156: $this->assertSame($container, CallableTest::$CalledContainer);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "「ルーティングの getCallable メソッドが呼び出し可能なコールバックを返すことを確認するテストケースが見つからない」というバグレポートを作成してほしい。", "query": "route callable test", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "「ルーティングの getCallable メソッドが呼び出し可能なコールバックを返すことを確認するテストケースが見つからない」というバグレポートを作成してほしい。", "query": "route callable test", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lang": "ja", "candidates": [{"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=99-122\nread testCallingWithUnknownAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=41-64\nread getCalledCount for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "getCalledCount", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=116-139\nread testSlimCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallable", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=28-51\nread __invoke for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "想要获取当前路由匹配到的所有参数数组,目前应该有一个返回路由参数集合的方法。", "query": "route arguments", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 37: public function appendMiddlewareToDispatcher(MiddlewareDispatcher $dispatcher): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 97: $route = $this->createMock(RouteInterface::class);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 256: $this->assertSame($route->getArguments(), ['foo' => 'FOO', 'bar' => 'BAR']);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 256, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 135: }", "file": "tests/TestCase.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 246: public function getArguments(): array", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 1: createMock(RequestHandler::class),", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 43: if ($routingResults[0] === self::FOUND) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 28: public function log($level, $message, array $context = []): void", "file": "Slim/Logger.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 19: protected static string $responseFactoryClass = 'Slim\\Http\\Factory\\DecoratedResponseFactory';", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 97: $responseEmitter = new ResponseEmitter();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 30: $value = $reflectionProperty->getValue($middleware);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 264: $meta = stream_get_meta_data($this->stream);", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 26: public function testHttpUnauthorizedExceptionWithMessage()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 88: public function getArguments(): array;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 24: */", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 80: }", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "想要获取当前路由匹配到的所有参数数组,目前应该有一个返回路由参数集合的方法。", "query": "route arguments", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "想要获取当前路由匹配到的所有参数数组,目前应该有一个返回路由参数集合的方法。", "query": "route arguments", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "想要获取当前路由匹配到的所有参数数组,目前应该有一个返回路由参数集合的方法。", "query": "route arguments", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lang": "zh", "candidates": [{"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=43-66\nread testCreateServerRequestFromGlobals for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobals", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/GuzzlePsr17Factory.php lines=13-36\nread GuzzlePsr17Factory for detail", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "GuzzlePsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ルーティングやミドルウェアの指定から実行可能なコールバックを解決するためのインターフェースを探しています。既存の解決ロジックを拡張して、クラス名とメソッド名の配列などにも対応させたいです。", "query": "resolve route middleware", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lang": "ja", "candidates": [{"text": "File: tests/AppTest.php\nLine 469: ],", "file": "tests/AppTest.php", "symbol": "", "line": 469, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 92: );", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 18: use Slim\\Interfaces\\AdvancedCallableResolverInterface;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 85: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 89: $dispatcher = new Dispatcher($routeCollector);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 68: $title = htmlspecialchars($title, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 21: use Slim\\Interfaces\\AdvancedCallableResolverInterface;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 31: $this->assertSame('Hello World', $exception->getMessage());", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 28: *", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 35: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 53: }", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 14: use Slim\\Interfaces\\AdvancedCallableResolverInterface;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 14, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 21: }", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 615: Argument::type(RequestHandlerInterface::class)", "file": "tests/AppTest.php", "symbol": "", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 31: public function addMiddleware(MiddlewareInterface $middleware): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 25: {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 13: interface AdvancedCallableResolverInterface extends CallableResolverInterface", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 31: * FOUND = 1", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 5: *", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 20: use Slim\\Factory\\Psr17\\SlimHttpPsr17Factory;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 20: use Slim\\Interfaces\\AdvancedCallableResolverInterface;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルーティングやミドルウェアの指定から実行可能なコールバックを解決するためのインターフェースを探しています。既存の解決ロジックを拡張して、クラス名とメソッド名の配列などにも対応させたいです。", "query": "resolve route middleware", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルーティングやミドルウェアの指定から実行可能なコールバックを解決するためのインターフェースを探しています。既存の解決ロジックを拡張して、クラス名とメソッド名の配列などにも対応させたいです。", "query": "resolve route middleware", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lang": "ja", "candidates": [{"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=415-438\nread testControllerMethodAsStringResolvesWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithContainer", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=13-36\nread AdvancedCallableResolverInterface for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=948-971\nread testAddMiddlewareOnTwoRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnTwoRouteGroup", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=27-50\nread resolveMiddleware for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveMiddleware", "line": 27, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "테스트 코드 작성 중인데, HTTP 요청을 받아서 단순히 응답 객체만 생성해서 반환해주는 가짜 핸들러 로직이 어디 있는지 찾아줘. 호출 횟수를 카운트하는 기능이 포함되어 있어야 해.", "query": "mock request handler", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 14: class HttpTooManyRequestsException extends HttpSpecializedException", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 179: *", "file": "Slim/App.php", "symbol": "", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 18: {", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 29: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 97: * {@inheritdoc}", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 19: public function collectRoutes(): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 21: * This file exists to allow overriding the various output-related functions", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'HttpSoft\\Message\\StreamFactory';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 51: $middlewareDispatcher->handle($request);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 37: {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 5: *", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 156: })->bindTo($this), true); // - true; handle subclass but also LogicException explicitly", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 156, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 42: $routeCollector->map(['GET'], '/hello/{name}', $handler);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 26: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 193: $response = $this->handle($request);", "file": "Slim/App.php", "symbol": "", "line": 193, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 24: throw new InvalidArgumentException(\"Not a Slim call\");", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 10: use Slim\\Interfaces\\DispatcherInterface;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 1: handle($request);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 42: return $handler->handle($request);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 144: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "테스트 코드 작성 중인데, HTTP 요청을 받아서 단순히 응답 객체만 생성해서 반환해주는 가짜 핸들러 로직이 어디 있는지 찾아줘. 호출 횟수를 카운트하는 기능이 포함되어 있어야 해.", "query": "mock request handler", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "테스트 코드 작성 중인데, HTTP 요청을 받아서 단순히 응답 객체만 생성해서 반환해주는 가짜 핸들러 로직이 어디 있는지 찾아줘. 호출 횟수를 카운트하는 기능이 포함되어 있어야 해.", "query": "mock request handler", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "테스트 코드 작성 중인데, HTTP 요청을 받아서 단순히 응답 객체만 생성해서 반환해주는 가짜 핸들러 로직이 어디 있는지 찾아줘. 호출 횟수를 카운트하는 기능이 포함되어 있어야 해.", "query": "mock request handler", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lang": "ko", "candidates": [{"text": "Next: read tests/Mocks/MockRequestHandler.php lines=41-64\nread getCalledCount for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "getCalledCount", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=40-63\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=82-105\nread getRouteIdentifier for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1826-1849\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=108-131\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getStreamFactory", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=18-41\nread MockRequestHandler for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "MockRequestHandler", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=43-66\nread testCreateServerRequestFromGlobals for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobals", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=144-167\nread testRouteArgumentsAreDecodedOnlyOnce for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteArgumentsAreDecodedOnlyOnce", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=98-121\nread rewind for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "rewind", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "prüfe ob die antwort keinen inhalt hat oder einen leeren statuscode besitzt", "query": "empty response check", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lang": "de", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\nLine 34: /**", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 1: reveal();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 44: }", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 430: ->withAddedHeader('X-SEQ-POST-REQ-HANDLER', '3');", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 430, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 3: /**", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 104: {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 50: * @param TContainerInterface $container", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 1: formatExceptionFragment($exception);", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 14: use RuntimeException;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 124: public function isResponseEmpty(ResponseInterface $response): bool", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 3: /**", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 181: $this->assertTrue($responseEmitter->isResponseEmpty($response));", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 181, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 30: if ($displayErrorDetails) {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 127: * @param ReflectionProperty|ReflectionMethod $ref", "file": "tests/TestCase.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 38: $this->setAccessible($method);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 38: * @return StreamFactoryInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 122: false,", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "prüfe ob die antwort keinen inhalt hat oder einen leeren statuscode besitzt", "query": "empty response check", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lang": "de", "candidates": [{"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "prüfe ob die antwort keinen inhalt hat oder einen leeren statuscode besitzt", "query": "empty response check", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> const", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "prüfe ob die antwort keinen inhalt hat oder einen leeren statuscode besitzt", "query": "empty response check", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lang": "de", "candidates": [{"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=294-317\nread testMiddlewareObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=168-191\nread getMethods for detail", "file": "Slim/Routing/Route.php", "symbol": "getMethods", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=98-121\nread rewind for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "rewind", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "テスト実行前にヘッダーの状態を初期化する処理を探して", "query": "reset header stack", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lang": "ja", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 207: /**", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 47: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 481: $renderer = function () {", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 3: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 46: }", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 18: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 22: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/TestCase.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 459: $kernel = $kernelProphecy->reveal();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 459, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 104: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 25: public function setUp(): void", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 36: public function setUp(): void", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 30: {", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 17: * {@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 18: * @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 40: public function setUp(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 15: use Throwable;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 52: return $this;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 18: */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 19: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "テスト実行前にヘッダーの状態を初期化する処理を探して", "query": "reset header stack", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lang": "ja", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\ndefines setUp", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "テスト実行前にヘッダーの状態を初期化する処理を探して", "query": "reset header stack", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> function", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> const", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "テスト実行前にヘッダーの状態を初期化する処理を探して", "query": "reset header stack", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lang": "ja", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=116-139\nread testSlimCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallable", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Montre-moi comment les tests vérifient que la méthode setName retourne l'instance du routeur et que getName retourne bien le nom défini.", "query": "route setName getName test", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lang": "fr", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 11: namespace Slim\\Handlers\\Strategies;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 102: * {@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 165: /**", "file": "Slim/Routing/Route.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 22: {", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 7: */", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 16: {", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 590: $kernel = $kernelProphecy->reveal();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 590, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 16: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 126: }", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 33: $html .= '

Details

';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 391: public function testSetName()", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 37: public static function determineServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 108: break;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 23: $response = $handler->handle($request);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 13: protected static string $serverRequestCreatorClass = 'Nyholm\\Psr7Server\\ServerRequestCreator';", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 22: */", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 40: * Seed the middleware stack with the inner request handler", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 38: $this->expectExceptionMessage('Slim\\\\Tests\\\\Mocks\\\\MockPsr17Factory' .", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 258: $middlewareDispatcher->addCallable($callable);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 124: * @throws RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 30: /**", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Montre-moi comment les tests vérifient que la méthode setName retourne l'instance du routeur et que getName retourne bien le nom défini.", "query": "route setName getName test", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lang": "fr", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Montre-moi comment les tests vérifient que la méthode setName retourne l'instance du routeur et que getName retourne bien le nom défini.", "query": "route setName getName test", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Montre-moi comment les tests vérifient que la méthode setName retourne l'instance du routeur et que getName retourne bien le nom défini.", "query": "route setName getName test", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lang": "fr", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=125-148\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=391-414\nread testSetName for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=948-971\nread testAddMiddlewareOnTwoRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnTwoRouteGroup", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "TestHandlerInvocationStrategy에 호출 횟수를 추적하는 정적 카운터 필드를 추가해주세요. 호출 시 카운터를 증가시키고 실제 처리기를 호출하는 로직을 구현하세요.", "query": "MockCustomRequestHandlerInvocationStrategy", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lang": "ko", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 33: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 541: // reuse callback from #4", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 9: declare(strict_types=1);", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 19: public function __invoke(", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 46: }", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 110: return $this->callableResolver->resolve($this->subClassHandlers[$type]);", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 160: $this->assertEquals($expected, $requestHandler->request->getParsedBody());", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 45: // See https://github.com/slimphp/Slim/issues/1730", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 26: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 20: {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 17: class MockCustomRequestHandlerInvocationStrategy implements RequestHandlerInvocationStrategyInterface", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 117: $xmlCallable = static function ($input) {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 33: use Slim\\Tests\\Mocks\\MockCustomRequestHandlerInvocationStrategy;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 7: */", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 85: /**", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 32: static::$strategy = $trace[1]['class'];", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 163: public function testUrlForRouteThatDoesNotExist()", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 52: ->will(function ($args) use ($routingResultsProphecy, $expectedUri) {", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 24: protected $message = 'Bad request.';", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 57: return $this->description;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "TestHandlerInvocationStrategy에 호출 횟수를 추적하는 정적 카운터 필드를 추가해주세요. 호출 시 카운터를 증가시키고 실제 처리기를 호출하는 로직을 구현하세요.", "query": "MockCustomRequestHandlerInvocationStrategy", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lang": "ko", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\ndefines MockCustomRequestHandlerInvocationStrategy", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "TestHandlerInvocationStrategy에 호출 횟수를 추적하는 정적 카운터 필드를 추가해주세요. 호출 시 카운터를 증가시키고 실제 처리기를 호출하는 로직을 구현하세요.", "query": "MockCustomRequestHandlerInvocationStrategy", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "TestHandlerInvocationStrategy에 호출 횟수를 추적하는 정적 카운터 필드를 추가해주세요. 호출 시 카운터를 증가시키고 실제 처리기를 호출하는 로직을 구현하세요.", "query": "MockCustomRequestHandlerInvocationStrategy", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lang": "ko", "candidates": [{"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=23-46\nread RequestResponseArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=71-94\nread getNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getNamedRoute", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=98-121\nread seek for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "seek", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estoy intentando entender cómo se envuelve automáticamente el creador de peticiones para añadir funcionalidades de Slim. ¿En qué parte se comprueba si está habilitada la detección automática de decoradores?", "query": "server request decorator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nLine 131: return $this->cacheFile;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 33: $response = $responseFactory", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 52: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 48: string $method,", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 16: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 22: * Invoke a route callable.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 63: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 69: null", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 1: readable) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 22: /**", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 199: if ($route->getName() === $name) {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 78: case RoutingResults::METHOD_NOT_ALLOWED:", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 61: protected static function attemptServerRequestCreatorDecoration(", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 30: */", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 28: */", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 23: ServerRequestInterface $request,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy intentando entender cómo se envuelve automáticamente el creador de peticiones para añadir funcionalidades de Slim. ¿En qué parte se comprueba si está habilitada la detección automática de decoradores?", "query": "server request decorator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy intentando entender cómo se envuelve automáticamente el creador de peticiones para añadir funcionalidades de Slim. ¿En qué parte se comprueba si está habilitada la detección automática de decoradores?", "query": "server request decorator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy intentando entender cómo se envuelve automáticamente el creador de peticiones para añadir funcionalidades de Slim. ¿En qué parte se comprueba si está habilitada la detección automática de decoradores?", "query": "server request decorator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lang": "es", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=27-50\nread testGetStreamFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetStreamFactoryThrowsRuntimeException", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1184-1207\nread testInvokeWithMatchingRouteWithSetArguments for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArguments", "line": 1184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=208-231\nread testAnyRoute for detail", "file": "tests/AppTest.php", "symbol": "testAnyRoute", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "스트림 인터페이스를 구현해서 데이터를 아주 조금씩 읽어오는 테스트용 모의 객체 어디 있어?", "query": "implements StreamInterface mock", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lang": "ko", "candidates": [{"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 66: $request = $this->createServerRequest('/foo/baz/');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 33: * @see http://github.com/zendframework/zend-diactoros for the canonical source repository", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 22: class SlowPokeStream implements StreamInterface", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 23: ServerRequestInterface $request,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 55: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 62: {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 56: /** @var array Hash of readable and writable stream types */", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 88: $this->readable = isset(self::$readWriteHash['read'][$meta['mode']]);", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 159: if (!is_callable($resolved)) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 17: use Slim\\Tests\\Mocks\\SlowPokeStream;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 240: return $default;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 182: /**", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 42: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 32: }", "file": "Slim/Logger.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 33: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 104: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 3: declare(strict_types=1);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 18: /**", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 7: */", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 1: $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "스트림 인터페이스를 구현해서 데이터를 아주 조금씩 읽어오는 테스트용 모의 객체 어디 있어?", "query": "implements StreamInterface mock", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "스트림 인터페이스를 구현해서 데이터를 아주 조금씩 읽어오는 테스트용 모의 객체 어디 있어?", "query": "implements StreamInterface mock", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lang": "ko", "candidates": [{"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=26-49\nread JsonErrorRenderer for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "JsonErrorRenderer", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=254-277\nread addCallable for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addCallable", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1826-1849\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=274-297\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 274, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "如何在测试中验证 ErrorMiddleware 的错误处理逻辑?请提供一个测试用例,模拟路由中间件抛出 HttpNotFoundException,并检查自定义的错误处理器是否被正确调用且返回了 500 状态码。", "query": "ErrorMiddleware testing", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteRunnerTest.php\nLine 5: *", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 16: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 34: public static function provideImplementations()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 28: $psr17Factory,", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 16: {", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 7: */", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 77: '/archive/2015/07/d/19',", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 21: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 43: if ($uri === '' || $uri[0] !== '/') {", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 239: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 239, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 47: */", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 35: public function testSetErrorHandler()", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 16: {", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 39: * @var callable[]", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 32: while ($exception = $exception->getPrevious()) {", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 230: }", "file": "Slim/Routing/Route.php", "symbol": "", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 171: */", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 49: })->bindTo($this);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 73: if (!$middlewareDispatcher) {", "file": "Slim/App.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'HttpSoft\\Message\\StreamFactory';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "如何在测试中验证 ErrorMiddleware 的错误处理逻辑?请提供一个测试用例,模拟路由中间件抛出 HttpNotFoundException,并检查自定义的错误处理器是否被正确调用且返回了 500 状态码。", "query": "ErrorMiddleware testing", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lang": "zh", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\ndefines testSetErrorHandler", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "如何在测试中验证 ErrorMiddleware 的错误处理逻辑?请提供一个测试用例,模拟路由中间件抛出 HttpNotFoundException,并检查自定义的错误处理器是否被正确调用且返回了 500 状态码。", "query": "ErrorMiddleware testing", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Psr", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> LogicException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Slim", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "如何在测试中验证 ErrorMiddleware 的错误处理逻辑?请提供一个测试用例,模拟路由中间件抛出 HttpNotFoundException,并检查自定义的错误处理器是否被正确调用且返回了 500 状态码。", "query": "ErrorMiddleware testing", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lang": "zh", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=470-493\nread testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimPsr17Factory.php lines=13-36\nread SlimPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "SlimPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "获取路由解析测试用的数据提供器", "query": "computeRoutingResultsDataProvider", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lang": "zh", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 35: $request = $request->withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 106: $result = $this->dispatchVariableRoute($routeData, $uri);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 14: class HttpBadRequestException extends HttpSpecializedException", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 35: ->withHeader('Content-Type', 'text/plain');", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 19: protected $code = 500;", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 57: * @param callable|array{class-string, string}|string $callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 1: run($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 458, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 38: $this->expectExceptionMessage('Slim\\\\Tests\\\\Mocks\\\\MockPsr17Factory' .", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 26: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 93: public function appendMiddlewareToDispatcher(MiddlewareDispatcher $dispatcher): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 42: $request = $this->createServerRequest('/');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 57: * Push a header on the stack", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 14: public function computeRoutingResults(string $uri, string $method): RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 7: use FastRoute\\DataGenerator\\GroupCountBased;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 30: /**", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 26: public static function computeRoutingResultsDataProvider(): array", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockAction.php\nLine 1: Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> function", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Slim", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "获取路由解析测试用的数据提供器", "query": "computeRoutingResultsDataProvider", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lang": "zh", "candidates": [{"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpUnauthorizedException.php lines=14-37\nread HttpUnauthorizedException for detail", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "HttpUnauthorizedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "获取路由收集器的接口实例", "query": "get route collector", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 35: }", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 83: public function getRouteCollector(): RouteCollectorInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 64: if (", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 244: * {@inheritdoc}", "file": "Slim/Routing/Route.php", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 234: $responseFactoryProphecy->reveal(),", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 15: class MockPsr17Factory extends Psr17Factory", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 94: $routeCollectorProxy->getRouteCollector()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 94, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 115: $this->assertSame($routeCollectorProphecy->reveal(), $app->getRouteCollector());", "file": "tests/AppTest.php", "symbol": "", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 31: ->withAttribute(RouteContext::ROUTE, $route)", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 142: *", "file": "Slim/App.php", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 129: $this->getRouteCollector()->getRouteParser()", "file": "Slim/App.php", "symbol": "", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 44: $app->getRouteCollector()->getRouteParser()", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 27: use function simplexml_load_string;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 29: private DispatcherInterface $dispatcher;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 90: ServerRequestCreatorFactory::setPsr17FactoryProvider($psr17FactoryProvider);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 20: {", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 77: $routeCollector = $app->getRouteCollector();", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 17: *", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 32: public function getRouteCollector(): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "获取路由收集器的接口实例", "query": "get route collector", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "获取路由收集器的接口实例", "query": "get route collector", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "获取路由收集器的接口实例", "query": "get route collector", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lang": "zh", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/GuzzlePsr17Factory.php lines=13-36\nread GuzzlePsr17Factory for detail", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "GuzzlePsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=13-36\nread AdvancedCallableResolverInterface for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=263-286\nread writeToErrorLog for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "set the configuration file as the project base", "query": "root true", "file": ".editorconfig", "symbol": "root", "line": 1, "lang": "en", "candidates": [{"text": "File: Slim/Routing/Route.php\nLine 13: use Psr\\Container\\ContainerInterface;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 119: {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 18: * Default route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 1: root = true", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 27: protected string $description = 'Unexpected condition encountered preventing server from fulfilling request.';", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 17: public function createServerRequestFromGlobals(): ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 37: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 23: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 24: MockPsr17Factory::getResponseFactory();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 12: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 54: $this->dispatcher = $dispatcher;", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'GuzzleHttp\\Psr7\\HttpFactory';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 157: $route->setName('test');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 27: * emitted, and we can test to see their values.", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 26: {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 151: ];", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 258: $request = $this->createServerRequest('/', 'GET');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 16: use RuntimeException;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 3: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 3: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 46: string $pattern,", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "set the configuration file as the project base", "query": "root true", "file": ".editorconfig", "symbol": "root", "line": 1, "lang": "en", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines root", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "set the configuration file as the project base", "query": "root true", "file": ".editorconfig", "symbol": "root", "line": 1, "lang": "en", "candidates": [{"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=397-420\nread testNotObjectInContainerThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testNotObjectInContainerThrowException", "line": 397, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找设置路由参数并决定是否保存的方法", "query": "set route argument", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lang": "zh", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 24: {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 95: public function setArgument(string $name, string $value): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 95, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 116: $container,", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 50: */", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 26: $methodHeader = $request->getHeaderLine('X-Http-Method-Override');", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 169: }", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 69: $middleware = (function (Request $request, RequestHandler $handler) use ($responseFactory) {", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 13: protected static string $serverRequestCreatorClass = 'Nyholm\\Psr7Server\\ServerRequestCreator';", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 35: return $response;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 17: *", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 23: if (count($arguments) !== 3) {", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 14: use Slim\\Tests\\TestCase;", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 459: $container = $this->containerProphecy->reveal();", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 459, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 532: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 532, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 258: $route->setArgument('bar', 'bar');", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 258, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 1164: })->setArgument('name', 'World');", "file": "tests/AppTest.php", "symbol": "", "line": 1164, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'GuzzleHttp\\Psr7\\HttpFactory';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 181: ->willReturn('http')", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 302: public function setArgument(string $name, string $value, bool $includeInSavedArguments = true): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 5: *", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "查找设置路由参数并决定是否保存的方法", "query": "set route argument", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "查找设置路由参数并决定是否保存的方法", "query": "set route argument", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找设置路由参数并决定是否保存的方法", "query": "set route argument", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lang": "zh", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=78-101\nread testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=302-325\nread setArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=339-362\nread testExecutesKernelWithEmptyMiddlewareStack for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=101-124\nread testHTMLErrorRendererEscapesHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererEscapesHttpException", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=397-420\nread testNotObjectInContainerThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testNotObjectInContainerThrowException", "line": 397, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "devuelve una fábrica de respuestas válida o lanza una excepción", "query": "get response factory", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 37: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 33: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 177: }", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 76: return $dispatcher->getAllowedMethods($uri);", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 31: $responseFactory = $psr7ObjectProvider->getResponseFactory();", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 23: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 249: {", "file": "tests/AppTest.php", "symbol": "", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 105: /**", "file": "tests/TestCase.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 40: $responseFactory = $this->getResponseFactory();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 5: *", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 60: public function setDescription(string $description): self", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 58: public function getResponseFactory(): ResponseFactoryInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 82: ->getResponseFactory()", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 82, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 17: {", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 20: public static $CalledCount = 0;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 91: public function options(string $pattern, $callable): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 85: $this->middleware[] = $middleware;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 30: $this->assertInstanceOf(RouteParser::class, $routeParser);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 133: /** @var StreamInterface $body */", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 52: 'type' => get_class($exception),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 35: public static function getResponseFactory(): ResponseFactoryInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "devuelve una fábrica de respuestas válida o lanza una excepción", "query": "get response factory", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "devuelve una fábrica de respuestas válida o lanza una excepción", "query": "get response factory", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> function", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "devuelve una fábrica de respuestas válida o lanza una excepción", "query": "get response factory", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lang": "es", "candidates": [{"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=116-139\nread testDetermineResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Je cherche la méthode qui permet d'enregistrer un nouveau composant dans la pile de traitement. Elle doit gérer aussi bien les instances d'interface que les classes via leur nom ou les fonctions anonymes.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lang": "fr", "candidates": [{"text": "File: tests/Routing/DispatcherTest.php\nLine 14: use ReflectionMethod;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 371: ->map($methods, $pattern, Argument::is($callable))", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 371, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 85: public function add($middleware): MiddlewareDispatcherInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 352: $kernelProphecy->handle(Argument::type(ServerRequestInterface::class))->shouldHaveBeenCalled();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 352, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 102: public function add($middleware): self", "file": "Slim/App.php", "symbol": "", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 74: public function add($middleware): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 33: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 136: if (!is_object($instance)) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 26: public function add($middleware): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 275: public function add($middleware): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 275, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 28: public function add($middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\nLine 25: *", "file": "Slim/Logger.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 30: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 57: throw new Exception('not implemented');", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 109: public function add($middleware): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 109, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 39: return $responseProphecy->reveal();", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 5: *", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 19: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 19: {", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 66: $request = $request->withAttribute(", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je cherche la méthode qui permet d'enregistrer un nouveau composant dans la pile de traitement. Elle doit gérer aussi bien les instances d'interface que les classes via leur nom ou les fonctions anonymes.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lang": "fr", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Je cherche la méthode qui permet d'enregistrer un nouveau composant dans la pile de traitement. Elle doit gérer aussi bien les instances d'interface que les classes via leur nom ou les fonctions anonymes.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche la méthode qui permet d'enregistrer un nouveau composant dans la pile de traitement. Elle doit gérer aussi bien les instances d'interface que les classes via leur nom ou les fonctions anonymes.", "query": "add middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lang": "fr", "candidates": [{"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=101-124\nread testHTMLErrorRendererEscapesHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererEscapesHttpException", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1184-1207\nread testInvokeWithMatchingRouteWithSetArguments for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArguments", "line": 1184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockPsr17Factory.php lines=15-38\nread MockPsr17Factory for detail", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "MockPsr17Factory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=103-126\nread seek for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "seek", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=40-63\nread testHttpNotAllowedExceptionGetAllowedMethods for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpNotAllowedExceptionGetAllowedMethods", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=26-49\nread JsonErrorRenderer for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "JsonErrorRenderer", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=126-149\nread testResponseWithStreamReadYieldingLessBytesThanAsked for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseWithStreamReadYieldingLessBytesThanAsked", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=407-430\nread testWriteToErrorLogShowTip for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogShowTip", "line": 407, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo puedo verificar que un error de no autorizado acepte un mensaje personalizado?", "query": "unauthorized exception message", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lang": "es", "candidates": [{"text": "File: tests/Mocks/SmallChunksStream.php\nLine 53: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 93: $url = implode('', $segments);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 41: }", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 44: ) instanceof ServerRequestInterface)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Slim\\Psr7\\Factory\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 93: 'First argument to Stream::create() must be a string, resource or StreamInterface.'", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 38: $invocationStrategy = new RequestResponseNamedArgs();", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 32: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 151: * 4. Boolean $logErrors", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 17: use function json_encode;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 83: ];", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 169: /** @var RouteParserInterface $routeParser */", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 61: return $this", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 1: createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 5: *", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 54: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 26: public function testHttpUnauthorizedExceptionWithMessage()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 11: namespace Slim\\Middleware;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 100: throw new Exception('not implemented');", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 16: public function resolveRoute(string $identifier): RouteInterface;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 263: $this->tip = new class ($middleware, $next) implements RequestHandlerInterface {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 263, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Cómo puedo verificar que un error de no autorizado acepte un mensaje personalizado?", "query": "unauthorized exception message", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lang": "es", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\ndefines testHttpUnauthorizedExceptionWithMessage", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nsibling in tests/Exception", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo puedo verificar que un error de no autorizado acepte un mensaje personalizado?", "query": "unauthorized exception message", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo puedo verificar que un error de no autorizado acepte un mensaje personalizado?", "query": "unauthorized exception message", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lang": "es", "candidates": [{"text": "Next: read Slim/Factory/Psr17/GuzzlePsr17Factory.php lines=13-36\nread GuzzlePsr17Factory for detail", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "GuzzlePsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=158-181\nread setDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=497-520\nread testRouteClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=48-71\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=13-36\nread AdvancedCallableResolverInterface for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Ich habe bemerkt, dass die statische Methode `setFactories` in `Psr17FactoryProvider` den globalen Zustand ändert und dadurch andere Tests beeinträchtigt. Die Tests `testGetSetFactories` und `testAddFactory` müssen daher in separaten Prozessen ausgeführt werden, um Isolation zu gewährleisten. Bitte implementiere diese Isolation für die genannten Testmethoden.", "query": "factory provider isolation", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lang": "de", "candidates": [{"text": "File: tests/Mocks/MockStream.php\nLine 122: if (is_resource($this->stream)) {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 145: ];", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 14: class HttpInternalServerErrorException extends HttpSpecializedException", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 486: $callableResolverProphecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 181: if (is_string($contentType) && trim($contentType) !== '') {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 16: class Psr17FactoryProviderTest extends TestCase", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 15: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 20: public function testHttpExceptionRequestReponseGetterSetters()", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 55: /**", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 51: $this->assertNull($routeContext->getRoute());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 21: * Default Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 17: use Slim\\Interfaces\\ServerRequestCreatorInterface;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 23: */", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 31: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 166: $exception = new HttpNotFoundException($jsonRequest);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 212: null,", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 212, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 49: */", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 3: /**", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Ich habe bemerkt, dass die statische Methode `setFactories` in `Psr17FactoryProvider` den globalen Zustand ändert und dadurch andere Tests beeinträchtigt. Die Tests `testGetSetFactories` und `testAddFactory` müssen daher in separaten Prozessen ausgeführt werden, um Isolation zu gewährleisten. Bitte implementiere diese Isolation für die genannten Testmethoden.", "query": "factory provider isolation", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ich habe bemerkt, dass die statische Methode `setFactories` in `Psr17FactoryProvider` den globalen Zustand ändert und dadurch andere Tests beeinträchtigt. Die Tests `testGetSetFactories` und `testAddFactory` müssen daher in separaten Prozessen ausgeführt werden, um Isolation zu gewährleisten. Bitte implementiere diese Isolation für die genannten Testmethoden.", "query": "factory provider isolation", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lang": "de", "candidates": [{"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=207-230\nread testResolutionToAnInvokableClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClassInContainer", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=33-56\nread testAddFactory for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testAddFactory", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=81-104\nread getArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArgument", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=104-127\nread getAllowedMethods for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpGoneException.php lines=14-37\nread HttpGoneException for detail", "file": "Slim/Exception/HttpGoneException.php", "symbol": "HttpGoneException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Il y a un problème avec la génération des URL vers des routes nommées : je ne trouve pas la définition pour l'outil qui permet de construire soit des liens relatifs, soit des liens complets incluant le préfixe de l'application, en passant des paramètres de chemin et des paramètres de requête.", "query": "generate named route", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lang": "fr", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\nLine 62: */", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 19: use Slim\\Interfaces\\RouteParserInterface;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 74: return $this->routeParser;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 37: use Slim\\Interfaces\\RouteParserInterface;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 22: public function getRouteParser(): RouteParserInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 20: use Slim\\Interfaces\\RouteParserInterface;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 60: $html .= '

Trace

';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 42: $response->getBody()->write(\"{$calledCount}\");", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1910: });", "file": "tests/AppTest.php", "symbol": "", "line": 1910, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 1: getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Il y a un problème avec la génération des URL vers des routes nommées : je ne trouve pas la définition pour l'outil qui permet de construire soit des liens relatifs, soit des liens complets incluant le préfixe de l'application, en passant des paramètres de chemin et des paramètres de requête.", "query": "generate named route", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Il y a un problème avec la génération des URL vers des routes nommées : je ne trouve pas la définition pour l'outil qui permet de construire soit des liens relatifs, soit des liens complets incluant le préfixe de l'application, en passant des paramètres de chemin et des paramètres de requête.", "query": "generate named route", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lang": "fr", "candidates": [{"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=274-297\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=263-286\nread writeToErrorLog for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=43-66\nread testBodyParam for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testBodyParam", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=52-75\nread fullUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "fullUrlFor", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "verificar se o renderizador de erros está registrado corretamente para um mime type específico", "query": "error renderer test", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lang": "pt", "candidates": [{"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 20: protected static string $serverRequestCreatorMethod = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 156: })->bindTo($this), true); // - true; handle subclass but also LogicException explicitly", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 20: class RequestResponse implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 54: ?ResponseFactoryInterface $responseFactory = null,", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 209: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 38: * @param string $uri Should be $request->getUri()->getPath()", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 43: /**", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 1: \\n \" . $this->createCdataSection($this->getErrorTitle($exception)) . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 18: protected $code = 404;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 7: */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 27: public static function getStreamFactory(): StreamFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 236: array_pop($this->routeGroups);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 236, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "verificar se o renderizador de erros está registrado corretamente para um mime type específico", "query": "error renderer test", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "verificar se o renderizador de erros está registrado corretamente para um mime type específico", "query": "error renderer test", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "verificar se o renderizador de erros está registrado corretamente para um mime type específico", "query": "error renderer test", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lang": "pt", "candidates": [{"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=17-40\nread createServerRequestFromGlobals for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=519-542\nread testCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testCallableClassNotFoundThrowException", "line": 519, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=157-180\nread any for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "any", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=573-596\nread testInvokeDeferredCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "trouve l'implémentation qui écrit les messages de log via error_log", "query": "error_log log", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lang": "fr", "candidates": [{"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 318: ->withHeader('Accept', 'text/plain,text/html');", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 34: $this->routeParser = $routeParser;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 85: foreach (self::$data as $item) {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 130: {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 35: public function getResponseFactory(): ResponseFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 76: }", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 21: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 286: /**", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 286, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 93: }", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 169: */", "file": "Slim/App.php", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 164: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 27: use Slim\\Logger;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 59: [GuzzlePsr17Factory::class, HttpFactory::class],", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 19: class Logger extends AbstractLogger", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 327: '/',", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 41: $this->streamFactory = $streamFactory;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 47: public function custom(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 73: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 237: $callable();", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 7: */", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "trouve l'implémentation qui écrit les messages de log via error_log", "query": "error_log log", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lang": "fr", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "trouve l'implémentation qui écrit les messages de log via error_log", "query": "error_log log", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> function", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "trouve l'implémentation qui écrit les messages de log via error_log", "query": "error_log log", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lang": "fr", "candidates": [{"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=211-234\nread testAvoidReadFromSlowStreamAccordingToStatus for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testAvoidReadFromSlowStreamAccordingToStatus", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=247-270\nread testResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAPsrRequestHandlerClass", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=28-51\nread log for detail", "file": "Slim/Logger.php", "symbol": "log", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=26-49\nread JsonErrorRenderer for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "JsonErrorRenderer", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "선택적 인자가 있는 경우와 없는 경우를 모두 포함해서, 스트림에 데이터를 순차적으로 기록하며 응답을 생성하는 로직이 잘 작동하는지 확인하고 싶어요. 테스트 코드에서 응답 바디를 빌드하는 과정을 어떻게 모킹하고 있는지 알려주세요.", "query": "sequential process stream", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 27: * @param array $routeArguments The route's placeholder arguments", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 51: $code = $exception->getCode();", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 41: */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 89: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 59: }", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 11: namespace Slim\\Tests\\Factory\\Psr17;", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 50: $responseFactory = $psr7ObjectProvider->getResponseFactory();", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 55: \"Please install a supported implementation in order to use `App::run()` \" .", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 17: use function class_exists;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 36: throw new RuntimeException('The Slim-Http ServerRequest decorator is not available.');", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1992: public function testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs(): void", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 103: {", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 45: }", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 364: }", "file": "Slim/Routing/Route.php", "symbol": "", "line": 364, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 41: * @return RouteCollectorProxyInterface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 244: $callableResolverProphecy->reveal(),", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 38: public function testAddMiddleware(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 31: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 88: $callableResolverFromContainer = $container->get(CallableResolverInterface::class)", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 6: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "선택적 인자가 있는 경우와 없는 경우를 모두 포함해서, 스트림에 데이터를 순차적으로 기록하며 응답을 생성하는 로직이 잘 작동하는지 확인하고 싶어요. 테스트 코드에서 응답 바디를 빌드하는 과정을 어떻게 모킹하고 있는지 알려주세요.", "query": "sequential process stream", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "선택적 인자가 있는 경우와 없는 경우를 모두 포함해서, 스트림에 데이터를 순차적으로 기록하며 응답을 생성하는 로직이 잘 작동하는지 확인하고 싶어요. 테스트 코드에서 응답 바디를 빌드하는 과정을 어떻게 모킹하고 있는지 알려주세요.", "query": "sequential process stream", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "선택적 인자가 있는 경우와 없는 경우를 모두 포함해서, 스트림에 데이터를 순차적으로 기록하며 응답을 생성하는 로직이 잘 작동하는지 확인하고 싶어요. 테스트 코드에서 응답 바디를 빌드하는 과정을 어떻게 모킹하고 있는지 알려주세요.", "query": "sequential process stream", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lang": "ko", "candidates": [{"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=101-124\nread testHTMLErrorRendererEscapesHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererEscapesHttpException", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=265-288\nread testMiddlewareResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareResolutionToAPsrRequestHandlerClass", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=48-71\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to figure out how the application determines which way to call a controller method when a match is found. Can you show me where the fallback mechanism for how routes are executed is stored?", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lang": "en", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 140: }", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 1: root = true", "file": ".editorconfig", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 27: GuzzlePsr17Factory::class,", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 308: $this->arguments[$name] = $value;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 308, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 1: assertSame($invocationStrategyProphecy->reveal(), $routeCollector->getDefaultInvocationStrategy());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 115: public function getDefaultInvocationStrategy(): InvocationStrategyInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 19: class SlimHttpServerRequestCreator implements ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to figure out how the application determines which way to call a controller method when a match is found. Can you show me where the fallback mechanism for how routes are executed is stored?", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lang": "en", "candidates": [{"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm trying to figure out how the application determines which way to call a controller method when a match is found. Can you show me where the fallback mechanism for how routes are executed is stored?", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> function", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Slim", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to figure out how the application determines which way to call a controller method when a match is found. Can you show me where the fallback mechanism for how routes are executed is stored?", "query": "default invocation strategy", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lang": "en", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=167-190\nread testSlimCallableAsArrayContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArrayContainer", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "HTTP 응답을 클라이언트에게 보내기 전에 헤더와 상태 코드를 먼저 전송해야 하지만, PHP의 'location' 헤더 관련 버그로 인해 상태 라인 설정이 헤더 전송 이후에 이루어져야 합니다. 이를 위해 Headers를 먼저 emit한 후 Status Line을 emit하는 로직을 작성해주세요. 응답 본문은 응답이 비어있지 않은 경우에만 출력해야 합니다.", "query": "response emitter", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lang": "ko", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 14: use Slim\\ResponseEmitter;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 14, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 35: array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 26: class ResponseEmitter", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 7: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 194: $responseEmitter = new ResponseEmitter();", "file": "Slim/App.php", "symbol": "", "line": 194, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 550: }", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 550, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 21: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 63: if (!empty($output)) {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 243: return $this;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 34: do {", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 15: class MockPsr17Factory extends Psr17Factory", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 164: ?ContainerInterface $container = null,", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 9: declare(strict_types=1);", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1526: $uriProphecy = $this->prophesize(UriInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 1526, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'HttpSoft\\Message\\StreamFactory';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 3: /**", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 26: * Create a request handler that simply assigns the $request that it receives to a public property", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 7: */", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 15: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 50: }", "file": "tests/TestCase.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "HTTP 응답을 클라이언트에게 보내기 전에 헤더와 상태 코드를 먼저 전송해야 하지만, PHP의 'location' 헤더 관련 버그로 인해 상태 라인 설정이 헤더 전송 이후에 이루어져야 합니다. 이를 위해 Headers를 먼저 emit한 후 Status Line을 emit하는 로직을 작성해주세요. 응답 본문은 응답이 비어있지 않은 경우에만 출력해야 합니다.", "query": "response emitter", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lang": "ko", "candidates": [{"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "HTTP 응답을 클라이언트에게 보내기 전에 헤더와 상태 코드를 먼저 전송해야 하지만, PHP의 'location' 헤더 관련 버그로 인해 상태 라인 설정이 헤더 전송 이후에 이루어져야 합니다. 이를 위해 Headers를 먼저 emit한 후 Status Line을 emit하는 로직을 작성해주세요. 응답 본문은 응답이 비어있지 않은 경우에만 출력해야 합니다.", "query": "response emitter", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> const", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "HTTP 응답을 클라이언트에게 보내기 전에 헤더와 상태 코드를 먼저 전송해야 하지만, PHP의 'location' 헤더 관련 버그로 인해 상태 라인 설정이 헤더 전송 이후에 이루어져야 합니다. 이를 위해 Headers를 먼저 emit한 후 Status Line을 emit하는 로직을 작성해주세요. 응답 본문은 응답이 비어있지 않은 경우에만 출력해야 합니다.", "query": "response emitter", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=756-779\nread testAddBodyParsingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddBodyParsingMiddleware", "line": 756, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=227-250\nread testXMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererDisplaysErrorDetails", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "스트림 팩토리를 가져오는 메서드 어디 있어?", "query": "getStreamFactory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 27: public static function getStreamFactory(): StreamFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 58: * Get route objects", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 91: $body = $this->getStreamFactory()->createStreamFromResource($stream);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 91, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 37: return $callable($request, $response, ...$routeArguments);", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 41: }", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 32: MockPsr17Factory::getStreamFactory();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 65: $body = $this->streamFactory->createStream();", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 52: }", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 446: }", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 446, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 23: use function dirname;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 40: public function getStreamFactory(): StreamFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\nLine 55: protected function getStreamFactory(): StreamFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 101: ->getStreamFactory()", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 24: {", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 28: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 37: $response->getBody()->write(\"{$calledCount}\");", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 8: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 26: $middleware = new OutputBufferingMiddleware($this->getStreamFactory());", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 148: /**", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 148, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "스트림 팩토리를 가져오는 메서드 어디 있어?", "query": "getStreamFactory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lang": "ko", "candidates": [{"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "스트림 팩토리를 가져오는 메서드 어디 있어?", "query": "getStreamFactory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "스트림 팩토리를 가져오는 메서드 어디 있어?", "query": "getStreamFactory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lang": "ko", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/App.php lines=145-168\nread addErrorMiddleware for detail", "file": "Slim/App.php", "symbol": "addErrorMiddleware", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=270-293\nread testAddMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddleware", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=274-297\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=166-189\nread testJSONErrorRendererSubstitutesInvalidUtf8 for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererSubstitutesInvalidUtf8", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=485-508\nread testRouteCallableDoesNotAppendEchoedOutput for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableDoesNotAppendEchoedOutput", "line": 485, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=48-71\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Die Methode, die eine HTTP-Anfrage entgegennimmt und die Antwort unverändert zurückgibt, scheint in den Tests keine tatsächliche Logik auszuführen oder den Status zu verändern.", "query": "request response return", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lang": "de", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 15: use Throwable;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 99: $routingResults = $this->createMock(RoutingResults::class);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 47: $request = $this->createServerRequest('https://example.com:443/hello/foo', 'GET');", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 159: ->withHeader('set-cOOkie', 'foo=bar')", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 50: new OutputBufferingMiddleware($this->getStreamFactory(), 'foo');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 255: $route->setArguments(['foo' => 'FOO', 'bar' => 'BAR']);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 255, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 134: 'foo' => 'foo',", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 214: * is empty as the request may fall back on a GET route handler due to FastRoute's", "file": "Slim/App.php", "symbol": "", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 1: reveal());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 276, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 174: $acceptHeader = $request->getHeaderLine('Accept');", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 49: $this->assertSame('foo', $route->getArgument('name'));", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 5: *", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 18: public function testHttpUnauthorizedException()", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 14: use Psr\\Http\\Message\\UriInterface;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 36: }", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 18: {", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 21: * Build the path for a named route excluding the base path", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1433: public function foo(ServerRequestInterface $request, ResponseInterface $response)", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 3: /**", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Die Methode, die eine HTTP-Anfrage entgegennimmt und die Antwort unverändert zurückgibt, scheint in den Tests keine tatsächliche Logik auszuführen oder den Status zu verändern.", "query": "request response return", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lang": "de", "candidates": [{"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Die Methode, die eine HTTP-Anfrage entgegennimmt und die Antwort unverändert zurückgibt, scheint in den Tests keine tatsächliche Logik auszuführen oder den Status zu verändern.", "query": "request response return", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Die Methode, die eine HTTP-Anfrage entgegennimmt und die Antwort unverändert zurückgibt, scheint in den Tests keine tatsächliche Logik auszuführen oder den Status zu verändern.", "query": "request response return", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lang": "de", "candidates": [{"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=18-41\nread MockRequestHandler for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "MockRequestHandler", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=157-180\nread any for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "any", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=99-122\nread testCallingWithUnknownAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=135-158\nread testDuplicateVariableRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableRoute", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=98-121\nread testObjMethodArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMethodArray", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=729-752\nread testPatternCanBeChanged for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testPatternCanBeChanged", "line": 729, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我在写路由代理的单元测试,帮我找一下测试重定向逻辑的那部分代码。它应该包含对响应工厂和 Location 响应头的模拟验证。", "query": "test redirect response", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteRunnerTest.php\nLine 52: }", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 105: $args = [", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: addRoute($route->getMethods(), $basePath . $route->getPattern(), $route->getIdentifier());", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 15: {", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 26: * Invoke a route callable with request, response and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 13: interface AdvancedCallableResolverInterface extends CallableResolverInterface", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 1: prophesize(ResponseInterface::class);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 575, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 13: class LaminasDiactorosPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我在写路由代理的单元测试,帮我找一下测试重定向逻辑的那部分代码。它应该包含对响应工厂和 Location 响应头的模拟验证。", "query": "test redirect response", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\ndefines testRedirect", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我在写路由代理的单元测试,帮我找一下测试重定向逻辑的那部分代码。它应该包含对响应工厂和 Location 响应头的模拟验证。", "query": "test redirect response", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Slim", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我在写路由代理的单元测试,帮我找一下测试重定向逻辑的那部分代码。它应该包含对响应工厂和 Location 响应头的模拟验证。", "query": "test redirect response", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lang": "zh", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=304-327\nread testObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClassInContainer", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=207-230\nread testResolutionToAnInvokableClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClassInContainer", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1826-1849\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=227-250\nread isReadable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isReadable", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=24-47\nread setFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "setFactories", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ルーティングの処理を担当しているクラスの初期化部分を確認したいです。リクエストを解析してパスを特定するために必要な依存関係が何を使われているか教えてください。", "query": "route resolver parser", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/AppFactory.php\nLine 72: /**", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 31: public function __construct(RouteCollectorInterface $routeCollector, ?DispatcherInterface $dispatcher = null)", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 120: public function __construct(", "file": "Slim/Routing/Route.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 15: use function array_unshift;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 15: /**", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 344: $callback = function (RouteCollector $r) {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 344, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 50: public function __construct(", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 66: $dispatcherProphecy->reveal()", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 46: public function setAllowedMethods(array $methods): self", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 39: $this->assertSame(['Factory 2', 'Factory 1'], Psr17FactoryProvider::getFactories());", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 14: use Psr\\Http\\Message\\StreamInterface;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 85: *", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 58: public function __construct(", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/CallableResolver.php\nLine 87: {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 30: public function __construct(int $responseChunkSize = 4096)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 97: public function __construct(", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 101: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/TestCase.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 90: $request = $this->createServerRequest('/', 'GET');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 26: return $responseFactory->createResponse();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1732: $streamProphecy->write(Argument::type('string'))->will(function ($args) {", "file": "tests/AppTest.php", "symbol": "", "line": 1732, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルーティングの処理を担当しているクラスの初期化部分を確認したいです。リクエストを解析してパスを特定するために必要な依存関係が何を使われているか教えてください。", "query": "route resolver parser", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lang": "ja", "candidates": [{"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ルーティングの処理を担当しているクラスの初期化部分を確認したいです。リクエストを解析してパスを特定するために必要な依存関係が何を使われているか教えてください。", "query": "route resolver parser", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Slim", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルーティングの処理を担当しているクラスの初期化部分を確認したいです。リクエストを解析してパスを特定するために必要な依存関係が何を使われているか教えてください。", "query": "route resolver parser", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lang": "ja", "candidates": [{"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=57-80\nread performRouting for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "performRouting", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=31-54\nread __construct for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=23-46\nread RequestResponseArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我需要创建一个用于测试的回调方法,它负责增加静态计数器并构造一个符合 PSR-7 标准的响应对象。", "query": "test mock callable", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lang": "zh", "candidates": [{"text": "File: Slim/Handlers/ErrorHandler.php\nLine 34: use function count;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 21: /**", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 39: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 21: * @var string", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 21: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 26: public function toCall()", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 21: /*", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 52: 'routeParser' => new Std(),", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 40: }", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 403: $deferred = $callableResolver->resolve('\\Slim\\Tests\\Mocks\\CallableTest:toCall');", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 403, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 177: $this->assertSame($container, CallableTest::$CalledContainer);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 167: return $resolved;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 13: interface CallableResolverInterface", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 178: 'Route collector cache file directory `%s` is not writable',", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 24: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 25: $response = $responseFactory->createResponse();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 73: {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 204: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 44: }", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 102: $callable = $resolver->resolve([$obj, 'toCall']);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 37: $xml .= ' ' . $exception->getLine() . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 65: * @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我需要创建一个用于测试的回调方法,它负责增加静态计数器并构造一个符合 PSR-7 标准的响应对象。", "query": "test mock callable", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\ndefines toCall", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我需要创建一个用于测试的回调方法,它负责增加静态计数器并构造一个符合 PSR-7 标准的响应对象。", "query": "test mock callable", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我需要创建一个用于测试的回调方法,它负责增加静态计数器并构造一个符合 PSR-7 标准的响应对象。", "query": "test mock callable", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lang": "zh", "candidates": [{"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=137-160\nread setCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setCacheFile", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=17-40\nread Psr17FactoryTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=127-150\nread run for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "获取指定 uri 允许的所有 http 方法", "query": "get allowed methods uri", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 140: /**", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 27: use Slim\\Http\\ServerRequest;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 113: $results = $dispatcher->getAllowedMethods('/');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 113, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 26: * as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 5: *", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 37: public static function isResponseFactoryAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 57: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/TestCase.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 1: formatExceptionFragment($exception);", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 15: interface ServerRequestCreatorInterface", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 140: }", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 27: public function getAllowedMethods(string $uri): array;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 92: public function getAllowedMethods(string $uri): array", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 80: $exception->setAllowedMethods($routingResults->getAllowedMethods());", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 1: get('/test', function () {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 104: public function getAllowedMethods(): array", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 46: $this->assertSame(['GET'], $exception->getAllowedMethods());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "获取指定 uri 允许的所有 http 方法", "query": "get allowed methods uri", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "获取指定 uri 允许的所有 http 方法", "query": "get allowed methods uri", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "获取指定 uri 允许的所有 http 方法", "query": "get allowed methods uri", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lang": "zh", "candidates": [{"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=98-121\nread rewind for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "rewind", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=145-168\nread addErrorMiddleware for detail", "file": "Slim/App.php", "symbol": "addErrorMiddleware", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "라우트에 미들웨어를 추가하는 테스트 메서드를 찾아주세요.", "query": "test add middleware route", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lang": "ko", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nLine 46: private static $data = [];", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 36: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 89: ) instanceof CallableResolverInterface", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 786: public function testAddMiddlewareOnRoute(): void", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 727: * Ensure that the pattern can be dynamically changed", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 727, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 197: $routeProphecy = $this->prophesize(RouteInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 145: $this->assertSame($unknown, $arguments);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 21: {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 116: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 18: use Slim\\Routing\\RouteResolver;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 37: */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 1: handle($request);", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "라우트에 미들웨어를 추가하는 테스트 메서드를 찾아주세요.", "query": "test add middleware route", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lang": "ko", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "라우트에 미들웨어를 추가하는 테스트 메서드를 찾아주세요.", "query": "test add middleware route", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "라우트에 미들웨어를 추가하는 테스트 메서드를 찾아주세요.", "query": "test add middleware route", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lang": "ko", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=786-809\nread testAddMiddlewareOnRoute for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=254-277\nread setArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=144-167\nread testRouteArgumentsAreDecodedOnlyOnce for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteArgumentsAreDecodedOnlyOnce", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "ルーティングの設定で、コールバックを解決するためのインターフェースを取得する方法を確認したいです。このメソッドが何を返しているのか教えてください。", "query": "get callable resolver", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 35: ->withHeader('Content-Type', 'text/plain');", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 34: public function testAddFactory()", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 84: * Get route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 444: $this->getResponseFactory(),", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 444, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 335: {", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 335, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 170: $this->assertSame($callableResolverProphecy->reveal(), $route->getCallableResolver());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 170, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 46: }", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 27: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 132: ];", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 143: public function getCallableResolver(): CallableResolverInterface", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 38: $callableResolver = $this->getCallableResolver();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 66: public function getCallableResolver(): CallableResolverInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 39: $callableResolver = $app->getCallableResolver();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 70: return $this->resolveByPredicate($toResolve, [$this, 'isRoute'], 'handle');", "file": "Slim/CallableResolver.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 16: class Psr17FactoryProviderTest extends TestCase", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 305: }", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 305, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 152: $this->getCallableResolver(),", "file": "Slim/App.php", "symbol": "", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 138: $this->assertSame(['name' => 'Foo%20Bar'], $results->getRouteArguments());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 19: * Route callback strategy with route parameters as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 188: $app->getCallableResolver()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 188, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルーティングの設定で、コールバックを解決するためのインターフェースを取得する方法を確認したいです。このメソッドが何を返しているのか教えてください。", "query": "get callable resolver", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ルーティングの設定で、コールバックを解決するためのインターフェースを取得する方法を確認したいです。このメソッドが何を返しているのか教えてください。", "query": "get callable resolver", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルーティングの設定で、コールバックを解決するためのインターフェースを取得する方法を確認したいです。このメソッドが何を返しているのか教えてください。", "query": "get callable resolver", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lang": "ja", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=289-312\nread getDefaultLogger for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "getDefaultLogger", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=170-193\nread addBodyParsingMiddleware for detail", "file": "Slim/App.php", "symbol": "addBodyParsingMiddleware", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=153-176\nread testAppIsCreatedWithInstancesFromSetters for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInstancesFromSetters", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=168-191\nread getMethods for detail", "file": "Slim/Routing/Route.php", "symbol": "getMethods", "line": 168, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=70-93\nread isReadable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ajouter un groupe de routes", "query": "route group", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lang": "fr", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 107: if ($result[0] === self::FOUND) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 54: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 243: return $this;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 38: protected function getErrorDescription(Throwable $exception): string", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 157: file_put_contents($this->cacheFile, '');", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 419: 'empty group with empty route' => [", "file": "tests/AppTest.php", "symbol": "", "line": 419, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 93: public function group(string $pattern, $callable): RouteGroupInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 175: public function group(string $pattern, $callable): RouteGroupInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 175, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 81: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 29: $arguments[1]->getBody()->write($contents);", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 113: $results = $dispatcher->getAllowedMethods('/');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 38: return str_repeat('.', self::SIZE);", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 89: $routeCollector->group('/prefix', $callable);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 15: class MockCustomException extends Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 15: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 176: $this->expectExceptionMessage('Regex \"(en|de)\" for parameter \"lang\" contains a capturing group');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 33: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 114: * declarations in the callback will be prepended by the group(s)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 114, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 22: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ajouter un groupe de routes", "query": "route group", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ajouter un groupe de routes", "query": "route group", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ajouter un groupe de routes", "query": "route group", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lang": "fr", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=210-233\nread testSuperclassExceptionHandlerDoesNotHandleSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerDoesNotHandleSubclassException", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=81-104\nread getArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArgument", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Comment la méthode createServerRequestFromGlobals instancie-t-elle la requête serveur ?", "query": "ServerRequestCreator createServerRequestFromGlobals", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lang": "fr", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\nLine 99: return $this;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 17: class ServerRequestCreator implements ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 1: assertStringContainsString(", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 356: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 106: $this->assertInstanceOf(RouteParserInterface::class, $routeParser);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 151: // If not, look for a media type with a structured syntax suffix (RFC 6839)", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 13: protected static string $serverRequestCreatorClass = 'Nyholm\\Psr7Server\\ServerRequestCreator';", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 35: {", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 32: callable $callable,", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 71: return new ServerRequestCreator(static::$serverRequestCreatorClass, static::$serverRequestCreatorMethod);", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 37: $middleware = new OutputBufferingMiddleware($this->getStreamFactory(), 'prepend');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 54: {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'HttpSoft\\ServerRequest\\ServerRequestCreator';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 1: Slim", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Comment la méthode createServerRequestFromGlobals instancie-t-elle la requête serveur ?", "query": "ServerRequestCreator createServerRequestFromGlobals", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lang": "fr", "candidates": [{"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=19-42\nread testAddsContentLength for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "testAddsContentLength", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=391-414\nread testSetName for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetName", "line": 391, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我正在调整路由逻辑,想看看有没有地方可以手动注入参数到当前的路由定义中。能不能帮我找一下那个可以接收一个数组并决定是否持久化这些参数的方法?", "query": "set arguments", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 174: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('upperCaseRequestMethodsProvider')]", "file": "tests/AppTest.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 37: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1205: })->setArguments(['greeting' => 'Hello', 'name' => 'World']);", "file": "tests/AppTest.php", "symbol": "", "line": 1205, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 254: public function setArguments(array $arguments, bool $includeInSavedArguments = true): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 19: use RuntimeException;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 59: */", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 36: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 26: {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 104: public function setArguments(array $arguments): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 30: {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 123: return $this;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 58: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 13: interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 255: $route->setArguments(['foo' => 'FOO', 'bar' => 'BAR']);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 255, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 32: */", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 52: public function getCallable();", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 63: ],", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 51: return [", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 24: protected $message = 'Gone.';", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我正在调整路由逻辑,想看看有没有地方可以手动注入参数到当前的路由定义中。能不能帮我找一下那个可以接收一个数组并决定是否持久化这些参数的方法?", "query": "set arguments", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我正在调整路由逻辑,想看看有没有地方可以手动注入参数到当前的路由定义中。能不能帮我找一下那个可以接收一个数组并决定是否持久化这些参数的方法?", "query": "set arguments", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我正在调整路由逻辑,想看看有没有地方可以手动注入参数到当前的路由定义中。能不能帮我找一下那个可以接收一个数组并决定是否持久化这些参数的方法?", "query": "set arguments", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lang": "zh", "candidates": [{"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=254-277\nread setArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "出力バッファリングのミドルウェアで、デフォルトのスタイルが正しく設定されているか確認しているテストコードはどこ?", "query": "output buffering style", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lang": "ja", "candidates": [{"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 24: public function testStyleDefaultValid()", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 95: $output = $renderer->__invoke($httpExceptionProphecy->reveal(), false);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 33: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 23: public function __construct(ServerRequestInterface $request, ?string $message = null, ?Throwable $previous = null)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 53: }", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 17: use Psr\\Http\\Message\\StreamFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 1: reveal());", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 127: }", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 30: $error = ['message' => $this->getErrorTitle($exception)];", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 66: $container,", "file": "Slim/App.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 16: use function trim;", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 21: }", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 5: *", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 70: public function getSize(): ?int", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 18: use function debug_backtrace;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 17: interface RouteCollectorInterface", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 45: $routeResolver = new RouteResolver($routeCollector);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 74: * Getter methods", "file": "tests/AppTest.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 180: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "出力バッファリングのミドルウェアで、デフォルトのスタイルが正しく設定されているか確認しているテストコードはどこ?", "query": "output buffering style", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\ndefines testStyleDefaultValid", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "出力バッファリングのミドルウェアで、デフォルトのスタイルが正しく設定されているか確認しているテストコードはどこ?", "query": "output buffering style", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Psr", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> ReflectionProperty", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Slim", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> function", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "出力バッファリングのミドルウェアで、デフォルトのスタイルが正しく設定されているか確認しているテストコードはどこ?", "query": "output buffering style", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lang": "ja", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=244-267\nread testXMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererRenderHttpException", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=151-174\nread testParsing for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsing", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm mapping out our custom error responses for the API. Where is the specific implementation for the 410 status code that indicates a resource has been permanently removed?", "query": "410 Gone", "file": "Slim/Exception/HttpGoneException.php", "symbol": "HttpGoneException", "line": 14, "lang": "en", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 16: class HttpUnauthorizedExceptionTest extends TestCase", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 103: */", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 80: ?ContainerInterface $container = null,", "file": "tests/TestCase.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 7: */", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 26: * We need to reset the static property of SlimHttpServerRequestCreator back to its original value", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 3: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 14: class HttpGoneException extends HttpSpecializedException", "file": "Slim/Exception/HttpGoneException.php", "symbol": "HttpGoneException", "line": 14, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 44: {", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 146: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 11: namespace Slim\\Handlers\\Strategies;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 24: protected string $serverRequestCreatorMethod;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 840: ->createResponse()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 840, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 65: * Routes indexed by name", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 20: use function explode;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 15: use Throwable;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 355: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 355, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 13: interface CallableResolverInterface", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 41: return $exception->getDescription();", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 37: }", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm mapping out our custom error responses for the API. Where is the specific implementation for the 410 status code that indicates a resource has been permanently removed?", "query": "410 Gone", "file": "Slim/Exception/HttpGoneException.php", "symbol": "HttpGoneException", "line": 14, "lang": "en", "candidates": [{"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nsibling in Slim/Exception", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm mapping out our custom error responses for the API. Where is the specific implementation for the 410 status code that indicates a resource has been permanently removed?", "query": "410 Gone", "file": "Slim/Exception/HttpGoneException.php", "symbol": "HttpGoneException", "line": 14, "lang": "en", "candidates": [{"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=165-188\nread map for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "map", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=116-139\nread testDetermineResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpGoneException.php lines=14-37\nread HttpGoneException for detail", "file": "Slim/Exception/HttpGoneException.php", "symbol": "HttpGoneException", "line": 14, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Quiero saber cómo Slim maneja la cola de middleware para una petición específica. También necesito entender por qué se limpia el cuerpo de la respuesta cuando el método de la petición es HEAD.", "query": "middleware handle HEAD", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lang": "es", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 26: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 5: *", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 207: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 42: return $handler->handle($request);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 19: {", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 36: })->bindTo($this);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 3: [*]", "file": ".editorconfig", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 15: {", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 70: return $this->resolveByPredicate($toResolve, [$this, 'isRoute'], 'handle');", "file": "Slim/CallableResolver.php", "symbol": "", "line": 70, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 57: /**", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 35: }", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 59: // If routing hasn't been done, then do it now so we can dispatch", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 64: return $handler->handle($request);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 64, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 20: class RequestHandler implements RequestHandlerInvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 36: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 57: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\nLine 22: * @param mixed $level", "file": "Slim/Logger.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 13: class HttpSoftPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 44: * @param string $method", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 39: /**", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 64: $this->basePath = $basePath;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 100: * @param array $arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Quiero saber cómo Slim maneja la cola de middleware para una petición específica. También necesito entender por qué se limpia el cuerpo de la respuesta cuando el método de la petición es HEAD.", "query": "middleware handle HEAD", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lang": "es", "candidates": [{"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Quiero saber cómo Slim maneja la cola de middleware para una petición específica. También necesito entender por qué se limpia el cuerpo de la respuesta cuando el método de la petición es HEAD.", "query": "middleware handle HEAD", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> function", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Quiero saber cómo Slim maneja la cola de middleware para una petición específica. También necesito entender por qué se limpia el cuerpo de la respuesta cuando el método de la petición es HEAD.", "query": "middleware handle HEAD", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lang": "es", "candidates": [{"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=82-105\nread getRouteIdentifier for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=207-230\nread handle for detail", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "특정 경로 패턴을 기준으로 라우트들을 하나로 묶어주는 그룹화 기능이 구현되어 있는데, 이 과정에서 내부적으로 그룹 객체를 생성하고 하위 라우트들을 수집한 뒤 스택을 관리하는 로직을 확인하고 싶습니다.", "query": "route group collection", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 28: }", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 68: } elseif ($this->style === static::APPEND && $response->getBody()->isWritable()) {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 17: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 82: return isset($this->bodyParsers[$mediaType]);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 230: public function group(string $pattern, $callable): RouteGroupInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 42: $xml .= '
';", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 7: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 101: return $this->createServerRequest('/')", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 28: public static $hasBeenInstantiated = false;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 30: public function relativeUrlFor(string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 96: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 28: }", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 22: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 318: {", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 419: 'empty group with empty route' => [", "file": "tests/AppTest.php", "symbol": "", "line": 419, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 91: protected CallableResolverInterface $callableResolver;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 88: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 114: * declarations in the callback will be prepended by the group(s)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 114, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 437: $pattern = '/group';", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 437, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 332: foreach (array_reverse($this->groups) as $group) {", "file": "Slim/Routing/Route.php", "symbol": "", "line": 332, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 231: '/group',", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 231, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 38: * @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "특정 경로 패턴을 기준으로 라우트들을 하나로 묶어주는 그룹화 기능이 구현되어 있는데, 이 과정에서 내부적으로 그룹 객체를 생성하고 하위 라우트들을 수집한 뒤 스택을 관리하는 로직을 확인하고 싶습니다.", "query": "route group collection", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "특정 경로 패턴을 기준으로 라우트들을 하나로 묶어주는 그룹화 기능이 구현되어 있는데, 이 과정에서 내부적으로 그룹 객체를 생성하고 하위 라우트들을 수집한 뒤 스택을 관리하는 로직을 확인하고 싶습니다.", "query": "route group collection", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Slim", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> function", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "특정 경로 패턴을 기준으로 라우트들을 하나로 묶어주는 그룹화 기능이 구현되어 있는데, 이 과정에서 내부적으로 그룹 객체를 생성하고 하위 라우트들을 수집한 뒤 스택을 관리하는 로직을 확인하고 싶습니다.", "query": "route group collection", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lang": "ko", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=254-277\nread addCallable for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addCallable", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=43-66\nread testBodyParam for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testBodyParam", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=99-122\nread testCallingWithUnknownAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1143-1166\nread testInvokeWithMatchingRouteWithSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArgument", "line": 1143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1184-1207\nread testInvokeWithMatchingRouteWithSetArguments for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArguments", "line": 1184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "テストでSlimのレスポンスを擬似的に作りたいのですが、引数の数を確認してJSONを書き込むようなモックの仕組みはどこにありますか?", "query": "mock response json", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockAction.php\nLine 19: class MockAction", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 1: withHeader('Content-Length', (string) $size);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 14: {", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 44: 'routeParser' => new Std(),", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 80: public function removeNamedRoute(string $name): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 99: public function testCallingWithUnknownAndVariadic()", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 20: {", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 69: );", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 44: use Slim\\Tests\\Mocks\\MockAction;", "file": "tests/AppTest.php", "symbol": "", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 426: {", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 426, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 19: protected $code = 400;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 49: * @param callable|array{class-string, string}|string $callable The route callback routine", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "テストでSlimのレスポンスを擬似的に作りたいのですが、引数の数を確認してJSONを書き込むようなモックの仕組みはどこにありますか?", "query": "mock response json", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\ndefines MockAction", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "テストでSlimのレスポンスを擬似的に作りたいのですが、引数の数を確認してJSONを書き込むようなモックの仕組みはどこにありますか?", "query": "mock response json", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "テストでSlimのレスポンスを擬似的に作りたいのですが、引数の数を確認してJSONを書き込むようなモックの仕組みはどこにありますか?", "query": "mock response json", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lang": "ja", "candidates": [{"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=140-163\nread testJSONErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysErrorDetails", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=415-438\nread testControllerMethodAsStringResolvesWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithContainer", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=39-62\nread getRequest for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getRequest", "line": 39, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "O método que deveria retornar a lista de coleções de rotas associadas ao caminho atual está retornando um tipo de dado incorreto ou não está trazendo os objetos que implementam a interface de grupo de rotas.", "query": "return route groups", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lang": "pt", "candidates": [{"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 1: assertSame($groups, $route->getGroups());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 249, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 116: * @param string|callable $callable", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 13: class GuzzlePsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 7: */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 124: }", "file": "tests/TestCase.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 267: public function getGroups(): array", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 5: *", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 41: */", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 42: $request = $request->withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "O método que deveria retornar a lista de coleções de rotas associadas ao caminho atual está retornando um tipo de dado incorreto ou não está trazendo os objetos que implementam a interface de grupo de rotas.", "query": "return route groups", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lang": "pt", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "O método que deveria retornar a lista de coleções de rotas associadas ao caminho atual está retornando um tipo de dado incorreto ou não está trazendo os objetos que implementam a interface de grupo de rotas.", "query": "return route groups", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "O método que deveria retornar a lista de coleções de rotas associadas ao caminho atual está retornando um tipo de dado incorreto ou não está trazendo os objetos que implementam a interface de grupo de rotas.", "query": "return route groups", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lang": "pt", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=24-47\nread setFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "setFactories", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=31-54\nread testCallingWithEmptyArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithEmptyArguments", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1308-1331\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy", "line": 1308, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "A verificação de que a criação interna do despachante resulta numa instância de FastRouteDispatcher está a falhar ou a requerer confirmação, uma vez que o método privado createDispatcher não está a ser exposto corretamente para inspeção via reflexão dentro do teste de unidade do despachante.", "query": "test create dispatcher fast route", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 1: callableResolver->resolveRoute($this->callable);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 18: /**", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 51: $text .= sprintf(\"File: %s\\n\", $exception->getFile());", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 106: $callable();", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 51: * defined middleware stack. In the event that the user did not perform routing", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 140: }", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 25: public function getCallableResolver(): CallableResolverInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 36: ): ResponseInterface;", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 23: * Invoke a route callable with request, response, and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 12: trim_trailing_whitespace = false", "file": ".editorconfig", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 82: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 440: $logger = $this->getMockLogger();", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 440, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 40: */", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 305: $containerProphecy = $this->prophesize(ContainerInterface::class);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 305, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 109: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 19: protected $code = 400;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 77: public static function createFromContainer(ContainerInterface $container): App", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "A verificação de que a criação interna do despachante resulta numa instância de FastRouteDispatcher está a falhar ou a requerer confirmação, uma vez que o método privado createDispatcher não está a ser exposto corretamente para inspeção via reflexão dentro do teste de unidade do despachante.", "query": "test create dispatcher fast route", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "A verificação de que a criação interna do despachante resulta numa instância de FastRouteDispatcher está a falhar ou a requerer confirmação, uma vez que o método privado createDispatcher não está a ser exposto corretamente para inspeção via reflexão dentro do teste de unidade do despachante.", "query": "test create dispatcher fast route", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> function", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Slim", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "A verificação de que a criação interna do despachante resulta numa instância de FastRouteDispatcher está a falhar ou a requerer confirmação, uma vez que o método privado createDispatcher não está a ser exposto corretamente para inspeção via reflexão dentro do teste de unidade do despachante.", "query": "test create dispatcher fast route", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lang": "pt", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=101-124\nread testSetServerRequestCreatorWithoutDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=470-493\nread testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=41-64\nread getCalledCount for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "getCalledCount", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How does this class track the current pointer position within the underlying resource?", "query": "ftell stream position", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lang": "en", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 36: }", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 108: public function tell(): int", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 108, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 125: $bodyProphecy = $this->prophesize(StreamInterface::class);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 45: */", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 139: } else {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 251: $GLOBALS['connection_status_return'] = CONNECTION_ABORTED;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 251, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 158: if ($this->exception instanceof HttpException) {", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 34: */", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 123: * request instead of being cached from the first invocation.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 168: public function tell(): int", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 19: * @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 20: class RequestHandlerTest implements RequestHandlerInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 29: use Slim\\Tests\\TestCase;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 100: throw new Exception('not implemented');", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 19: protected $code = 501;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 103: public function tell(): int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 18: use function in_array;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 13: use Nyholm\\Psr7\\Factory\\Psr17Factory;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 81: /**", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How does this class track the current pointer position within the underlying resource?", "query": "ftell stream position", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lang": "en", "candidates": [{"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "How does this class track the current pointer position within the underlying resource?", "query": "ftell stream position", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How does this class track the current pointer position within the underlying resource?", "query": "ftell stream position", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lang": "en", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=168-191\nread tell for detail", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "pruefe die funktion zum registrieren von mehreren methoden für ein muster", "query": "map methods pattern", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lang": "de", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 394: ->willReturn(false)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 394, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 2095: });", "file": "tests/AppTest.php", "symbol": "", "line": 2095, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 142: );", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 99: // route is not available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 20: class RequestResponse implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 19: use Slim\\Interfaces\\RouteParserInterface;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 35: use function current;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 18: {", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 21: use const ENT_QUOTES;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 16: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 7: */", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 28: }", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 16: use Slim\\Tests\\TestCase;", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 29: use Slim\\Psr7\\Request as SlimServerRequest;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 3: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 56: public function testMap()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 353: public function testMap()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/CallableResolver.php\nLine 195: if (is_string($class) && is_string($method)) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 171: return null;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 135: 'bar' => 'bar',", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "pruefe die funktion zum registrieren von mehreren methoden für ein muster", "query": "map methods pattern", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lang": "de", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\ndefines testMap", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "pruefe die funktion zum registrieren von mehreren methoden für ein muster", "query": "map methods pattern", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Slim", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "pruefe die funktion zum registrieren von mehreren methoden für ein muster", "query": "map methods pattern", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lang": "de", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=137-160\nread setCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setCacheFile", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=18-41\nread MockRequestHandler for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "MockRequestHandler", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=82-105\nread testRelativePathForWithNoBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testRelativePathForWithNoBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=211-234\nread testAvoidReadFromSlowStreamAccordingToStatus for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testAvoidReadFromSlowStreamAccordingToStatus", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=342-365\nread testAddClosureMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddClosureMiddleware", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je cherche la méthode qui renvoie l'usine de requêtes serveur pour les tests PSR-7. J'ai besoin de savoir comment obtenir l'instance de ServerRequestFactoryInterface.", "query": "get server request factory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lang": "fr", "candidates": [{"text": "File: tests/AppTest.php\nLine 508: ],", "file": "tests/AppTest.php", "symbol": "", "line": 508, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 23: class XmlErrorRenderer extends AbstractErrorRenderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 30: public function getServerRequestFactory(): ServerRequestFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 19: use Slim\\Exception\\HttpNotFoundException;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 130: {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 23: use Throwable;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 19: use function count;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 43: }", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 17: class Psr17FactoryProvider implements Psr17FactoryProviderInterface", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 43: if ($uri === '' || $uri[0] !== '/') {", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 23: */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 179: );", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 1: ", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 72: 'foo=bar',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 19: * @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 37: protected function getServerRequestFactory(): ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 28: * - header(): we want to aggregate calls to this function.", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 62: ->getServerRequestFactory()", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 15: use Slim\\Interfaces\\ServerRequestCreatorInterface;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 84: : self::determineResponseFactory();", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je cherche la méthode qui renvoie l'usine de requêtes serveur pour les tests PSR-7. J'ai besoin de savoir comment obtenir l'instance de ServerRequestFactoryInterface.", "query": "get server request factory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Je cherche la méthode qui renvoie l'usine de requêtes serveur pour les tests PSR-7. J'ai besoin de savoir comment obtenir l'instance de ServerRequestFactoryInterface.", "query": "get server request factory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche la méthode qui renvoie l'usine de requêtes serveur pour les tests PSR-7. J'ai besoin de savoir comment obtenir l'instance de ServerRequestFactoryInterface.", "query": "get server request factory", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lang": "fr", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=105-128\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php lines=15-38\nread MockPsr17FactoryWithoutStreamFactory for detail", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "MockPsr17FactoryWithoutStreamFactory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=146-169\nread testDuplicateStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=22-45\nread OutputBufferingMiddlewareTest for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "OutputBufferingMiddlewareTest", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=539-562\nread testInvokeDeferredCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithNoContainer", "line": 539, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "O sistema não está retornando a definição da rota atual dentro do contexto da requisição, impedindo o acesso aos dados do endpoint quando tentamos recuperar o objeto de roteamento.", "query": "get route context", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lang": "pt", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 76: ' %s' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 112: : null;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 22: * Invoke a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 58: $html .= sprintf('
Line: %s
', $exception->getLine());", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 30: parent::__construct($request, $this->message, $this->code, $previous);", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 3: /**", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 1: assertSame($route, $routeContext->getRoute());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 14: use Slim\\Tests\\Mocks\\MockPsr17Factory;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 178: );", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: createServerRequest('/', 'POST')", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 17: use Slim\\Tests\\Mocks\\SlowPokeStream;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 34: foreach ($routeArguments as $k => $v) {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 66: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 67: public function getRoute(): ?RouteInterface", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\nLine 37: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 30: * Invoke a route callable that implements RequestHandlerInterface", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 28: }", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 35: ): ResponseInterface {", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "O sistema não está retornando a definição da rota atual dentro do contexto da requisição, impedindo o acesso aos dados do endpoint quando tentamos recuperar o objeto de roteamento.", "query": "get route context", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Slim", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "O sistema não está retornando a definição da rota atual dentro do contexto da requisição, impedindo o acesso aos dados do endpoint quando tentamos recuperar o objeto de roteamento.", "query": "get route context", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lang": "pt", "candidates": [{"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=82-105\nread testRelativePathForWithNoBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testRelativePathForWithNoBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "呼び出し元に存在しない名前付き引数と可変長引数が混在している場合、リクエストおよびレスポンスが正しく伝播し、可変長引数として渡された引数が期待どおり callback に受け渡されることを確認したい。", "query": "test named variadic args", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lang": "ja", "candidates": [{"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 50: ->createServerRequestFromGlobals()", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 66: $method = $reflectionRenderer->getMethod('renderExceptionFragment');", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 204: return $this;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 144: $this->assertSame(2, CallableTest::$CalledCount);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 18: }", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 35: public function getMethods(): array;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 21: Throwable $exception,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 15: class MockPsr17FactoryWithoutStreamFactory extends Psr17Factory", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 301: }", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 301, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 226: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 226, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 1: RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "呼び出し元に存在しない名前付き引数と可変長引数が混在している場合、リクエストおよびレスポンスが正しく伝播し、可変長引数として渡された引数が期待どおり callback に受け渡されることを確認したい。", "query": "test named variadic args", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lang": "ja", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=31-54\nread testCallingWithEmptyArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithEmptyArguments", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=67-90\nread put for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "put", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=110-133\nread testGetAllowedMethodsReusesLastUriOnly for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethodsReusesLastUriOnly", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=99-122\nread testCallingWithUnknownAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithUnknownAndVariadic", "line": 99, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "디버깅: 미들웨어 디스패처가 커널, 콜러블 리졸버, 컨테이너를 초기화할 때, 특히 컨테이너가 null이 아닌 경우 이를 내부 상태에 올바르게 설정하는지 확인한다. @param 주석에 명시된 대로 컨테이너 인터페이스 타입이 제대로 처리되어야 한다.", "query": "middleware constructor container", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MiddlewareTest.php\nLine 39: return $response;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 32: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 76: public function __construct($body = '')", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 7: use Slim\\Routing\\RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 37: public function __construct(", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 64: }", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 30: public function __construct(int $responseChunkSize = 4096)", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 23: public function __construct(ServerRequestInterface $request, ?string $message = null, ?Throwable $previous = null)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 32: /**", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 223: $method = 'GET';", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 223, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 100: {", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 17: /** @api */", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1226: {", "file": "tests/AppTest.php", "symbol": "", "line": 1226, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 52: $html .= sprintf('
Code: %s
', $code);", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 32: public function __construct()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 7: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 50: public function __construct(", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 19: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 774: $this->setAccessible($tipProperty);", "file": "tests/AppTest.php", "symbol": "", "line": 774, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "디버깅: 미들웨어 디스패처가 커널, 콜러블 리졸버, 컨테이너를 초기화할 때, 특히 컨테이너가 null이 아닌 경우 이를 내부 상태에 올바르게 설정하는지 확인한다. @param 주석에 명시된 대로 컨테이너 인터페이스 타입이 제대로 처리되어야 한다.", "query": "middleware constructor container", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lang": "ko", "candidates": [{"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "디버깅: 미들웨어 디스패처가 커널, 콜러블 리졸버, 컨테이너를 초기화할 때, 특히 컨테이너가 null이 아닌 경우 이를 내부 상태에 올바르게 설정하는지 확인한다. @param 주석에 명시된 대로 컨테이너 인터페이스 타입이 제대로 처리되어야 한다.", "query": "middleware constructor container", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "디버깅: 미들웨어 디스패처가 커널, 콜러블 리졸버, 컨테이너를 초기화할 때, 특히 컨테이너가 null이 아닌 경우 이를 내부 상태에 올바르게 설정하는지 확인한다. @param 주석에 명시된 대로 컨테이너 인터페이스 타입이 제대로 처리되어야 한다.", "query": "middleware constructor container", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lang": "ko", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=177-200\nread eof for detail", "file": "tests/Mocks/MockStream.php", "symbol": "eof", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "mostra como agrupar rotas com um padrão e um callback", "query": "route group pattern", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 22: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 20: * Route callback strategy with route parameters as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 117: $route = $routeCollector->map(['GET'], '/test', function () {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 419: 'empty group with empty route' => [", "file": "tests/AppTest.php", "symbol": "", "line": 419, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 18: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 17: use Slim\\Error\\Renderers\\JsonErrorRenderer;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 125: $requestHandler = $requestHandlerProphecy->reveal();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 231: '/group',", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 231, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 5: *", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 118: public function group(string $pattern, $callable): RouteGroupInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 89: $routeCollector->group('/prefix', $callable);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 24: public function testStyleDefaultValid()", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 437: $pattern = '/group';", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 437, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 1: getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "mostra como agrupar rotas com um padrão e um callback", "query": "route group pattern", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "mostra como agrupar rotas com um padrão e um callback", "query": "route group pattern", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lang": "pt", "candidates": [{"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=207-230\nread handle for detail", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=274-297\nread testObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=13-36\nread AdvancedCallableResolverInterface for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "AdvancedCallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Necesito una forma de reemplazar la implementación predeterminada del creador de solicitudes del servidor en Slim. ¿Cómo configuro o establezco un creador personalizado para que la fábrica lo utilice en lugar del comportamiento por defecto?", "query": "server request creator factory", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lang": "es", "candidates": [{"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 79: public static function setServerRequestCreator(ServerRequestCreatorInterface $serverRequestCreator): void", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 23: * Resolve $toResolve into a callable", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 25: protected string $title = '404 Not Found';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 99: * @runInSeparateProcess - ServerRequestCreatorFactory::setServerRequestCreator breaks other tests", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 99, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 1834: return 0;", "file": "tests/AppTest.php", "symbol": "", "line": 1834, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 82: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 12: * @param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 5: *", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 102: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 27: private RouteParserInterface $routeParser;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 19: public static function getServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 15: use Slim\\Interfaces\\RequestHandlerInvocationStrategyInterface;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 234: $middlewareDispatcher->addDeferred('callable');", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 14: protected static string $serverRequestCreatorMethod = 'fromGlobals';", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 3: /**", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 12: * @param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 7: */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 100: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 171: {", "file": "Slim/App.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Necesito una forma de reemplazar la implementación predeterminada del creador de solicitudes del servidor en Slim. ¿Cómo configuro o establezco un creador personalizado para que la fábrica lo utilice en lugar del comportamiento por defecto?", "query": "server request creator factory", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lang": "es", "candidates": [{"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Necesito una forma de reemplazar la implementación predeterminada del creador de solicitudes del servidor en Slim. ¿Cómo configuro o establezco un creador personalizado para que la fábrica lo utilice en lugar del comportamiento por defecto?", "query": "server request creator factory", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Necesito una forma de reemplazar la implementación predeterminada del creador de solicitudes del servidor en Slim. ¿Cómo configuro o establezco un creador personalizado para que la fábrica lo utilice en lugar del comportamiento por defecto?", "query": "server request creator factory", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lang": "es", "candidates": [{"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=263-286\nread writeToErrorLog for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "writeToErrorLog", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=27-50\nread testGetStreamFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetStreamFactoryThrowsRuntimeException", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "leia o comprimento máximo de bytes e retorne essa quantidade de pontos", "query": "mock stream read", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lang": "pt", "candidates": [{"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 15: use Slim\\Routing\\RouteParser;", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 17: use Slim\\CallableResolver;", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 14: {", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 46: /** @var ResponseInterface */", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 16: {", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 85: public function read($length): string", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\nLine 139: foreach ($psr17FactoryProvider->getFactories() as $psr17factory) {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 102: $data = $body->read($length);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 842: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 842, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 48: * Returns a CDATA section with the given content.", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 50: * @return callable|array{class-string, string}|string", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 24: {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 200: $response->getBody()->write('...');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 200, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 24: {", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 57: * Push a header on the stack", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1685: $streamProphecy->read(1)->willReturn('_');", "file": "tests/AppTest.php", "symbol": "", "line": 1685, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 90: public function read($length): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 40: }", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 58: 'read' => [", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 28: $contents = json_encode(compact('name') + ['arguments' => $arguments[2]]);", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 17: *", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 520: {", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 520, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "leia o comprimento máximo de bytes e retorne essa quantidade de pontos", "query": "mock stream read", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines read", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "leia o comprimento máximo de bytes e retorne essa quantidade de pontos", "query": "mock stream read", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "leia o comprimento máximo de bytes e retorne essa quantidade de pontos", "query": "mock stream read", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lang": "pt", "candidates": [{"text": "Next: read tests/Mocks/MockStream.php lines=168-191\nread tell for detail", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=411-434\nread testMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMethodNotFoundThrowException", "line": 411, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=109-132\nread get for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "get", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estou revisando a lógica de tratamento de rotas e preciso verificar como o sistema reage a padrões de regex inválidos. Pode me mostrar o teste que valida se uma exceção é lançada quando um parâmetro de rota contém um grupo de captura?", "query": "route regex capturing", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lang": "pt", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 14: use Slim\\Interfaces\\ErrorRendererInterface;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 21: * @var string", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 32: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 19: protected $code = 400;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 3: /**", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 191: $this->setAccessible($method);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 191, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 7: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 173: public function testCapturing()", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 60: $middlewareDispatcher->addDeferred(__NAMESPACE__ . '\\testProcessRequest');", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 19: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 33: * @param string $uri", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 7: */", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 42: $request = $request->withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 239: $this->assertSame((string) $output->exception[0]->message, 'Ooops...');", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 239, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 49: private RouteParserInterface $routeParser;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 67: * Return the current header stack", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 114: * declarations in the callback will be prepended by the group(s)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 15: {", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 1: RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> function", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estou revisando a lógica de tratamento de rotas e preciso verificar como o sistema reage a padrões de regex inválidos. Pode me mostrar o teste que valida se uma exceção é lançada quando um parâmetro de rota contém um grupo de captura?", "query": "route regex capturing", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lang": "pt", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=216-239\nread determineRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineRenderer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=43-66\nread testCreateServerRequestFromGlobals for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobals", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=407-430\nread testWriteToErrorLogShowTip for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogShowTip", "line": 407, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "라우트 파라미터를 요청 속성에 추가하는 PSR-15 요청 핸들러 구현체를 찾아주세요.", "query": "RequestHandler strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lang": "ko", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 20: class RequestHandler implements RequestHandlerInvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 15: use Psr\\Http\\Server\\RequestHandlerInterface as RequestHandler;", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 7: */", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 3: /**", "file": "tests/TestCase.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 19: * @runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 50: }", "file": "tests/TestCase.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 24: use Slim\\Handlers\\Strategies\\RequestHandler;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 69: /**", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 5: *", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 32: $responseFactory = $psr7ObjectProvider->getResponseFactory();", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 42: {", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 25: if ($message !== null) {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 50: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 251: * added one (last in, first out).", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 251, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 3: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 19: use Slim\\Handlers\\Strategies\\RequestHandler;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 3: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 32: static::$strategy = $trace[1]['class'];", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 25: $response = $responseFactory->createResponse();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 89: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 12: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 24: }", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 113: {", "file": "Slim/App.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "라우트 파라미터를 요청 속성에 추가하는 PSR-15 요청 핸들러 구현체를 찾아주세요.", "query": "RequestHandler strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "라우트 파라미터를 요청 속성에 추가하는 PSR-15 요청 핸들러 구현체를 찾아주세요.", "query": "RequestHandler strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "라우트 파라미터를 요청 속성에 추가하는 PSR-15 요청 핸들러 구현체를 찾아주세요.", "query": "RequestHandler strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lang": "ko", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=254-277\nread addCallable for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addCallable", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=241-264\nread getContents for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=302-325\nread setArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "現在のURIで許可されているHTTPメソッドの一覧を取得している箇所はどこですか?", "query": "getAllowedMethods uri", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lang": "ja", "candidates": [{"text": "File: Slim/CallableResolver.php\nLine 190: return $toResolve;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 105: $results = $dispatcher->getAllowedMethods($uri);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 105, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 54: if (!empty($this->getAllowedMethods($uri))) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 54, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 47: $callable,", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 18: /**", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 28: return $callable($request);", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 51: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 30: /**", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 104: public function getAllowedMethods(): array", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 56: $serverRequestCreator = ServerRequestCreatorFactory::create();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 46: $this->assertSame(['GET'], $exception->getAllowedMethods());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 80: $exception->setAllowedMethods($routingResults->getAllowedMethods());", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 77: public static function createFromContainer(ContainerInterface $container): App", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 25: array $routeArguments", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 27: public function getAllowedMethods(string $uri): array;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 67: $callable($this->routeCollectorProxy);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 49: }", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 143: * @return ErrorMiddleware", "file": "Slim/App.php", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 70: return sprintf(", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 163: }", "file": "Slim/Routing/Route.php", "symbol": "", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 88: }", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 38: public function getAllowedMethods(): array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "現在のURIで許可されているHTTPメソッドの一覧を取得している箇所はどこですか?", "query": "getAllowedMethods uri", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "現在のURIで許可されているHTTPメソッドの一覧を取得している箇所はどこですか?", "query": "getAllowedMethods uri", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "現在のURIで許可されているHTTPメソッドの一覧を取得している箇所はどこですか?", "query": "getAllowedMethods uri", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lang": "ja", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=509-532\nread testRouteCallableAppendsCorrectOutputToResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableAppendsCorrectOutputToResponse", "line": 509, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/GuzzlePsr17Factory.php lines=13-36\nread GuzzlePsr17Factory for detail", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "GuzzlePsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=104-127\nread getAllowedMethods for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=28-51\nread log for detail", "file": "Slim/Logger.php", "symbol": "log", "line": 28, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "缩进设置的是多少个空格?", "query": "indent_size", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lang": "zh", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 505: }", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 505, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 79: RequestHandlerInterface $requestHandler,", "file": "tests/TestCase.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 19: {", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 80: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 229: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 229, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 26: use Slim\\Interfaces\\CallableResolverInterface;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 92: );", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 25: {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 51: private RoutingResults $routingResults;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 23: public function getResponseFactory(): ResponseFactoryInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 3: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 38: * @param string $uri Should be $request->getUri()->getPath()", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 31: ->createServerRequest('/', 'POST')", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 15: indent_size = 2", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 51: $this->title = $title;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 134: }", "file": "tests/TestCase.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 5: *", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 39: return (string) json_encode(", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 61: $html .= sprintf('
%s
', htmlentities($exception->getTraceAsString()));", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "缩进设置的是多少个空格?", "query": "indent_size", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines indent_size", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "缩进设置的是多少个空格?", "query": "indent_size", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lang": "zh", "candidates": [{"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=125-148\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=75-98\nread isSeekable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isSeekable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "initialisiere die container-eigenschaft mit dem optionalen container-parameter", "query": "construct container", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lang": "de", "candidates": [{"text": "File: Slim/CallableResolver.php\nLine 42: public function __construct(?ContainerInterface $container = null)", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 17: {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 146: return $this->size;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 97: public function __construct(", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 3: /**", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 34: {", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 515: }", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 515, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 57: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 31: public function __construct(RouteCollectorInterface $routeCollector, ?DispatcherInterface $dispatcher = null)", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 24: protected $message = 'Too many requests.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 21: public function __construct($container = null)", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 212: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 212, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 44: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 46: public function __construct(", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 18: }", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 60: }", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 466: $this->expectException(RuntimeException::class);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 466, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 83: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 59: * @return StreamInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "initialisiere die container-eigenschaft mit dem optionalen container-parameter", "query": "construct container", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lang": "de", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "initialisiere die container-eigenschaft mit dem optionalen container-parameter", "query": "construct container", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "initialisiere die container-eigenschaft mit dem optionalen container-parameter", "query": "construct container", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lang": "de", "candidates": [{"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=470-493\nread testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=208-231\nread setMiddlewareDispatcher for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=948-971\nread testAddMiddlewareOnTwoRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnTwoRouteGroup", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "허용된 메소드 목록을 가져오는 함수 찾아줘", "query": "allowed methods array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\nLine 29: /**", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 393: $callableRouteMiddleware($request, $this->createMock(RequestHandlerInterface::class));", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 393, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 27: public function getAllowedMethods(string $uri): array;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 1: amountToRead -= $size;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 38: public function getAllowedMethods(): array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 18: class MockSequenceMiddleware implements MiddlewareInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 7: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 80: $exception->setAllowedMethods($routingResults->getAllowedMethods());", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 26: * @param ResponseInterface $response The response object.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 97: * {@inheritdoc}", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 18: {", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 17: use function error_log;", "file": "Slim/Logger.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 21: }", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 187: public function seek($offset, $whence = SEEK_SET): void", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 208: $result = $routeParser->fullUrlFor($uriProphecy->reveal(), 'test', ['token' => '123']);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 104: public function getAllowedMethods(): array", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 15: {", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 105: $results = $dispatcher->getAllowedMethods($uri);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 105, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 28: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 304: $allowedMethods = implode(', ', $this->exception->getAllowedMethods());", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 304, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "허용된 메소드 목록을 가져오는 함수 찾아줘", "query": "allowed methods array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "허용된 메소드 목록을 가져오는 함수 찾아줘", "query": "allowed methods array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "허용된 메소드 목록을 가져오는 함수 찾아줘", "query": "allowed methods array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lang": "ko", "candidates": [{"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=184-207\nread setPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=116-139\nread testDetermineResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Comment est-ce que le résolveur gère les middlewares qui sont des objets plutôt que des fonctions, surtout quand il n'y a pas de conteneur injecté ?", "query": "resolve middleware object", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lang": "fr", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 23: * that have been added before will be executed after the newly", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 37: }", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 32: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 5: *", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 52: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 26: $this->assertSame([], Psr17FactoryProvider::getFactories());", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 1: assertSame($route, $routeContext->getRoute());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 41: {", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 127: $routingMiddleware = new RoutingMiddleware(", "file": "Slim/App.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 387: public function testMiddlewareObjMiddlewareClass(): void", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 291: $output = $renderer->__invoke($exception, true);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 291, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 30: use function sprintf;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 32: public function setDefaultInvocationStrategy(InvocationStrategyInterface $strategy): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 46: private static $data = [];", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 19: public static $CalledContainer = null;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 21: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Comment est-ce que le résolveur gère les middlewares qui sont des objets plutôt que des fonctions, surtout quand il n'y a pas de conteneur injecté ?", "query": "resolve middleware object", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lang": "fr", "candidates": [{"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\ndefines testMiddlewareObjMiddlewareClass", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Comment est-ce que le résolveur gère les middlewares qui sont des objets plutôt que des fonctions, surtout quand il n'y a pas de conteneur injecté ?", "query": "resolve middleware object", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Comment est-ce que le résolveur gère les middlewares qui sont des objets plutôt que des fonctions, surtout quand il n'y a pas de conteneur injecté ?", "query": "resolve middleware object", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lang": "fr", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php lines=15-38\nread MockPsr17FactoryWithoutStreamFactory for detail", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "MockPsr17FactoryWithoutStreamFactory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=207-230\nread handle for detail", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=48-71\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "crea una instancia del resolvedor de funciones usando el contenedor opcional", "query": "callable resolver container", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lang": "es", "candidates": [{"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 26: $middleware = new OutputBufferingMiddleware($this->getStreamFactory());", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 29: }", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 56: $routeCollectorProxy->getCallableResolver()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 552: $cases[] = [$method, $uri, $callback];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 552, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 263: protected function writeToErrorLog(): void", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 170: $this->assertSame($callableResolverProphecy->reveal(), $route->getCallableResolver());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 170, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 24: public const CHUNK_SIZE = 1;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 76: * @param string $reasonPhrase", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 67: * If we don't have a data element for this segment in the provided $data", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 226: return $handler->handle($request);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 226, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 71: return $responseFactory->createResponse();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 22: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 141: }", "file": "Slim/Routing/Route.php", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 18: interface RouteInterface", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 44: {", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 143: public function getCallableResolver(): CallableResolverInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 7: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 25: public function getCallableResolver(): CallableResolverInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 15: {", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 66: public function getCallableResolver(): CallableResolverInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 66: protected function getCallableResolver(?ContainerInterface $container = null): CallableResolverInterface", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 68: {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 29: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 39: $callableResolver = $app->getCallableResolver();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "crea una instancia del resolvedor de funciones usando el contenedor opcional", "query": "callable resolver container", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lang": "es", "candidates": [{"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "crea una instancia del resolvedor de funciones usando el contenedor opcional", "query": "callable resolver container", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionProperty", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> ProphecyTrait", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Slim", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Psr", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/TestCase.php -> ReflectionMethod", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "crea una instancia del resolvedor de funciones usando el contenedor opcional", "query": "callable resolver container", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lang": "es", "candidates": [{"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=244-267\nread testXMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererRenderHttpException", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=577-600\nread testRouteGroupPattern for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Es gibt ein Problem: Wenn die Instanziierung der Fabrik für die Antwort fehlschlägt, wird eine Laufzeitexception geworfen, anstatt das Problem sauber zu handhaben oder eine alternative Lösung anzubieten. Bitte prüfe die Implementierung der statischen Methode, die die Fabrik für die HTTP-Antworten bereitstellt.", "query": "response factory exception", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lang": "de", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 94: $this->assertInstanceOf(DecoratedResponseFactory::class, $app->getResponseFactory());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 94, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 74: }", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 22: public static function getResponseFactory(): ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 5: *", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 83: *", "file": "Slim/CallableResolver.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 36: /** @var ResponseInterface */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 124: public function testSetServerRequestCreatorWithDecorators()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 264: unset($GLOBALS['connection_status_return']);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 22: */", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 174: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 23: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 33: $response = $responseFactory", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 51: public function get(string $pattern, $callable): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 54: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 141: $responseFactory = $psr17factory::getResponseFactory();", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 141, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 55: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 39: $responseFactory = $this->getResponseFactory();", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 26: StreamFactoryInterface $streamFactory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 274: if ($routeName !== null && !isset($this->routesByName[$routeName])) {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 549: $dispatcher->add($middlewareProphecy->reveal());", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 13: class InvokableTest", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Es gibt ein Problem: Wenn die Instanziierung der Fabrik für die Antwort fehlschlägt, wird eine Laufzeitexception geworfen, anstatt das Problem sauber zu handhaben oder eine alternative Lösung anzubieten. Bitte prüfe die Implementierung der statischen Methode, die die Fabrik für die HTTP-Antworten bereitstellt.", "query": "response factory exception", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lang": "de", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Es gibt ein Problem: Wenn die Instanziierung der Fabrik für die Antwort fehlschlägt, wird eine Laufzeitexception geworfen, anstatt das Problem sauber zu handhaben oder eine alternative Lösung anzubieten. Bitte prüfe die Implementierung der statischen Methode, die die Fabrik für die HTTP-Antworten bereitstellt.", "query": "response factory exception", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Es gibt ein Problem: Wenn die Instanziierung der Fabrik für die Antwort fehlschlägt, wird eine Laufzeitexception geworfen, anstatt das Problem sauber zu handhaben oder eine alternative Lösung anzubieten. Bitte prüfe die Implementierung der statischen Methode, die die Fabrik für die HTTP-Antworten bereitstellt.", "query": "response factory exception", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lang": "de", "candidates": [{"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ミドルウェアスタックを管理して、リクエストハンドラを起動するクラスの定義を確認したい", "query": "middleware dispatcher", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lang": "ja", "candidates": [{"text": "File: Slim/Logger.php\nLine 1: addMiddleware($outputBufferingMiddleware);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 14: {", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 74: $middlewareDispatcher = new MiddlewareDispatcher($routeRunner, $this->callableResolver, $container);", "file": "Slim/App.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 115: $this->assertSame('POST', $request->getMethod());", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 1: $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ミドルウェアスタックを管理して、リクエストハンドラを起動するクラスの定義を確認したい", "query": "middleware dispatcher", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ミドルウェアスタックを管理して、リクエストハンドラを起動するクラスの定義を確認したい", "query": "middleware dispatcher", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lang": "ja", "candidates": [{"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Wie wird die Route-Handler-Funktion aufgerufen, wenn die HTTP-Anfrage, die Antwort und die einzelnen Routenargumente als separate Parameter übergeben werden sollen?", "query": "route callable invocation", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lang": "de", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 21: use function in_array;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 67: {", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 53: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 13: interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 29: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 40: }", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 19: protected $code = 401;", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 86: * @param TContainerInterface $container", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 32: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 16: {", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 31: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 28: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 7: use Slim\\Routing\\RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 17: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 116: $response = $handler->__invoke($request, $exception, false, false, false);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 143: $this->assertSame($name, $known['name']);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 16: /**", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 465: * object that is returned by __invoke().", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 465, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 15: class MockPsr17Factory extends Psr17Factory", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 17: public function __invoke(Throwable $exception, bool $displayErrorDetails): string;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 45: public function detach()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 5: *", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Wie wird die Route-Handler-Funktion aufgerufen, wenn die HTTP-Anfrage, die Antwort und die einzelnen Routenargumente als separate Parameter übergeben werden sollen?", "query": "route callable invocation", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lang": "de", "candidates": [{"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Wie wird die Route-Handler-Funktion aufgerufen, wenn die HTTP-Anfrage, die Antwort und die einzelnen Routenargumente als separate Parameter übergeben werden sollen?", "query": "route callable invocation", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> function", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wie wird die Route-Handler-Funktion aufgerufen, wenn die HTTP-Anfrage, die Antwort und die einzelnen Routenargumente als separate Parameter übergeben werden sollen?", "query": "route callable invocation", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lang": "de", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=365-388\nread testOptions for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=23-46\nread RequestResponseArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "RequestResponseArgs", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpNotFoundException.php lines=13-36\nread HttpNotFoundException for detail", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "HttpNotFoundException", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "라우팅 결과가 없을 때 라우팅이 정상적으로 수행되는지 확인하는 테스트 코드 찾아줘", "query": "routing unavailable test", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lang": "ko", "candidates": [{"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 325: // use a mock object here as ErrorHandler cannot be directly instantiated", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 325, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 92: 'John',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 24: * Default Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 99: return $this;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 415: ->will(function ($args): ResponseInterface {", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 213: $body = new SlowPokeStream();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 37: $args = [];", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 116: }", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 34: ResponseInterface $response,", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'GuzzleHttp\\Psr7\\HttpFactory';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 3: /**", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 33: $response = $responseFactory", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 46: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 18: }", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 32: {", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 210: $responseFactoryProphecy->reveal(),", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 88: }", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 26: public function testRoutingIsPerformedIfRoutingResultsAreUnavailable()", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 52: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 32: */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 84: public static function setSlimHttpDecoratorsAutomaticDetection(bool $enabled): void", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "라우팅 결과가 없을 때 라우팅이 정상적으로 수행되는지 확인하는 테스트 코드 찾아줘", "query": "routing unavailable test", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lang": "ko", "candidates": [{"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\ndefines testRoutingIsPerformedIfRoutingResultsAreUnavailable", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "라우팅 결과가 없을 때 라우팅이 정상적으로 수행되는지 확인하는 테스트 코드 찾아줘", "query": "routing unavailable test", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "라우팅 결과가 없을 때 라우팅이 정상적으로 수행되는지 확인하는 테스트 코드 찾아줘", "query": "routing unavailable test", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lang": "ko", "candidates": [{"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1184-1207\nread testInvokeWithMatchingRouteWithSetArguments for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArguments", "line": 1184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=519-542\nread testCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testCallableClassNotFoundThrowException", "line": 519, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=123-146\nread testCallingWithMixedKnownAndUnknownParametersAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=130-153\nread setAccessible for detail", "file": "tests/TestCase.php", "symbol": "setAccessible", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=227-250\nread isReadable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isReadable", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=97-120\nread registerDefaultBodyParsers for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerDefaultBodyParsers", "line": 97, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "générer le rendu texte brut des erreurs slimg", "query": "plain text error renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lang": "fr", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nLine 85: foreach (self::$data as $item) {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 32: static::$strategy = $trace[1]['class'];", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 264: $meta = stream_get_meta_data($this->stream);", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 40: [GuzzlePsr17Factory::class, GuzzleServerRequest::class],", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 28: static::$CalledCount++;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 23: class PlainTextErrorRenderer extends AbstractErrorRenderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 23: $exception = new HttpNotFoundException($request);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 18: use Slim\\Error\\Renderers\\PlainTextErrorRenderer;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 148: $middleware,", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 148, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 30: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 27: ): ResponseFactoryInterface {", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 35: callable $callable,", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 19: {", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 23: * @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 247: return new RouteGroup($pattern, $callable, $this->callableResolver, $routeCollectorProxy);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 20: use Slim\\Error\\Renderers\\PlainTextErrorRenderer;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\nLine 14: use Psr\\Log\\InvalidArgumentException;", "file": "Slim/Logger.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 35: * @license https://github.com/zendframework/zend-diactoros/blob/master/LICENSE.md New BSD License", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 22: use Slim\\Error\\Renderers\\PlainTextErrorRenderer;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\nLine 78: {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "générer le rendu texte brut des erreurs slimg", "query": "plain text error renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lang": "fr", "candidates": [{"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "générer le rendu texte brut des erreurs slimg", "query": "plain text error renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> function", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "générer le rendu texte brut des erreurs slimg", "query": "plain text error renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lang": "fr", "candidates": [{"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=342-365\nread testAddClosureMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddClosureMiddleware", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=304-327\nread testObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClassInContainer", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "localiza a inicialização do objeto que armazena o resultado do despacho da rota com o método e a uri", "query": "route arguments dispatcher", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockAction.php\nLine 28: $contents = json_encode(compact('name') + ['arguments' => $arguments[2]]);", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 58: public function __construct(", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 125: public function redirect(string $from, $to, int $status = 302): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 3: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 130: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 46: public function __construct(", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 1: createResponse();", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 165: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 55: public function __construct(", "file": "Slim/App.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 23: public function __construct(ServerRequestInterface $request, ?string $message = null, ?Throwable $previous = null)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 23: */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 19: */", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 31: public function __construct()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 39: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 155: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 88: public function __construct(", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 45: public function detach()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "localiza a inicialização do objeto que armazena o resultado do despacho da rota com o método e a uri", "query": "route arguments dispatcher", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "localiza a inicialização do objeto que armazena o resultado do despacho da rota com o método e a uri", "query": "route arguments dispatcher", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lang": "pt", "candidates": [{"text": "Next: read tests/Factory/AppFactoryTest.php lines=125-148\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=170-193\nread addBodyParsingMiddleware for detail", "file": "Slim/App.php", "symbol": "addBodyParsingMiddleware", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=101-124\nread testSetServerRequestCreatorWithoutDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2102-2125\nread testInvokeSequentialProcessAfterAddingAnotherRouteArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessAfterAddingAnotherRouteArgument", "line": 2102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=509-532\nread testRouteCallableAppendsCorrectOutputToResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableAppendsCorrectOutputToResponse", "line": 509, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How does the method to append a new layer to the execution stack work, and what is the order of operation?", "query": "middleware stack add", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lang": "en", "candidates": [{"text": "File: tests/Routing/RouteTest.php\nLine 279: $route->add($mw);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 279, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 19: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 177: ->willReturn($routingResults)", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 38: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 275: public function add($middleware): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 275, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 51: $method = $class->getMethod('determineRenderer');", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 65: protected array $errorRenderers = [", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 131: ->createServerRequestFromGlobals()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 28: public function add($middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 85: public function add($middleware): MiddlewareDispatcherInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 39: {", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 5: *", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 24: protected $message = 'Unauthorized.';", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 167: return $resolved;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 13: class LaminasDiactorosPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 37: public static function isResponseFactoryAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 109: public function add($middleware): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 109, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 46: $app->add($routingMiddleware);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 626: $app->add($middlewareProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 626, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 74: {", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 70: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How does the method to append a new layer to the execution stack work, and what is the order of operation?", "query": "middleware stack add", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lang": "en", "candidates": [{"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "How does the method to append a new layer to the execution stack work, and what is the order of operation?", "query": "middleware stack add", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How does the method to append a new layer to the execution stack work, and what is the order of operation?", "query": "middleware stack add", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lang": "en", "candidates": [{"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=65-88\nread getSize for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=42-65\nread seedMiddlewareStack for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=125-148\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ajoute une classe de fabrication en début de liste", "query": "unshift factories", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lang": "fr", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 31: use function trim;", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 94: }", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 1: getCallableResolver();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 49: public static function addFactory(string $factory): void", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 34: $text .= $this->formatExceptionFragment($exception);", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 119: ],", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 29: */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 15: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 122: *", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 76: }", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 26: public static function addFactory(string $factory): void;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 131: $this->contentType = $this->determineContentType($request);", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 15: use Psr\\Http\\Message\\ServerRequestFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 24: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 37: Psr17FactoryProvider::addFactory('Factory 2');", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 59: */", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 396: $responseProphecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 396, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 41: {", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ajoute une classe de fabrication en début de liste", "query": "unshift factories", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lang": "fr", "candidates": [{"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ajoute une classe de fabrication en début de liste", "query": "unshift factories", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ajoute une classe de fabrication en début de liste", "query": "unshift factories", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lang": "fr", "candidates": [{"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=52-75\nread fullUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "fullUrlFor", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=153-176\nread testAppIsCreatedWithInstancesFromSetters for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInstancesFromSetters", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=135-158\nread testDuplicateVariableRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableRoute", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=98-121\nread seek for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "seek", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=573-596\nread testInvokeDeferredCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "registrar un manejador de errores para uno o varios tipos con soporte para subclases", "query": "set error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lang": "es", "candidates": [{"text": "File: Slim/Handlers/ErrorHandler.php\nLine 11: namespace Slim\\Handlers;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 43: parent::isServerRequestCreatorAvailable()", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 182: // Create the server request.", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 91: /**", "file": "Slim/Routing/Route.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 40: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 60: return $this->responseFactory;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 37: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 19: protected static string $serverRequestCreatorClass = '';", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 63: $errorMiddleware->setErrorHandler($exception, $handler);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 190: public function setErrorHandler($typeOrTypes, $handler, bool $handleSubclasses = false): self", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\nLine 127: * @param ReflectionProperty|ReflectionMethod $ref", "file": "tests/TestCase.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 18: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 20: use function explode;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 90: $request = $this->createServerRequest('/', 'GET');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 37: }", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 17: interface Psr17FactoryInterface", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 18: * Default route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 147: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 3: /**", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 125: 'no-contenttype' => [", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "registrar un manejador de errores para uno o varios tipos con soporte para subclases", "query": "set error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "registrar un manejador de errores para uno o varios tipos con soporte para subclases", "query": "set error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> function", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "registrar un manejador de errores para uno o varios tipos con soporte para subclases", "query": "set error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lang": "es", "candidates": [{"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpUnauthorizedException.php lines=14-37\nread HttpUnauthorizedException for detail", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "HttpUnauthorizedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "El proceso principal de ejecución de la aplicación no permite pasar una petición personalizada de forma consistente si se intenta ejecutar el ciclo de vida completo, ya que tiende a reconstruir la petición desde las variables globales de PHP si no se le proporciona una explícitamente, lo que impide pruebas unitarias o ejecuciones simuladas controladas.", "query": "run application middleware", "file": "Slim/App.php", "symbol": "run", "line": 186, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteParser.php\nLine 90: throw new InvalidArgumentException('Missing data for URL segment: ' . $segmentName);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 28: * - header(): we want to aggregate calls to this function.", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 261: $pattern", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 261, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 7: */", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 37: * @param array> $queryParams Optional query string parameters", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 186: public function run(?ServerRequestInterface $request = null): void", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 32: $html = '

The application could not run because of the following error:

';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 127: public function run(ServerRequestInterface $request): ResponseInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 17: use function array_values;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 315: public function run(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 315, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 33: foreach ($this->routeCollector->getRoutes() as $route) {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 41: '/.*The application could not run because of the following error:.*/',", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 282: $route->run($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 282, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 22: /**", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 23: * that have been added before will be executed after the newly", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 209: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 30: parent::__construct($request, $this->message, $this->code, $previous);", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 74: return $route->run($request);", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 24: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 3: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 33: $slimHttpServerRequestCreator = new SlimHttpServerRequestCreator($serverRequestCreatorProphecy->reveal());", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "El proceso principal de ejecución de la aplicación no permite pasar una petición personalizada de forma consistente si se intenta ejecutar el ciclo de vida completo, ya que tiende a reconstruir la petición desde las variables globales de PHP si no se le proporciona una explícitamente, lo que impide pruebas unitarias o ejecuciones simuladas controladas.", "query": "run application middleware", "file": "Slim/App.php", "symbol": "run", "line": 186, "lang": "es", "candidates": [{"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "El proceso principal de ejecución de la aplicación no permite pasar una petición personalizada de forma consistente si se intenta ejecutar el ciclo de vida completo, ya que tiende a reconstruir la petición desde las variables globales de PHP si no se le proporciona una explícitamente, lo que impide pruebas unitarias o ejecuciones simuladas controladas.", "query": "run application middleware", "file": "Slim/App.php", "symbol": "run", "line": 186, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/App.php -> function", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "El proceso principal de ejecución de la aplicación no permite pasar una petición personalizada de forma consistente si se intenta ejecutar el ciclo de vida completo, ya que tiende a reconstruir la petición desde las variables globales de PHP si no se le proporciona una explícitamente, lo que impide pruebas unitarias o ejecuciones simuladas controladas.", "query": "run application middleware", "file": "Slim/App.php", "symbol": "run", "line": 186, "lang": "es", "candidates": [{"text": "Next: read tests/AppTest.php lines=2102-2125\nread testInvokeSequentialProcessAfterAddingAnotherRouteArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessAfterAddingAnotherRouteArgument", "line": 2102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=38-61\nread getErrorDescription for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorDescription", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=52-75\nread process for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "process", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=509-532\nread testRouteCallableAppendsCorrectOutputToResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableAppendsCorrectOutputToResponse", "line": 509, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=227-250\nread isReadable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isReadable", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=166-189\nread testJSONErrorRendererSubstitutesInvalidUtf8 for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererSubstitutesInvalidUtf8", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "verificar se o tipo de conteúdo forçado prevalece sobre a negociação do header accept", "query": "forceContentType wins", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 41: }", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 22: use Slim\\Routing\\RouteContext;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 54: ) {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 86: private function resolveByPredicate($toResolve, callable $predicate, string $defaultMethod): callable", "file": "Slim/CallableResolver.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 21: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 22: class OutputBufferingMiddlewareTest extends TestCase", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 50: $middlewareDispatcher = new MiddlewareDispatcher($dispatcher, $callableResolver);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 13: interface CallableResolverInterface", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 42: $output", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 28: static::$CalledCount++;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 80: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 153: public function testForcedContentTypeWinsOverSubsequentNegotiation()", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 16: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 7: */", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 38: array $routeArguments", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 127: $psr17FactoryProvider = new Psr17FactoryProvider();", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 16: /**", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 197: $routeCollectorProphecy", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 79: $this->middlewareDispatcher = $middlewareDispatcher;", "file": "Slim/App.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 18: /** @api */", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 66: $request = $this->createServerRequest('/foo/baz/');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 30: if ($appendToOutput !== null) {", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "verificar se o tipo de conteúdo forçado prevalece sobre a negociação do header accept", "query": "forceContentType wins", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lang": "pt", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "verificar se o tipo de conteúdo forçado prevalece sobre a negociação do header accept", "query": "forceContentType wins", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "verificar se o tipo de conteúdo forçado prevalece sobre a negociação do header accept", "query": "forceContentType wins", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lang": "pt", "candidates": [{"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=207-230\nread testResolutionToAnInvokableClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClassInContainer", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1357-1380\nread testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument", "line": 1357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "encontre o método que lança uma exceção ao tentar desconectar o fluxo de dados simulado", "query": "detach exception implemented", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 27: protected string $description = 'The server cannot or will not process ' .", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 16: * @var int", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 50: public function detach()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 29: {", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 21: {", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 171: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 45: public function detach()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 13: class SlimPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 15: use Psr\\Http\\Message\\UriInterface;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 68: // Test the default error renderer", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 42: public function getPattern(): string;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 20: * @var object|string", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 91: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 48: public function createServerRequest(string $uri, string $method = 'GET', array $data = []): ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 100: protected ResponseFactoryInterface $responseFactory;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 134: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 440: $logger = $this->getMockLogger();", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 440, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 29: $this->setAccessible($reflectionProperty);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 125: $this->detach();", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 125, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 15: }", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "encontre o método que lança uma exceção ao tentar desconectar o fluxo de dados simulado", "query": "detach exception implemented", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines detach", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "encontre o método que lança uma exceção ao tentar desconectar o fluxo de dados simulado", "query": "detach exception implemented", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "encontre o método que lança uma exceção ao tentar desconectar o fluxo de dados simulado", "query": "detach exception implemented", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lang": "pt", "candidates": [{"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=24-47\nread setFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "setFactories", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=45-68\nread __construct for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "__construct", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=52-75\nread fullUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "fullUrlFor", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1592-1615\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments", "line": 1592, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=98-121\nread seek for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "seek", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Comment où je peux récupérer la liste de tous les objets de routage ?", "query": "get all routes", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 32: /**", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 65: $routes = $routeCollector->getRoutes();", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 1: routeCollector->getRoutes() as $route) {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 366: {", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 366, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 62: public function getRoutes(): array;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\nLine 34: ) {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 23: $this->assertInstanceOf(HttpUnauthorizedException::class, $exception);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 127: public function getDefaultErrorHandler()", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 32: }", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 47: /**", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 27: $this->request = $this->createMock(ServerRequestInterface::class);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 377: $containerProphecy", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 5: * header() and headers_sent() so we can test that they do the right thing.", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 24: {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 259: $this->container,", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 259, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 28: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 5: *", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 176: public function getRoutes(): array", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 28: public static $hasBeenInstantiated = false;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Comment où je peux récupérer la liste de tous les objets de routage ?", "query": "get all routes", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lang": "fr", "candidates": [{"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Comment où je peux récupérer la liste de tous les objets de routage ?", "query": "get all routes", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Comment où je peux récupérer la liste de tous les objets de routage ?", "query": "get all routes", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lang": "fr", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=46-69\nread testStyleCustomInvalid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomInvalid", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=125-148\nread addRoutingMiddleware for detail", "file": "Slim/App.php", "symbol": "addRoutingMiddleware", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=157-180\nread any for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "any", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Quand on convertit le flux en chaîne de caractères, si le flux est positionnable, il doit être réinitialisé au début avant de récupérer son contenu. Si une exception se produit lors de cette opération, la méthode doit retourner une chaîne vide au lieu de lever l'erreur.", "query": "convert stream to string seekable reset", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lang": "fr", "candidates": [{"text": "File: tests/AppTest.php\nLine 178: $streamProphecy->__toString()->willReturn('Hello World');", "file": "tests/AppTest.php", "symbol": "", "line": 178, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 106: public function __toString(): string", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 81: protected bool $isContentTypeForced = false;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 43: /** @var ServerRequestInterface */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 37: public function __toString(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 194: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 28: 'or number of requests they can send in a given period of time.';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 3: /**", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 7: */", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 74: $this->__toString()->willReturn($value);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 424: self::assertStringContainsString(", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 424, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 18: {", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 42: return $handler->handle($request);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 1: Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Quand on convertit le flux en chaîne de caractères, si le flux est positionnable, il doit être réinitialisé au début avant de récupérer son contenu. Si une exception se produit lors de cette opération, la méthode doit retourner une chaîne vide au lieu de lever l'erreur.", "query": "convert stream to string seekable reset", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lang": "fr", "candidates": [{"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=756-779\nread testAddBodyParsingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddBodyParsingMiddleware", "line": 756, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=126-149\nread testResponseWithStreamReadYieldingLessBytesThanAsked for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseWithStreamReadYieldingLessBytesThanAsked", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=17-40\nread createServerRequestFromGlobals for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=70-93\nread isReadable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Dónde se valida que el valor obtenido sea realmente una función ejecutable y qué pasa si falla?", "query": "is_callable RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 1: resolveMiddleware('an_invokable');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 20: * @var object|string", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 9: interface RouteResolverInterface", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 24: bool $logErrorDetails", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 33: {", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 188: $responseFactoryProphecy->reveal(),", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 17: public function __invoke(Throwable $exception, bool $displayErrorDetails): string;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 172: public function testCacheFileDoesNotExistsAndDirectoryIsNotWritable()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'GuzzleHttp\\Psr7\\ServerRequest';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 16: /**", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 13: use Error;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 140: $this->assertSame($methods, $results->getAllowedMethods());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 7: */", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 152: $parts = explode('+', $mediaType);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 7: */", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 16: use Slim\\Tests\\TestCase;", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 46: private static $data = [];", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 30: $routeDefinitionCallback = function (FastRouteCollector $r): void {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 21: /**", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 157: private function assertCallable($resolved, $toResolve): callable", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Dónde se valida que el valor obtenido sea realmente una función ejecutable y qué pasa si falla?", "query": "is_callable RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lang": "es", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Dónde se valida que el valor obtenido sea realmente una función ejecutable y qué pasa si falla?", "query": "is_callable RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Dónde se valida que el valor obtenido sea realmente una función ejecutable y qué pasa si falla?", "query": "is_callable RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lang": "es", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=17-40\nread ContentLengthMiddlewareTest for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=167-190\nread testSlimCallableAsArrayContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArrayContainer", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=577-600\nread testRouteGroupPattern for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=157-180\nread assertCallable for detail", "file": "Slim/CallableResolver.php", "symbol": "assertCallable", "line": 157, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Como eu testo a execução sequencial de um processo que aceita argumentos opcionais e mantém o estado dos argumentos passados?", "query": "sequential process arguments", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lang": "pt", "candidates": [{"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 41: if (", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 68: $middlewareDispatcher ?? static::$middlewareDispatcher", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 14: class HttpForbiddenException extends HttpSpecializedException", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 181: $containerProphecy = $this->prophesize(ContainerInterface::class);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 61: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 33: ResponseInterface $response,", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 33: }", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 37: * @param string $style Either \"append\" or \"prepend\"", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 41: protected ?LoggerInterface $logger = null;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 40: }", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 5: *", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 22: {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 58: 'greeting' => 'hello',", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 32: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 2047: public function testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs(): void", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 31: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 21: * Default Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 10: {", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 33: }", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 163: $this->assertSame($output, json_encode(['message' => 'Slim Application Error']));", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 42: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como eu testo a execução sequencial de um processo que aceita argumentos opcionais e mantém o estado dos argumentos passados?", "query": "sequential process arguments", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lang": "pt", "candidates": [{"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como eu testo a execução sequencial de um processo que aceita argumentos opcionais e mantém o estado dos argumentos passados?", "query": "sequential process arguments", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como eu testo a execução sequencial de um processo que aceita argumentos opcionais e mantém o estado dos argumentos passados?", "query": "sequential process arguments", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lang": "pt", "candidates": [{"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "미들웨어로 사용할 콜러블을 가져오는 로직이 어디에 구현되어 있어?", "query": "resolve middleware", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 70: * Add PATCH route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 41: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 23: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 76: public function resolveMiddleware($toResolve): callable", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 18: /** @api */", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 277: $this->expectExceptionMessage('{} is not resolvable');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 277, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 25: public const ROUTING_RESULTS = '__routingResults__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 41: */", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 42: $response->getBody()->write(\"{$calledCount}\");", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 51: $this->emitBody($response);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 14: {", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 24: use function ob_start;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 83: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 176: $callable = $this->callableResolver->resolveMiddleware($this->middleware);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 117: })->bindTo($this);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 54: $callableMiddleware = $resolver->resolveMiddleware($test);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 54, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 93: protected ResponseFactoryInterface $responseFactory;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 27: public function resolveMiddleware($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 108: });", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 53: 'code' => $code,", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 35: return static::$factories;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 47: public function custom(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 563: $middlewareProphecy->process(Argument::cetera())->willReturn($responseProphecy->reveal());", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 563, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "미들웨어로 사용할 콜러블을 가져오는 로직이 어디에 구현되어 있어?", "query": "resolve middleware", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lang": "ko", "candidates": [{"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "미들웨어로 사용할 콜러블을 가져오는 로직이 어디에 구현되어 있어?", "query": "resolve middleware", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "미들웨어로 사용할 콜러블을 가져오는 로직이 어디에 구현되어 있어?", "query": "resolve middleware", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lang": "ko", "candidates": [{"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=21-44\nread process for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "process", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=729-752\nread testPatternCanBeChanged for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testPatternCanBeChanged", "line": 729, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=425-448\nread testRouteMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteMethodNotFoundThrowException", "line": 425, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我需要获取当前路由的唯一标识符。请提供一个方法来返回该路由的ID。", "query": "route unique identifier", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\nLine 34: $r->addRoute($route->getMethods(), $basePath . $route->getPattern(), $route->getIdentifier());", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 216: * https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4", "file": "Slim/App.php", "symbol": "", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 87: $results = $dispatcher->dispatch($method, $uri);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 14: use Psr\\Container\\ContainerInterface;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 67: $callable($this->routeCollectorProxy);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 49: * @param array $data Named argument replacement data", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 137: $this->assertSame($route->getIdentifier(), $results->getRouteIdentifier());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 137, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 188: unset($this->routesByName[$name], $this->routes[$route->getIdentifier()]);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 188, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 7: */", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 388: $this->assertSame('route0', $route->getIdentifier());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 388, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 22: class MethodOverrideMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 76: public function getIdentifier(): string;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 7: */", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 66: $this->assertSame($route, $routes[$route->getIdentifier()]);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 19: use Slim\\Interfaces\\ServerRequestCreatorInterface;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 55: /**", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 47: $routingResultsProphecy = $this->prophesize(RoutingResults::class);", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 34: );", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 79: }", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 130: if (!$this->isContentTypeForced) {", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 227: public function getIdentifier(): string", "file": "Slim/Routing/Route.php", "symbol": "", "line": 227, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 25: public function __construct(ServerRequestCreatorInterface $serverRequestCreator)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 23: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我需要获取当前路由的唯一标识符。请提供一个方法来返回该路由的ID。", "query": "route unique identifier", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lang": "zh", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我需要获取当前路由的唯一标识符。请提供一个方法来返回该路由的ID。", "query": "route unique identifier", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我需要获取当前路由的唯一标识符。请提供一个方法来返回该路由的ID。", "query": "route unique identifier", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lang": "zh", "candidates": [{"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "找一下那个测试魔术方法 __invoke 的地方,就是用了 Prophecy 模拟流对象写入并累加字符串的那个测试。", "query": "test __invoke stream", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 18: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 132: $app = new App($responseFactory);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 23: bool $logErrors,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 25: ResponseFactoryInterface $responseFactory,", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 3: /**", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 29: {", "file": "Slim/Logger.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 269: $body = $this->getStreamFactory()->createStreamFromResource(fopen('php://input', 'r+'));", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 21: * This file exists to allow overriding the various output-related functions", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 21: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 36: /** @var TContainerInterface $container */", "file": "Slim/CallableResolver.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 23: $exception = new HttpNotFoundException($request);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 22: class MethodOverrideMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 15: use Slim\\Interfaces\\ServerRequestCreatorInterface;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 28: }", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 47: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1545: public function testInvokeFunctionName(): void", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\nLine 53: * @return StreamFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 114: $this->assertSame($this->response, $response);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 30: * @var RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null>", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 14: {", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "找一下那个测试魔术方法 __invoke 的地方,就是用了 Prophecy 模拟流对象写入并累加字符串的那个测试。", "query": "test __invoke stream", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lang": "zh", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "找一下那个测试魔术方法 __invoke 的地方,就是用了 Prophecy 模拟流对象写入并累加字符串的那个测试。", "query": "test __invoke stream", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "找一下那个测试魔术方法 __invoke 的地方,就是用了 Prophecy 模拟流对象写入并累加字符串的那个测试。", "query": "test __invoke stream", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lang": "zh", "candidates": [{"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=184-207\nread setPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "setPattern", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimPsr17Factory.php lines=13-36\nread SlimPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "SlimPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=78-101\nread testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=28-51\nread log for detail", "file": "Slim/Logger.php", "symbol": "log", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "HTTP 응답 객체를 생성하기 위해 상태 코드와 이유 구문을 받아들이는 인터페이스 메서드를 찾아주세요. 이 메서드는 PSR-7 표준에 맞는 ResponseInterface를 반환해야 합니다.", "query": "createResponse method", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lang": "ko", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 55: public function createResponse(int $statusCode = 200, string $reasonPhrase = ''): ResponseInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Route.php\nLine 361: $response = $this->responseFactory->createResponse();", "file": "Slim/Routing/Route.php", "symbol": "", "line": 361, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 112: $body = $this", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17FactoryProvider;", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 176: */", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 37: $this->assertSame('Description', $exception->getDescription());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 816: $streamProphecy = $this->prophesize(StreamInterface::class);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 816, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 59: return $responseFactory->createResponse();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 59, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 57: $response = $responseFactory->createResponse();", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 50: $response = $this->createResponse(500);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 22: callable $callable,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 26: * @param ResponseInterface $response The response object.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 97: ->createResponse()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 3: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 26: * @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 37: $prophet = new Prophet();", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 42: return $responseFactory->createResponse();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 23: public function getResponseFactory(): ResponseFactoryInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 218: $callableMiddleware = $resolver->resolveMiddleware('an_invokable');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 23: SlimPsr17Factory::class,", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 479: public function testLogErrorRenderer()", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 50: $renderer = new HtmlErrorRenderer();", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "HTTP 응답 객체를 생성하기 위해 상태 코드와 이유 구문을 받아들이는 인터페이스 메서드를 찾아주세요. 이 메서드는 PSR-7 표준에 맞는 ResponseInterface를 반환해야 합니다.", "query": "createResponse method", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lang": "ko", "candidates": [{"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "HTTP 응답 객체를 생성하기 위해 상태 코드와 이유 구문을 받아들이는 인터페이스 메서드를 찾아주세요. 이 메서드는 PSR-7 표준에 맞는 ResponseInterface를 반환해야 합니다.", "query": "createResponse method", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "HTTP 응답 객체를 생성하기 위해 상태 코드와 이유 구문을 받아들이는 인터페이스 메서드를 찾아주세요. 이 메서드는 PSR-7 표준에 맞는 ResponseInterface를 반환해야 합니다.", "query": "createResponse method", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lang": "ko", "candidates": [{"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=227-250\nread testXMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererDisplaysErrorDetails", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=55-78\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createResponse", "line": 55, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=27-50\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "process", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=53-76\nread testAppend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testAppend", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=165-188\nread map for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "map", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=320-343\nread testAny for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testAny", "line": 320, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How do I retrieve the specific function used to handle a particular content type within the request processing layer?", "query": "get media type parser", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lang": "en", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 27: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 14: class HttpForbiddenException extends HttpSpecializedException", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 103: }", "file": "tests/TestCase.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 56: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 1: reveal();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 459, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 465: };", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 465, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 40: /** @var FastRouteDispatcher $dispatcher */", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 13: use Exception;", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 22: {", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 121: $request = $this->createServerRequest('/', 'POST');", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 29: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 20: * @var object|string", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 206: $this->assertSame($parser, $middleware->getBodyParser('text/foo'));", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 206, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 7: */", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 24: * @param array $context", "file": "Slim/Logger.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 41: return $this->request;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 89: public function getBodyParser(string $mediaType): callable", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 178: ->shouldBeCalled();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How do I retrieve the specific function used to handle a particular content type within the request processing layer?", "query": "get media type parser", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lang": "en", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "How do I retrieve the specific function used to handle a particular content type within the request processing layer?", "query": "get media type parser", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> function", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> const", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How do I retrieve the specific function used to handle a particular content type within the request processing layer?", "query": "get media type parser", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lang": "en", "candidates": [{"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=19-42\nread ContentLengthMiddleware for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "ContentLengthMiddleware", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=43-66\nread testCreateServerRequestFromGlobals for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobals", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=65-88\nread getSize for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Comment instancier et retourner une fabrique de réponses conforme à l'interface ResponseFactoryInterface ?", "query": "response factory instantiation", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lang": "fr", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 22: abstract class Psr17Factory implements Psr17FactoryInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/App.php\nLine 141: * @param LoggerInterface|null $logger", "file": "Slim/App.php", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 24: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 18: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 70: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 13: class GuzzlePsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 167: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 13: class LaminasDiactorosPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 17: class SlimHttpPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 81: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 16: * @var int", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 1: has(RouteCollectorInterface::class)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 328, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 41: }", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 85: public function testSetPsr17FactoryProvider()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 77: */", "file": "tests/TestCase.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 81: throw $exception;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 26: $response->getBody()->write('Body');", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 13: use Nyholm\\Psr7\\Factory\\Psr17Factory;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Comment instancier et retourner une fabrique de réponses conforme à l'interface ResponseFactoryInterface ?", "query": "response factory instantiation", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lang": "fr", "candidates": [{"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Comment instancier et retourner une fabrique de réponses conforme à l'interface ResponseFactoryInterface ?", "query": "response factory instantiation", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> function", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Comment instancier et retourner une fabrique de réponses conforme à l'interface ResponseFactoryInterface ?", "query": "response factory instantiation", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lang": "fr", "candidates": [{"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=157-180\nread any for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "any", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=130-153\nread setAccessible for detail", "file": "tests/TestCase.php", "symbol": "setAccessible", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=81-104\nread getArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArgument", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=23-46\nread RouteRunner for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "RouteRunner", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1184-1207\nread testInvokeWithMatchingRouteWithSetArguments for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArguments", "line": 1184, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "configura el registro de errores de php para que escriba en un archivo temporal antes de ejecutar las pruebas", "query": "error log temp", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lang": "es", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 16: /**", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 85: protected ServerRequestInterface $request;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 20: protected static string $serverRequestCreatorMethod = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 80: public function isSeekable(): bool", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 43: static::$factories = $factories;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 31: if ($exception instanceof HttpException) {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 95: private function createServerRequestWithRouteAttributes(): ServerRequestInterface", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 58: public static function setupBeforeClass(): void", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\nLine 83: ? $responseFactoryFromContainer", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 188: *", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 66: $routeCollector ?? static::$routeCollector,", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 325: // use a mock object here as ErrorHandler cannot be directly instantiated", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 325, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 224: return $response;", "file": "Slim/App.php", "symbol": "", "line": 224, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 11: namespace Slim\\Tests\\Routing;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 104: ],", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 3: /**", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 24: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 14: use InvalidArgumentException;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 245: */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 245, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 24: throw new InvalidArgumentException(\"Not a Slim call\");", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 7: */", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "configura el registro de errores de php para que escriba en un archivo temporal antes de ejecutar las pruebas", "query": "error log temp", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lang": "es", "candidates": [{"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "configura el registro de errores de php para que escriba en un archivo temporal antes de ejecutar las pruebas", "query": "error log temp", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "configura el registro de errores de php para que escriba en un archivo temporal antes de ejecutar las pruebas", "query": "error log temp", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lang": "es", "candidates": [{"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=40-63\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=108-131\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getStreamFactory", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=83-106\nread delete for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "delete", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=51-74\nread get for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=75-98\nread patch for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "patch", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Wie wird die Logik zur Ermittlung der Fabrik für die Antwort-Objekte implementiert, falls keine manuell gesetzt wurde?", "query": "determineResponseFactory", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lang": "de", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\nLine 37: public function __construct(", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 32: array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 46: return $this->dispatcher->dispatch($method, $uri);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 133: $this->assertInstanceOf(SlimResponseFactory::class, AppFactory::determineResponseFactory());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 133, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 1: stream);", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 28: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 90: $serverRequest = $this->createServerRequestWithRouteAttributes()->withoutAttribute($attribute);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 195: public function getNamedRoute(string $name): RouteInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 288: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 127: }", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 80: return [self::FOUND, $result[1], $result[2]];", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 25: public static $container;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 26: protected string $description = 'The requested resource could not be found. Please verify the URI and try again.';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 87: /**", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 127: public static function determineResponseFactory(): ResponseFactoryInterface", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 18: class HttpExceptionTest extends TestCase", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 798: $callableResolver,", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 798, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 1: FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wie wird die Logik zur Ermittlung der Fabrik für die Antwort-Objekte implementiert, falls keine manuell gesetzt wurde?", "query": "determineResponseFactory", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lang": "de", "candidates": [{"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=580-603\nread testMiddlewareGetsInstantiatedWithContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testMiddlewareGetsInstantiatedWithContainer", "line": 580, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=293-316\nread prepare for detail", "file": "Slim/Routing/Route.php", "symbol": "prepare", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=140-163\nread testJSONErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysErrorDetails", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=25-48\nread __construct for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "__construct", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "エラーハンドリング用のクラスを初期化する時に、ロガーが渡されなかった場合のデフォルト設定はどうなってる?", "query": "ErrorHandler constructor logger", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lang": "ja", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 25: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 13: use Slim\\Error\\AbstractErrorRenderer;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 50: public function __construct(", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 76: \"application/json\",", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 33: }", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 37: $method = new ReflectionMethod(Dispatcher::class, 'createDispatcher');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 25: public function __construct(ServerRequestCreatorInterface $serverRequestCreator)", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 11: namespace Slim\\Tests\\Routing;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 21: public function __construct($container = null)", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 21: use stdClass;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 27: protected string $description = 'Unexpected condition encountered preventing server from fulfilling request.';", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 46: public function __construct(array $bodyParsers = [])", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 33: protected string $description = 'The request method is not supported for the requested resource.';", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 88: public function __construct(", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 1: prophesize(RequestHandlerInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 511, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "エラーハンドリング用のクラスを初期化する時に、ロガーが渡されなかった場合のデフォルト設定はどうなってる?", "query": "ErrorHandler constructor logger", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "エラーハンドリング用のクラスを初期化する時に、ロガーが渡されなかった場合のデフォルト設定はどうなってる?", "query": "ErrorHandler constructor logger", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> function", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Throwable", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Slim", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "エラーハンドリング用のクラスを初期化する時に、ロガーが渡されなかった場合のデフォルト設定はどうなってる?", "query": "ErrorHandler constructor logger", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lang": "ja", "candidates": [{"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=508-531\nread testMiddlewareClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareClassNotFoundThrowException", "line": 508, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "这个方法是怎么处理异常的?它是怎么选择对应的错误处理器的?", "query": "handle exception error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lang": "zh", "candidates": [{"text": "File: Slim/Logger.php\nLine 13: use Psr\\Log\\AbstractLogger;", "file": "Slim/Logger.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 60: }", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 15: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: assertSame(['Factory 2', 'Factory 1'], Psr17FactoryProvider::getFactories());", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 36: $calledCount = static::$CalledCount;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 29: }", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 167: */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 83: public function handleException(ServerRequestInterface $request, Throwable $exception): ResponseInterface", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 47: }", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 58: private function emitHeaders(ResponseInterface $response): void", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 26: public static function computeRoutingResultsDataProvider(): array", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 14: use Slim\\MiddlewareDispatcher;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 14: use Psr\\Http\\Message\\UriInterface;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 31: }", "file": "Slim/Logger.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 7: */", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 18: */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "这个方法是怎么处理异常的?它是怎么选择对应的错误处理器的?", "query": "handle exception error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "这个方法是怎么处理异常的?它是怎么选择对应的错误处理器的?", "query": "handle exception error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> function", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "这个方法是怎么处理异常的?它是怎么选择对应的错误处理器的?", "query": "handle exception error handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lang": "zh", "candidates": [{"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=365-388\nread testOptions for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=2102-2125\nread testInvokeSequentialProcessAfterAddingAnotherRouteArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessAfterAddingAnotherRouteArgument", "line": 2102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=246-269\nread getArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "getArguments", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=103-126\nread getErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getErrorHandler", "line": 103, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1592-1615\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments", "line": 1592, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "检查一下路由解析逻辑,目前它似乎只是简单地通过判断目标对象是否实现了请求处理接口来决定它是否是一个路由。如果我传入的是一个其他类型的可调用对象,这种判断方式会不会导致逻辑错误?", "query": "instanceof RequestHandlerInterface", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lang": "zh", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 22: $this->expectExceptionMessage('Slim\\\\Tests\\\\Mocks\\\\MockPsr17Factory could not instantiate a response factory.');", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 74: return $route->run($request);", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 319: $output = $renderer->__invoke($httpExceptionProphecy->reveal(), true);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 319, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 110: private function isRoute($toResolve): bool", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 17: use Slim\\Factory\\Psr17\\SlimHttpServerRequestCreator;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 14: {", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 29: */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 164: $response->getBody()->write('...');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 32: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 178: {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 73: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 200: $response->getBody()->write('...');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 200, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 42: $xml .= '';", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 5: *", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: end_of_line = lf", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 7: */", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 24: {", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 5: *", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 36: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 92: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "检查一下路由解析逻辑,目前它似乎只是简单地通过判断目标对象是否实现了请求处理接口来决定它是否是一个路由。如果我传入的是一个其他类型的可调用对象,这种判断方式会不会导致逻辑错误?", "query": "instanceof RequestHandlerInterface", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "检查一下路由解析逻辑,目前它似乎只是简单地通过判断目标对象是否实现了请求处理接口来决定它是否是一个路由。如果我传入的是一个其他类型的可调用对象,这种判断方式会不会导致逻辑错误?", "query": "instanceof RequestHandlerInterface", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "检查一下路由解析逻辑,目前它似乎只是简单地通过判断目标对象是否实现了请求处理接口来决定它是否是一个路由。如果我传入的是一个其他类型的可调用对象,这种判断方式会不会导致逻辑错误?", "query": "instanceof RequestHandlerInterface", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lang": "zh", "candidates": [{"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=397-420\nread testNotObjectInContainerThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testNotObjectInContainerThrowException", "line": 397, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=208-231\nread setMiddlewareDispatcher for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我想看看这个用于模拟请求处理逻辑的拦截器是怎么写的,特别是它是如何处理参数数量校验并向响应体写入 JSON 数据的。请帮我找到这个利用魔术方法来模拟框架调用行为的代码实现。", "query": "magic method __call", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lang": "zh", "candidates": [{"text": "File: tests/AppTest.php\nLine 284: $requestProphecy->getAttribute(RouteContext::ROUTING_RESULTS)->willReturn(null);", "file": "tests/AppTest.php", "symbol": "", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 21: public function __call($name, array $arguments)", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 32: return $exception->getTitle();", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 93: * @param array $data", "file": "tests/TestCase.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 15: {", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 82: $this->createMock(RequestHandler::class),", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 1: __invoke($xmlRequest, $exception, false, false, false);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 27: GuzzlePsr17Factory::class,", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 35: * added one (last in, first out).", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 46: }", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 70: return sprintf(", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 55: ) {", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 109: public function get(string $pattern, $callable): RouteInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 99: public function any(string $pattern, $callable): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 21: /**", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 62: public function getRoutes(): array;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我想看看这个用于模拟请求处理逻辑的拦截器是怎么写的,特别是它是如何处理参数数量校验并向响应体写入 JSON 数据的。请帮我找到这个利用魔术方法来模拟框架调用行为的代码实现。", "query": "magic method __call", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lang": "zh", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\ndefines __call", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我想看看这个用于模拟请求处理逻辑的拦截器是怎么写的,特别是它是如何处理参数数量校验并向响应体写入 JSON 数据的。请帮我找到这个利用魔术方法来模拟框架调用行为的代码实现。", "query": "magic method __call", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我想看看这个用于模拟请求处理逻辑的拦截器是怎么写的,特别是它是如何处理参数数量校验并向响应体写入 JSON 数据的。请帮我找到这个利用魔术方法来模拟框架调用行为的代码实现。", "query": "magic method __call", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lang": "zh", "candidates": [{"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=85-108\nread isStreamFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isStreamFactoryAvailable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=41-64\nread getCalledCount for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "getCalledCount", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=317-340\nread testResolveThrowsExceptionWithoutContainerNonAdvancedCallableResolverAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerNonAdvancedCallableResolverAndUnresolvableClass", "line": 317, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "リクエストのコンテンツタイプに基づいて、リクエストボディを解析して配列やオブジェクトに変換する処理を探しています。サフィックスを利用してメディアタイプをフォールバックするロジックがどこにあるか教えてください。", "query": "parse request body", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 22: public static $CalledCount = 0;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 37: /**", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 16: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 19: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 142: protected function parseBody(ServerRequestInterface $request)", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 65: * Get named route object", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 14: class HttpTooManyRequestsException extends HttpSpecializedException", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 11: /**", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 11: namespace Slim\\Tests\\Factory\\Psr17;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 24: bool $logErrorDetails", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 18: use Slim\\MiddlewareDispatcher;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 7: */", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 55: 'file' => $exception->getFile(),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 1: renderExceptionFragment($exception);", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 26: }", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 15: use Slim\\Interfaces\\InvocationStrategyInterface;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 17: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 70: $route = $this->routeResolver", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 99: $method = $defaultMethod;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 18: /**", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 11: namespace Slim\\Tests\\Factory\\Psr17;", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "リクエストのコンテンツタイプに基づいて、リクエストボディを解析して配列やオブジェクトに変換する処理を探しています。サフィックスを利用してメディアタイプをフォールバックするロジックがどこにあるか教えてください。", "query": "parse request body", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lang": "ja", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "リクエストのコンテンツタイプに基づいて、リクエストボディを解析して配列やオブジェクトに変換する処理を探しています。サフィックスを利用してメディアタイプをフォールバックするロジックがどこにあるか教えてください。", "query": "parse request body", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> const", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> function", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "リクエストのコンテンツタイプに基づいて、リクエストボディを解析して配列やオブジェクトに変換する処理を探しています。サフィックスを利用してメディアタイプをフォールバックするロジックがどこにあるか教えてください。", "query": "parse request body", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lang": "ja", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=46-69\nread __construct for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=142-165\nread parseBody for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=27-50\nread resolveMiddleware for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ミドルウェアの実行回数をレスポンスのボディに含めて返すモックの挙動を確認したいです。リクエストを処理した際に、静的なカウンターを使用して、何回目の呼び出しであるかをテキスト形式で応答に書き込む仕組みになっています。", "query": "middleware mock count", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lang": "ja", "candidates": [{"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 158: $middleware->process($request, $requestHandler);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 158, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 19: protected static string $serverRequestCreatorClass = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 21: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 26: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 11: namespace Slim\\Middleware;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 120: $middlewareDispatcher", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 38: $responseProphecy = $prophet->prophesize(ResponseInterface::class);", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 21: {", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 102: * @return string[]", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 19: use function strtoupper;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 24: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 17: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 1795: $responseFactoryProphecy->createResponse()->willReturn(", "file": "tests/AppTest.php", "symbol": "", "line": 1795, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 129: return $this->middleware->process($request, $this->next);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 144: $responseFactoryProphecy->reveal(),", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 1: process(", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 400, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 7: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 41: /** @var bool */", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 79: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ミドルウェアの実行回数をレスポンスのボディに含めて返すモックの挙動を確認したいです。リクエストを処理した際に、静的なカウンターを使用して、何回目の呼び出しであるかをテキスト形式で応答に書き込む仕組みになっています。", "query": "middleware mock count", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ミドルウェアの実行回数をレスポンスのボディに含めて返すモックの挙動を確認したいです。リクエストを処理した際に、静的なカウンターを使用して、何回目の呼び出しであるかをテキスト形式で応答に書き込む仕組みになっています。", "query": "middleware mock count", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ミドルウェアの実行回数をレスポンスのボディに含めて返すモックの挙動を確認したいです。リクエストを処理した際に、静的なカウンターを使用して、何回目の呼び出しであるかをテキスト形式で応答に書き込む仕組みになっています。", "query": "middleware mock count", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lang": "ja", "candidates": [{"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=101-124\nread testSetServerRequestCreatorWithoutDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=142-165\nread testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=343-366\nread testRouteWithInternationalCharacters for detail", "file": "tests/AppTest.php", "symbol": "testRouteWithInternationalCharacters", "line": 343, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=385-408\nread testIdentifier for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testIdentifier", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=82-105\nread getRouteIdentifier for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteIdentifier", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "busca la prueba que valida la asignación de parámetros en las rutas", "query": "test argument setting", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 27: public function resolveMiddleware($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 117: * @param string $contents", "file": "tests/TestCase.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 252: public function testArgumentSetting()", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 34: use Slim\\Interfaces\\CallableResolverInterface;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 11: namespace Slim;", "file": "Slim/Logger.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 323: }", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 323, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 22: callable $callable,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 136: * Add the Slim built-in error middleware to the app middleware stack", "file": "Slim/App.php", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 99: $routingResults = $this->createMock(RoutingResults::class);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 3: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 559: $requestProphecy = $this->prophesize(ServerRequestInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 20: public function resolve($toResolve): callable;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 55: ->withParsedBody(['_METHOD' => 'PUT']);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 20: public static $CalledCount = 0;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 1: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "busca la prueba que valida la asignación de parámetros en las rutas", "query": "test argument setting", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "busca la prueba que valida la asignación de parámetros en las rutas", "query": "test argument setting", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lang": "es", "candidates": [{"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=93-116\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "appendMiddlewareToDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=128-151\nread resolveSlimNotation for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveSlimNotation", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=254-277\nread getMetadata for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getMetadata", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "데이터 스트림을 읽을 때 요청한 길이보다 실제 데이터 크기가 작으면, 남은 데이터 양에 맞춰서 점(.) 문자를 반복해서 반환해야 하는데 현재 로직이 요청된 길이만큼만 반복하도록 되어 있어 데이터 정합성이 깨지는 버그가 있습니다.", "query": "stream read repeat", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 23: $response = $handler->handle($request);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 15: use Slim\\Interfaces\\DispatcherInterface;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 58: 'read' => [", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 1685: $streamProphecy->read(1)->willReturn('_');", "file": "tests/AppTest.php", "symbol": "", "line": 1685, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 81: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 13: interface AdvancedCallableResolverInterface extends CallableResolverInterface", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 21: $exception = new HttpUnauthorizedException($request);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: end_of_line = lf", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 38: public function getAllowedMethods(): array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 94: $request->getUri()->getPath(),", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 49: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 48: /**", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 102: $data = $body->read($length);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 14: {", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 28: $handler = (function (ServerRequestInterface $request, ResponseInterface $response) {", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 41: $content .= $this->read(self::CHUNK_SIZE);", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 85: public function read($length): string", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 12: * @param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 20: use Slim\\Routing\\RouteRunner;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 199: );", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 25: */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "데이터 스트림을 읽을 때 요청한 길이보다 실제 데이터 크기가 작으면, 남은 데이터 양에 맞춰서 점(.) 문자를 반복해서 반환해야 하는데 현재 로직이 요청된 길이만큼만 반복하도록 되어 있어 데이터 정합성이 깨지는 버그가 있습니다.", "query": "stream read repeat", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines read", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "데이터 스트림을 읽을 때 요청한 길이보다 실제 데이터 크기가 작으면, 남은 데이터 양에 맞춰서 점(.) 문자를 반복해서 반환해야 하는데 현재 로직이 요청된 길이만큼만 반복하도록 되어 있어 데이터 정합성이 깨지는 버그가 있습니다.", "query": "stream read repeat", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "데이터 스트림을 읽을 때 요청한 길이보다 실제 데이터 크기가 작으면, 남은 데이터 양에 맞춰서 점(.) 문자를 반복해서 반환해야 하는데 현재 로직이 요청된 길이만큼만 반복하도록 되어 있어 데이터 정합성이 깨지는 버그가 있습니다.", "query": "stream read repeat", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=57-80\nread performRouting for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "performRouting", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=248-271\nread upperCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "upperCaseRequestMethodsProvider", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "verificar que el núcleo se ejecuta cuando la pila de middlewares está vacía", "query": "empty middleware stack", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 89: * @param callable|array{class-string, string}|string $callable The route callback routine", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 339: public function testExecutesKernelWithEmptyMiddlewareStack(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 17: /**", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 72: /**", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 87: return $this->basePath;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 49: return $decoratedServerRequest;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 179: /** @var RouteResolverInterface $routeResolver */", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 21: }", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 356: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 138: $this->createMock(RequestHandler::class),", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 29: $mw2 = new ContentLengthMiddleware();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 28: $contents = json_encode(compact('name') + ['arguments' => $arguments[2]]);", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 12: * @param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 66: */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 1: Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "verificar que el núcleo se ejecuta cuando la pila de middlewares está vacía", "query": "empty middleware stack", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lang": "es", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=523-546\nread testInvokeWithException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeWithException", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=127-150\nread run for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=339-362\nread testExecutesKernelWithEmptyMiddlewareStack for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=45-68\nread __construct for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "__construct", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=270-293\nread testAddMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddleware", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=158-181\nread setDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "在 Markdown 文件中保留行末的空格,不要自动删除它们。", "query": "editorconfig markdown whitespace", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lang": "zh", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 35: use Slim\\Interfaces\\MiddlewareDispatcherInterface;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 26: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 47: }", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 28: public function add($middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 37: throw new RuntimeException('Cannot create RouteContext before routing has been completed');", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 19: * @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 34: $this->amountToRead = self::SIZE;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 24: $middleware = (function (Request $request, RequestHandler $handler) use ($responseFactory) {", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 51: */", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 1: assertSame('', $routeContext->getBasePath());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 14: interface Psr17FactoryProviderInterface", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "在 Markdown 文件中保留行末的空格,不要自动删除它们。", "query": "editorconfig markdown whitespace", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lang": "zh", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines [*.md]", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "在 Markdown 文件中保留行末的空格,不要自动删除它们。", "query": "editorconfig markdown whitespace", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=76-99\nread getIdentifier for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getIdentifier", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=104-127\nread getAllowedMethods for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=73-96\nread getAllowedMethods for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "getAllowedMethods", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我正在写关于中间件注入的测试用例。能帮我找一下那个通过延迟解析容器来添加中间件的测试逻辑吗?", "query": "middleware deferred resolution", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockRequestHandler.php\nLine 30: {", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 106: $middlewareDispatcher->addCallable($middleware);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 658: public function testAddMiddlewareUsingDeferredResolution(): void", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Logger.php\nLine 20: {", "file": "Slim/Logger.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 11: namespace Slim;", "file": "Slim/Logger.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 26: * Invoke a route callable with request, response and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 358: public function testAddMiddlewareUsingDeferredResolution()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 358, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 15: interface ErrorRendererInterface", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 19: use function sprintf;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 15: }", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 250: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 250, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 88: $serverRequestCreatorProphecy", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 96: public function getRouteArguments(bool $urlDecode = true): array", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 28: $request = $this->createServerRequest('/');", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 29: {", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 29: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 5: *", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 1: ", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我正在写关于中间件注入的测试用例。能帮我找一下那个通过延迟解析容器来添加中间件的测试逻辑吗?", "query": "middleware deferred resolution", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我正在写关于中间件注入的测试用例。能帮我找一下那个通过延迟解析容器来添加中间件的测试逻辑吗?", "query": "middleware deferred resolution", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpGoneException.php lines=14-37\nread HttpGoneException for detail", "file": "Slim/Exception/HttpGoneException.php", "symbol": "HttpGoneException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=38-61\nread getErrorDescription for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorDescription", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=168-191\nread tell for detail", "file": "tests/Mocks/MockStream.php", "symbol": "tell", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=380-403\nread testWriteToErrorLog for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLog", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=658-681\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "PSR-17ファクトリプロバイダを設定し、Slim HTTPデコーレータの自動検出を無効化した状態で、AppFactoryがSlimResponseFactoryを正しく認識していることを確認したい。", "query": "Psr17FactoryProvider SlimResponseFactory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lang": "ja", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 221: $this->assertFalse($body->eof());", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 30: if ($displayErrorDetails) {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 85: * @throws RuntimeException If route of identifier does not exist", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 25: // Add Content-Length header if not already added", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 35: if (!static::isServerRequestDecoratorAvailable()) {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 51: $text .= sprintf(\"File: %s\\n\", $exception->getFile());", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 750: $callableResolver = new CallableResolver();", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 16: use Slim\\Routing\\RouteCollector;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 27: class HtmlErrorRenderer extends AbstractErrorRenderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 18: use Psr\\Http\\Message\\StreamInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 107: $middlewareDispatcher->addMiddleware($methodOverrideMiddleware);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 125: public function testSetPsr17FactoryProvider()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 19: protected $code = 501;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 39: * @return int", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 1: getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "PSR-17ファクトリプロバイダを設定し、Slim HTTPデコーレータの自動検出を無効化した状態で、AppFactoryがSlimResponseFactoryを正しく認識していることを確認したい。", "query": "Psr17FactoryProvider SlimResponseFactory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "PSR-17ファクトリプロバイダを設定し、Slim HTTPデコーレータの自動検出を無効化した状態で、AppFactoryがSlimResponseFactoryを正しく認識していることを確認したい。", "query": "Psr17FactoryProvider SlimResponseFactory", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lang": "ja", "candidates": [{"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=78-101\nread testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=125-148\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "외부에서 생성기들을 전달받아 정적 프로퍼티에 설정하는 메서드가 어디에 정의되어 있나요?", "query": "set factories static", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RouteInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 18: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 17: class ContentLengthMiddlewareTest extends TestCase", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 130: $output,", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 19: * @runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 72: Psr17FactoryProvider::setFactories([$psr17factory]);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 13: use function implode;", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 22: use const ENT_SUBSTITUTE;", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 43: return $this->calledCount;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 24: public static function setFactories(array $factories): void;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 88: return $this->addMiddleware($middleware);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 53: Psr17FactoryProvider::setFactories([$psr17factory]);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 211: $argDict = [];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 22: * RouteResolver instantiates the FastRoute dispatcher", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 32: */", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 39: $this->setAccessible($serverRequestDecoratorClassProperty);", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 41: public static function setFactories(array $factories): void", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 39: return $callable($request, $response, $routeArguments);", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 27: protected string $description = 'The server cannot or will not process ' .", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 41: public function getCalledCount(): int", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 44: 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "외부에서 생성기들을 전달받아 정적 프로퍼티에 설정하는 메서드가 어디에 정의되어 있나요?", "query": "set factories static", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "외부에서 생성기들을 전달받아 정적 프로퍼티에 설정하는 메서드가 어디에 정의되어 있나요?", "query": "set factories static", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "외부에서 생성기들을 전달받아 정적 프로퍼티에 설정하는 메서드가 어디에 정의되어 있나요?", "query": "set factories static", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lang": "ko", "candidates": [{"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=41-64\nread getCalledCount for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "getCalledCount", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=111-134\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "addMiddleware", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=82-105\nread testRelativePathForWithNoBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testRelativePathForWithNoBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "vérifier que l'application n'utilise pas le conteneur comme service locator", "query": "container service locator test", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lang": "fr", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 1: renderExceptionFragment($exception);", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 32: {", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 56: class AppTest extends TestCase", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 99: {", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 39: */", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 62: }", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 19: protected $code = 401;", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 30: public function getServerRequestFactory(): ServerRequestFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 15: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 27: use Slim\\MiddlewareDispatcher;", "file": "tests/TestCase.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 16: use function min;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 82: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 50: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 15: use Slim\\Interfaces\\DispatcherInterface;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 40: public static function isServerRequestCreatorAvailable(): bool", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "vérifier que l'application n'utilise pas le conteneur comme service locator", "query": "container service locator test", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lang": "fr", "candidates": [{"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "vérifier que l'application n'utilise pas le conteneur comme service locator", "query": "container service locator test", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "vérifier que l'application n'utilise pas le conteneur comme service locator", "query": "container service locator test", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lang": "fr", "candidates": [{"text": "Next: read Slim/Handlers/ErrorHandler.php lines=216-239\nread determineRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineRenderer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=39-62\nread App for detail", "file": "Slim/App.php", "symbol": "App", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estoy revisando cómo se envían las respuestas al cliente. ¿Podrías mostrarme las pruebas que verifican que el contenido del cuerpo se imprima correctamente en la salida?", "query": "test emit response", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteParser.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 19: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 49: * Reset state", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 40: }", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 68: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 1: getRouteParser();", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 88: return $response;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 112: while (!$body->eof()) {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 37: }", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 502: ],", "file": "tests/AppTest.php", "symbol": "", "line": 502, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 21: * Build the path for a named route excluding the base path", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 7: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 103: *", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 1: ', str_replace(']]>', ']]]]>', $content));", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 82: return false;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy revisando cómo se envían las respuestas al cliente. ¿Podrías mostrarme las pruebas que verifican que el contenido del cuerpo se imprima correctamente en la salida?", "query": "test emit response", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lang": "es", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\ndefines ResponseEmitterTest", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy revisando cómo se envían las respuestas al cliente. ¿Podrías mostrarme las pruebas que verifican que el contenido del cuerpo se imprima correctamente en la salida?", "query": "test emit response", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> function", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> const", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy revisando cómo se envían las respuestas al cliente. ¿Podrías mostrarme las pruebas que verifican que el contenido del cuerpo se imprima correctamente en la salida?", "query": "test emit response", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lang": "es", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=208-231\nread setMiddlewareDispatcher for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=482-505\nread provideNotFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideNotFoundDispatchCases", "line": 482, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm looking at how the application handles incoming requests and routing. Can you explain how the logic handles a HEAD request if the initial match fails?", "query": "HEAD GET fallback", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lang": "en", "candidates": [{"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 21: }", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 14: class HttpNotImplementedException extends HttpSpecializedException", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 21: /**", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 172: $middleware = new BodyParsingMiddleware($parsers);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 69: {", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 17: use Slim\\Routing\\FastRouteDispatcher;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 110: {", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 75: $callable = function (RouteCollectorProxy $proxy) use ($self) {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 85: $middlewareDispatcher->addCallable($middleware);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 157: private function assertCallable($resolved, $toResolve): callable", "file": "Slim/CallableResolver.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 332: $containerProphecy", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 332, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 16: use Slim\\Routing\\FastRouteDispatcher;", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 276: AppFactory::setStreamFactory($streamFactoryProphecy->reveal());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 276, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 15: class FastRouteDispatcher extends GroupCountBased", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/AppTest.php\nLine 900: $middlewareProphecy2 = $this->prophesize(MiddlewareInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 900, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 17: private ?FastRouteDispatcher $dispatcher = null;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 5: *", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 25: * Invoke a route callable with request, response and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 17: {", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 42: public function urlFor(string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 79: * Retrieve a specific route argument", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm looking at how the application handles incoming requests and routing. Can you explain how the logic handles a HEAD request if the initial match fails?", "query": "HEAD GET fallback", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lang": "en", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm looking at how the application handles incoming requests and routing. Can you explain how the logic handles a HEAD request if the initial match fails?", "query": "HEAD GET fallback", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm looking at how the application handles incoming requests and routing. Can you explain how the logic handles a HEAD request if the initial match fails?", "query": "HEAD GET fallback", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lang": "en", "candidates": [{"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=74-97\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setPsr17FactoryProvider", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "创建用于测试序列中间件行为的模拟类,该类在请求头中添加前缀标识并在处理请求后添加后缀标识", "query": "mock sequence middleware", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lang": "zh", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 25: use Slim\\Tests\\Mocks\\MockSequenceMiddleware;", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 433: /** @var ContainerInterface $container */", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 23: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 40: }", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 36: */", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 64: $request = $request->withAttribute(RouteContext::ROUTING_RESULTS, $routingResults);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 445: $this->assertSame(204, $response->getStatusCode());", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 445, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 18: class MockSequenceMiddleware implements MiddlewareInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 21: {", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 60: ) {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 122: public function testGet()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 54: $html .= sprintf('
Message: %s
', htmlentities($exception->getMessage()));", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 17: use Slim\\Exception\\HttpNotFoundException;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 32: callable $callable,", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 17: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 76: public function resolveMiddleware($toResolve): callable", "file": "Slim/CallableResolver.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 60: public function getContents(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 22: * @var string", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 165: $callable,", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 24: protected $message = 'Unauthorized.';", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 434: };", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 407: ->willReturn($responseProphecy)", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 407, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 59: public function setCallable($callable): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 77: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "创建用于测试序列中间件行为的模拟类,该类在请求头中添加前缀标识并在处理请求后添加后缀标识", "query": "mock sequence middleware", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\ndefines MockSequenceMiddleware", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "创建用于测试序列中间件行为的模拟类,该类在请求头中添加前缀标识并在处理请求后添加后缀标识", "query": "mock sequence middleware", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "创建用于测试序列中间件行为的模拟类,该类在请求头中添加前缀标识并在处理请求后添加后缀标识", "query": "mock sequence middleware", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lang": "zh", "candidates": [{"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=84-107\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to implement custom PSR-17 middleware handling. Where is the logic that wraps standard response builders with extra functionality?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lang": "en", "candidates": [{"text": "File: Slim/ResponseEmitter.php\nLine 48: }", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 17: class SlimHttpPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 30: use Slim\\Factory\\Psr17\\SlimHttpPsr17Factory;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 73: {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 1: withAddedHeader('X-SEQ-PRE-REQ-HANDLER', static::$id);", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 96: $this->assertSame('/hello/world', $results);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 28: * @var string", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 16: /** @api */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 11: namespace Slim\\Tests\\Providers;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to implement custom PSR-17 middleware handling. Where is the logic that wraps standard response builders with extra functionality?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lang": "en", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm trying to implement custom PSR-17 middleware handling. Where is the logic that wraps standard response builders with extra functionality?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to implement custom PSR-17 middleware handling. Where is the logic that wraps standard response builders with extra functionality?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lang": "en", "candidates": [{"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=93-116\nread rewind for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "rewind", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=508-531\nread testMiddlewareClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareClassNotFoundThrowException", "line": 508, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=91-114\nread resolveRoutingResultsFromRequest for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "resolveRoutingResultsFromRequest", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=109-132\nread get for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "get", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=20-43\nread urlForCases for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "urlForCases", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ヘッダーの情報をスタックに追加する処理を探しています。配列を引数として受け取って、内部のプロパティに格納しているメソッドはどこにありますか?", "query": "push header array", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 117: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 24: {", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 30: {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 47: private function renderExceptionFragment(Throwable $exception): string", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 197: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'HttpSoft\\ServerRequest\\ServerRequestCreator';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 84: {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 138: $callableMiddleware = $resolver->resolveMiddleware([CallableTest::class, 'toCall']);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 102: $this->assertTrue(true);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 25: *", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 23: {", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 1: withAttribute($k, $v);", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ヘッダーの情報をスタックに追加する処理を探しています。配列を引数として受け取って、内部のプロパティに格納しているメソッドはどこにありますか?", "query": "push header array", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ヘッダーの情報をスタックに追加する処理を探しています。配列を引数として受け取って、内部のプロパティに格納しているメソッドはどこにありますか?", "query": "push header array", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ヘッダーの情報をスタックに追加する処理を探しています。配列を引数として受け取って、内部のプロパティに格納しているメソッドはどこにありますか?", "query": "push header array", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lang": "ja", "candidates": [{"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=25-48\nread __construct for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "__construct", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=539-562\nread testInvokeDeferredCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithNoContainer", "line": 539, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=118-141\nread group for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "group", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=397-420\nread testRoutePatterns for detail", "file": "tests/AppTest.php", "symbol": "testRoutePatterns", "line": 397, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Necesito asignar un identificador único a esta ruta para poder referenciarla más tarde. Por favor, añade el método para establecer el nombre del recurso.", "query": "set route name", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lang": "es", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 123: // Prophesize the body stream for which `eof()` returns `true` and the", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 218: public function setName(string $name): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 218, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 24: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 28: }", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 71: public function setName(string $name): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 119: $route->setName('test');", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 25: * @param ServerRequestInterface $request The request object.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 42: {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 21: Throwable $exception,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 37: if ($request->getBody()->eof()) {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 39: || !(($responseFactory = new static::$responseFactoryClass()) instanceof ResponseFactoryInterface)", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 17: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 91: $route->setName('test');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 91, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 106: $result = $this->dispatchVariableRoute($routeData, $uri);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 394: $this->assertSame($route, $route->setName('foo'));", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 394, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 100: throw new Exception('not implemented');", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 14: use Slim\\Interfaces\\ErrorRendererInterface;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 188: $middleware = new BodyParsingMiddleware($parsers);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 1: assertSame(['name' => 'Foo%20Bar'], $results->getRouteArguments(false));", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 22: protected $serverRequestCreator;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 90: * @return string[]", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 55: $route->setName('foo');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Necesito asignar un identificador único a esta ruta para poder referenciarla más tarde. Por favor, añade el método para establecer el nombre del recurso.", "query": "set route name", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lang": "es", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Necesito asignar un identificador único a esta ruta para poder referenciarla más tarde. Por favor, añade el método para establecer el nombre del recurso.", "query": "set route name", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Necesito asignar un identificador único a esta ruta para poder referenciarla más tarde. Por favor, añade el método para establecer el nombre del recurso.", "query": "set route name", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lang": "es", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=19-42\nread InvocationStrategyInterface for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "InvocationStrategyInterface", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=149-172\nread options for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "options", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo se maneja la respuesta cuando se lanza una excepción de método no permitido?", "query": "HttpMethodNotAllowedException Allow", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 21: use function in_array;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 27: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 287: public function testOptions()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 287, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 32: {", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 361: $r->addRoute('GET', '/user/{name}/edit', 'handler1');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 34: ->createResponse()", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 129: public function testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions()", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 116: * @param array $arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 181: * 2. Instance of \\Throwable", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 176: explode(',', $acceptHeader),", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 30: public function testCreateDispatcher()", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 115: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 123: * @param string|UriInterface $to", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 125: $this->assertSame('', ob_get_contents());", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 23: {", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 33: $error['exception'] = [];", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 103: // routeParser is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 28: $reflectionProperty = new ReflectionProperty($middleware, 'style');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 21: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 23: */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 365: public function testOptions()", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Cómo se maneja la respuesta cuando se lanza una excepción de método no permitido?", "query": "HttpMethodNotAllowedException Allow", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo se maneja la respuesta cuando se lanza una excepción de método no permitido?", "query": "HttpMethodNotAllowedException Allow", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo se maneja la respuesta cuando se lanza una excepción de método no permitido?", "query": "HttpMethodNotAllowedException Allow", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lang": "es", "candidates": [{"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=125-148\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=365-388\nread testOptions for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=39-62\nread getRequest for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getRequest", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=19-42\nread __construct for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "__construct", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Can you show me the mock implementation used to simulate how a route handler is executed during testing?", "query": "mock invocation strategy", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lang": "en", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 80: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 102: * @return string[]", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 18: use Slim\\Routing\\RouteParser;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 101: $this->assertNull($route);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 82: ): MiddlewareDispatcher {", "file": "tests/TestCase.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 34: $this->routeParser = $routeParser;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 16: /**", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1717: $requestProphecy->getAttribute(RouteContext::ROUTING_RESULTS)->willReturn(null);", "file": "tests/AppTest.php", "symbol": "", "line": 1717, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 3: /**", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 55: $this->assertIsCallable($renderer);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 269: $reflectionProperty->setValue($handler, $errorRenderers);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 102: * Add route with multiple methods", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 66: && SlimHttpServerRequestCreator::isServerRequestDecoratorAvailable()", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 1: getRouteCollector();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 32: use Slim\\Tests\\Mocks\\InvocationStrategyTest;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 91: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 17: class InvocationStrategyTest implements InvocationStrategyInterface", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 11: namespace Slim\\Tests\\Routing;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 602: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 602, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 29: protected function getErrorTitle(Throwable $exception): string", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 53: $this->markTestSkipped('Named arguments are not supported in PHP versions prior to 8.0');", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Can you show me the mock implementation used to simulate how a route handler is executed during testing?", "query": "mock invocation strategy", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lang": "en", "candidates": [{"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Can you show me the mock implementation used to simulate how a route handler is executed during testing?", "query": "mock invocation strategy", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Can you show me the mock implementation used to simulate how a route handler is executed during testing?", "query": "mock invocation strategy", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lang": "en", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=172-195\nread testSuperclassExceptionHandlerHandlesSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesSubclassException", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=573-596\nread testInvokeDeferredCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "set indentation to four spaces", "query": "indent size", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lang": "en", "candidates": [{"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 33: }", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 36: }", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 19: */", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 1: getRouteResolver(),", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 98: * occurs when processing the current request.", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 28: */", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 1: getBody()->write('Body');", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 68: return new CallableResolver($container);", "file": "tests/TestCase.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 85: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 251: return $contents;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 251, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 228: * {@inheritdoc}", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 228, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 19: public static function getServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 51: ->willReturn($serverRequestProphecy->reveal())", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 48: $serverRequestCreator = $psr17Factory::getServerRequestCreator();", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 107: * @param string $reasonPhrase", "file": "tests/TestCase.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 32: public static function getServerRequestCreator(): ServerRequestCreatorInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 796: $deferred,", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 796, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 58: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 160: }", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 21: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 65: public static function getServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 39: protected string $pattern;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 81: ' ' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 286: $handler = $this->createMock(ErrorHandler::class);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 286, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 65: $callable = $this->callableResolver->resolve($this->callable);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 1: assertNotNull($routeContext->getRouteParser());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 41: MockPsr17Factory::getServerRequestCreator();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "El método estático que debería devolver el creador de peticiones del servidor lanza una excepción de tiempo de ejecución si no puede instanciarse la fábrica, pero no se está manejando correctamente en la capa superior.", "query": "server request creator", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "El método estático que debería devolver el creador de peticiones del servidor lanza una excepción de tiempo de ejecución si no puede instanciarse la fábrica, pero no se está manejando correctamente en la capa superior.", "query": "server request creator", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "El método estático que debería devolver el creador de peticiones del servidor lanza una excepción de tiempo de ejecución si no puede instanciarse la fábrica, pero no se está manejando correctamente en la capa superior.", "query": "server request creator", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lang": "es", "candidates": [{"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=26-49\nread JsonErrorRenderer for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "JsonErrorRenderer", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=539-562\nread testInvokeDeferredCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithNoContainer", "line": 539, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=397-420\nread testRoutePatterns for detail", "file": "tests/AppTest.php", "symbol": "testRoutePatterns", "line": 397, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=88-111\nread getArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=193-216\nread getCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallable", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=177-200\nread eof for detail", "file": "tests/Mocks/MockStream.php", "symbol": "eof", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "애플리케이션 생성 시 인자로 전달된 인스턴스들이 의존성 주입을 통해 제대로 적용되는지 확인이 필요합니다. 현재 생성 과정에서 전달된 응답 팩토리가 정적 속성에 저장되어 다른 테스트에 영향을 주는 사이드 이펙트가 발생하고 있는데, 이 동작을 검증하는 로직을 찾아주세요.", "query": "create injected instances", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpGoneException.php\nLine 19: protected $code = 410;", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 152: ) implements RequestHandlerInterface {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 13: use InvalidArgumentException;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 37: );", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 3: [*]", "file": ".editorconfig", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 58: 'greeting' => 'hello',", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 19: protected $code = 400;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 331: }", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 331, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 85: '
%s
' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 47: public function custom(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 63: *", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 387: public function testRedirect()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 47: }", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 1: callableResolver,", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 1: Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> RuntimeException", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Nyholm", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> ReflectionProperty", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Psr", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> HttpSoft", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "애플리케이션 생성 시 인자로 전달된 인스턴스들이 의존성 주입을 통해 제대로 적용되는지 확인이 필요합니다. 현재 생성 과정에서 전달된 응답 팩토리가 정적 속성에 저장되어 다른 테스트에 영향을 주는 사이드 이펙트가 발생하고 있는데, 이 동작을 검증하는 로직을 찾아주세요.", "query": "create injected instances", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=27-50\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "process", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=18-41\nread HttpExceptionTest for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "HttpExceptionTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "연결된 스트림을 해제하고 관련 상태를 초기화하는 메서드 찾아줘", "query": "detach stream mock", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lang": "ko", "candidates": [{"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 29: if ($displayErrorDetails) {", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 42: * @param callable|string $callable", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 129: public function detach()", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 3: /**", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 5: *", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 93: simplexml_load_string('John'),", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 50: public function detach()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 15: }", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 68: }", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 32: }", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 55: /**", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 37: * @param array> $queryParams Optional query string parameters", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 33: $response = $responseFactory", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 19: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 73: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 3: /**", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 221: return $response;", "file": "tests/AppTest.php", "symbol": "", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 45: public function detach()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "연결된 스트림을 해제하고 관련 상태를 초기화하는 메서드 찾아줘", "query": "detach stream mock", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "연결된 스트림을 해제하고 관련 상태를 초기화하는 메서드 찾아줘", "query": "detach stream mock", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "연결된 스트림을 해제하고 관련 상태를 초기화하는 메서드 찾아줘", "query": "detach stream mock", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lang": "ko", "candidates": [{"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockPsr17Factory.php lines=15-38\nread MockPsr17Factory for detail", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "MockPsr17Factory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=210-233\nread testSuperclassExceptionHandlerDoesNotHandleSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerDoesNotHandleSubclassException", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=130-153\nread setAccessible for detail", "file": "tests/TestCase.php", "symbol": "setAccessible", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=19-42\nread SlimHttpServerRequestCreator for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "SlimHttpServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=380-403\nread testWriteToErrorLog for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLog", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je cherche la méthode qui permet de créer une version décorée pour gérer les réponses en utilisant les standards PSR. Peux-tu me montrer comment elle gère l'instanciation et l'exception si ça échoue ?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lang": "fr", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 17: class Psr17FactoryTest extends TestCase", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 73: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 63: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 3: /**", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 167: return SlimHttpPsr17Factory::createDecoratedResponseFactory($responseFactory, $streamFactory);", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 167, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 7: */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 55: }", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 24: public static function createDecoratedResponseFactory(", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 80: /**", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 90: ->willReturn($serverRequestProphecy->reveal())", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 75: } else {", "file": "Slim/App.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 124: $this->next = $next;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 120: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 145: }", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 18: protected $code = 404;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 452: ->willReturnCallback(static function (string $error) {", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 452, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 34: $request = $request->withMethod($body['_METHOD']);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 20: * @param string|null $message", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 11: namespace Slim\\Factory;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 81: throw $exception;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 36: }", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je cherche la méthode qui permet de créer une version décorée pour gérer les réponses en utilisant les standards PSR. Peux-tu me montrer comment elle gère l'instanciation et l'exception si ça échoue ?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lang": "fr", "candidates": [{"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Je cherche la méthode qui permet de créer une version décorée pour gérer les réponses en utilisant les standards PSR. Peux-tu me montrer comment elle gère l'instanciation et l'exception si ça échoue ?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche la méthode qui permet de créer une version décorée pour gérer les réponses en utilisant les standards PSR. Peux-tu me montrer comment elle gère l'instanciation et l'exception si ça échoue ?", "query": "decorated response factory", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lang": "fr", "candidates": [{"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=188-211\nread testPut for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPut", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=268-291\nread map for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "map", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=173-196\nread testCapturing for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testCapturing", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "The application fails to return the exact instance of the dependency injection service that was passed through the constructor during initialization.", "query": "get container dependency", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lang": "en", "candidates": [{"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 19: protected $code = 403;", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 4: * This is a direct copy of zend-diactoros/test/TestAsset/Functions.php and is used to override", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 58: $this->routeIdentifier = $routeIdentifier;", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 48: private function formatExceptionFragment(Throwable $exception): array", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 192: $handler,", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 192, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 22: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 66: 'c+' => true, 'wb' => true, 'w+b' => true, 'r+b' => true,", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 7: */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 40: }", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 181: }", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 78: public function testCreateServerRequestFromGlobalsThrowsRuntimeExceptionIfNotInstanceOfServerRequestInterface()", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 5: *", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 104: public function urlFor(string $routeName, array $data = [], array $queryParams = []): string", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 18: * @var string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 31: return $psr7ObjectProvider->createResponse();", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 310: if ($body !== false) {", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 310, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 77: public function testGetContainer(): void", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 25: use Slim\\Handlers\\Strategies\\RequestResponse;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 17: {", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 19: public function __invoke(", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 22: /**", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "The application fails to return the exact instance of the dependency injection service that was passed through the constructor during initialization.", "query": "get container dependency", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lang": "en", "candidates": [{"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "The application fails to return the exact instance of the dependency injection service that was passed through the constructor during initialization.", "query": "get container dependency", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lang": "en", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "The application fails to return the exact instance of the dependency injection service that was passed through the constructor during initialization.", "query": "get container dependency", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lang": "en", "candidates": [{"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=173-196\nread testGetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetInvocationStrategy", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "检查路由处理策略是否将路由参数作为属性添加到请求中", "query": "route attributes request", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 20: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 162: /**", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 22: {", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 92: );", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 113: null,", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 154: public function testCacheFileExistsAndIsNotReadable()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 559: public static function provideMethodNotAllowedDispatchCases()", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 25: if ($message !== null) {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 41: $routeCollector = new RouteCollector($responseFactory, $callableResolver);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 680: public function testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest()", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 102: if ($cacheFile) {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 7: */", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 183: public function testJSONErrorRendererDisplaysPreviousError()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 37: class RouteCollector implements RouteCollectorInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 22: */", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 29: */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 49: public static function addFactory(string $factory): void", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 30: $this->assertInstanceOf(RouteParser::class, $routeParser);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 21: }", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 291: $app = new App($responseFactory);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 291, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "检查路由处理策略是否将路由参数作为属性添加到请求中", "query": "route attributes request", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "检查路由处理策略是否将路由参数作为属性添加到请求中", "query": "route attributes request", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=693-716\nread testAddRoutingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddRoutingMiddleware", "line": 693, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=519-542\nread testCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testCallableClassNotFoundThrowException", "line": 519, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=320-343\nread testAny for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testAny", "line": 320, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estou tentando implementar o suporte a PSR-17 para gerenciar o corpo das requisições. Onde encontro o método estático que retorna o componente responsável por criar novos fluxos de dados?", "query": "getStreamFactory", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lang": "pt", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 29: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 50: public static function getStreamFactory(): StreamFactoryInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 22: /**", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 63: ): ServerRequestCreatorInterface {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 33: ) {", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 144: $streamFactory = static::$streamFactory ?? $psr17factory::getStreamFactory();", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 144, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 29: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 17: */", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 97: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 87: if (trim($components[0]) === $header) {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 16: {", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 15: {", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 26: $middleware = new OutputBufferingMiddleware($this->getStreamFactory());", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 36: $calledCount = static::$CalledCount;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 55: protected function getStreamFactory(): StreamFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 17: use Slim\\Interfaces\\Psr17FactoryProviderInterface;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 40: public function getStreamFactory(): StreamFactoryInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 27: public static function getStreamFactory(): StreamFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 32: MockPsr17Factory::getStreamFactory();", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estou tentando implementar o suporte a PSR-17 para gerenciar o corpo das requisições. Onde encontro o método estático que retorna o componente responsável por criar novos fluxos de dados?", "query": "getStreamFactory", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "Estou tentando implementar o suporte a PSR-17 para gerenciar o corpo das requisições. Onde encontro o método estático que retorna o componente responsável por criar novos fluxos de dados?", "query": "getStreamFactory", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estou tentando implementar o suporte a PSR-17 para gerenciar o corpo das requisições. Onde encontro o método estático que retorna o componente responsável por criar novos fluxos de dados?", "query": "getStreamFactory", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lang": "pt", "candidates": [{"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=127-150\nread run for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=21-44\nread testGetSetFactories for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "testGetSetFactories", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=573-596\nread testInvokeDeferredCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=71-94\nread registerBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "registerBodyParser", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "帮我写一个简单的函数,接收一个PSR-7响应对象,往响应体里写入'Hello World'字符串,最后返回这个响应对象。", "query": "PSR-7 response write", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 121: * Add a route that sends an HTTP redirect", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 21: * @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 45: return $handler->handle($request);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 49: * Reset state", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1563: function handle($request, ResponseInterface $response)", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 16: * Resolve $toResolve into a callable", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 51: $this->assertSame('Method not allowed.', $exception->getMessage());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 130: /**", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 21: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 31: */", "file": "Slim/CallableResolver.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 96: $amountToRead = $body->getSize();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 56: 'line' => $exception->getLine(),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 21: public static $CalledCount = 0;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 57: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 277: return $handler->handle($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 277, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 41: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 52: }", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 34: return $handler->handle($request);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 36: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 18: */", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "帮我写一个简单的函数,接收一个PSR-7响应对象,往响应体里写入'Hello World'字符串,最后返回这个响应对象。", "query": "PSR-7 response write", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lang": "zh", "candidates": [{"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "帮我写一个简单的函数,接收一个PSR-7响应对象,往响应体里写入'Hello World'字符串,最后返回这个响应对象。", "query": "PSR-7 response write", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "帮我写一个简单的函数,接收一个PSR-7响应对象,往响应体里写入'Hello World'字符串,最后返回这个响应对象。", "query": "PSR-7 response write", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=43-66\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "setBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=182-205\nread testForceContentTypeNullRestoresNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentTypeNullRestoresNegotiation", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=103-126\nread seek for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "seek", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=142-165\nread testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=84-107\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=58-81\nread __construct for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "__construct", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=26-49\nread JsonErrorRenderer for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "JsonErrorRenderer", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ルーティングのテストを作成中なのですが、リクエストメソッドが一致しない場合に正しく例外やエラーが返るか検証するためのデータセットがどこにあるか教えてください。特定のURIに対して許可されていないメソッドを投げた時のケースを定義している場所を探しています。", "query": "method not allowed test", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lang": "ja", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 490: $kernelProphecy = $this->prophesize(RequestHandlerInterface::class);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 490, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 165: return $response;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 3: /**", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 57: $parsedBody = $request->getParsedBody();", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 33: $this->routeCollector = $routeCollector;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 90: if ($body->isSeekable()) {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 43: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 76: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 135: 'bar' => 'bar',", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 21: * @var string", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 45: throw new InvalidArgumentException(\"Invalid style `{$style}`. Must be `append` or `prepend`\");", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 128: $body = new SmallChunksStream();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 171: $output = $renderer->__invoke($exception, true);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 307: $app->add($middleware);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 20: * @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 40: */", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 26: protected string $title = '501 Not Implemented';", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 559: public static function provideMethodNotAllowedDispatchCases()", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 33: * @return ResponseFactoryInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 30: {", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 112: $this->allowedMethodsUri = $uri;", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ルーティングのテストを作成中なのですが、リクエストメソッドが一致しない場合に正しく例外やエラーが返るか検証するためのデータセットがどこにあるか教えてください。特定のURIに対して許可されていないメソッドを投げた時のケースを定義している場所を探しています。", "query": "method not allowed test", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lang": "ja", "candidates": [{"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "ルーティングのテストを作成中なのですが、リクエストメソッドが一致しない場合に正しく例外やエラーが返るか検証するためのデータセットがどこにあるか教えてください。特定のURIに対して許可されていないメソッドを投げた時のケースを定義している場所を探しています。", "query": "method not allowed test", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> function", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ルーティングのテストを作成中なのですが、リクエストメソッドが一致しない場合に正しく例外やエラーが返るか検証するためのデータセットがどこにあるか教えてください。特定のURIに対して許可されていないメソッドを投げた時のケースを定義している場所を探しています。", "query": "method not allowed test", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lang": "ja", "candidates": [{"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=31-54\nread __construct for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=167-190\nread testSlimCallableAsArrayContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArrayContainer", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "BUG: The constructor is incorrectly type-hinted for the first argument; it accepts both an object and a string according to the docblock, but the instantiation logic seems to rely on a specific object being passed to invoke a dynamic method later. This mismatch can lead to runtime errors if the wrong type is provided.", "query": "server request creator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lang": "en", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nLine 200: return $route;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 200, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 42: public function __construct(?ContainerInterface $container = null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 11: namespace Slim\\Tests\\Routing;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 19: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 26: ): ResponseInterface {", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 68: throw new RuntimeException(get_called_class() . ' could not instantiate a server request creator.');", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 42: $routeCollector->map(['GET'], '/hello/{name}', $handler);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 37: public function __construct(", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 184: *", "file": "Slim/CallableResolver.php", "symbol": "", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 14: use RuntimeException;", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 26: class JsonErrorRenderer extends AbstractErrorRenderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 29: public function __construct($serverRequestCreator, string $serverRequestCreatorMethod)", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 23: {", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 24: public function __construct(bool $appendRouteArgumentsToRequestAttributes = false)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 36: /** @var ResponseInterface */", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 60: $html .= '

Trace

';", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 120: public function __construct(", "file": "Slim/Routing/Route.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\nLine 20: */", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 16: /**", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 29: $routeParser = $request->getAttribute(RouteContext::ROUTE_PARSER);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "BUG: The constructor is incorrectly type-hinted for the first argument; it accepts both an object and a string according to the docblock, but the instantiation logic seems to rely on a specific object being passed to invoke a dynamic method later. This mismatch can lead to runtime errors if the wrong type is provided.", "query": "server request creator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lang": "en", "candidates": [{"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "BUG: The constructor is incorrectly type-hinted for the first argument; it accepts both an object and a string according to the docblock, but the instantiation logic seems to rely on a specific object being passed to invoke a dynamic method later. This mismatch can lead to runtime errors if the wrong type is provided.", "query": "server request creator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Slim", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "BUG: The constructor is incorrectly type-hinted for the first argument; it accepts both an object and a string according to the docblock, but the instantiation logic seems to rely on a specific object being passed to invoke a dynamic method later. This mismatch can lead to runtime errors if the wrong type is provided.", "query": "server request creator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lang": "en", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=85-108\nread read for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "read", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=29-52\nread __construct for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "__construct", "line": 29, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=98-121\nread testObjMethodArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMethodArray", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=729-752\nread testPatternCanBeChanged for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testPatternCanBeChanged", "line": 729, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=165-188\nread map for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "map", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=288-311\nread testErrorHandlerHandlesThrowables for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testErrorHandlerHandlesThrowables", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "後回しで実行されるコールバックのパターンをテストするためのデータセットはどこにありますか?", "query": "deferred callable provider", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lang": "ja", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 27: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 107: $this->assertSame($results, $allowedMethods);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 157: $requestHandler = $this->createRequestHandler();", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 21: * Default Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 32: ['GET', 'hello%20world', '/hello world'],", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 313: );", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 313, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 126: */", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 19: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 339: $this->assertSame($called, 1);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 75: if (isset($this->variableRouteData[$httpMethod])) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 15: }", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 548: $resolver = new CallableResolver($container);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 548, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 39: ->createResponse()", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1040: ) {", "file": "tests/AppTest.php", "symbol": "", "line": 1040, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 6: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 64: $this->basePath = $basePath;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 11: namespace Slim\\Tests\\Middleware;", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 5: *", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 141: public static function deferredCallableProvider(): array", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 197: // @codeCoverageIgnoreStart", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "後回しで実行されるコールバックのパターンをテストするためのデータセットはどこにありますか?", "query": "deferred callable provider", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "後回しで実行されるコールバックのパターンをテストするためのデータセットはどこにありますか?", "query": "deferred callable provider", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "後回しで実行されるコールバックのパターンをテストするためのデータセットはどこにありますか?", "query": "deferred callable provider", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lang": "ja", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1357-1380\nread testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument", "line": 1357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=99-122\nread testGetAllowedMethods for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=144-167\nread testRouteArgumentsAreDecodedOnlyOnce for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteArgumentsAreDecodedOnlyOnce", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=23-46\nread RouteRunner for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "RouteRunner", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=38-61\nread getAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "getAllowedMethods", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "이 테스트는 HTTP 메서드가 허용되지 않는 경우 라우트가 저장되지 않는지 확인합니다.", "query": "method not allowed route stored", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 78: public function testRouteIsNotStoredOnMethodNotAllowed()", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/CallableResolver.php\nLine 102: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 554: ['GET'],", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 554, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 126: /** @noinspection PhpUndefinedMethodInspection */", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 46: public function testStyleCustomInvalid()", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 169: *", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 28: }", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 13: use RuntimeException;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 26: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 13: /** @api */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 27: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 21: $request = $this->createServerRequest('/');", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 161: public function __construct(", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 19: * Route callback strategy with route parameters as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 108: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 25: {", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 37: $response = $middlewareDispatcher->handle($request);", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 199: null,", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "이 테스트는 HTTP 메서드가 허용되지 않는 경우 라우트가 저장되지 않는지 확인합니다.", "query": "method not allowed route stored", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\ndefines testRouteIsNotStoredOnMethodNotAllowed", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "이 테스트는 HTTP 메서드가 허용되지 않는 경우 라우트가 저장되지 않는지 확인합니다.", "query": "method not allowed route stored", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Slim", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Psr", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "이 테스트는 HTTP 메서드가 허용되지 않는 경우 라우트가 저장되지 않는지 확인합니다.", "query": "method not allowed route stored", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=40-63\nread testHttpNotAllowedExceptionGetAllowedMethods for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpNotAllowedExceptionGetAllowedMethods", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Ich schreibe gerade an den Unit-Tests für das Routing-System. Kannst du mir zeigen, wie wir sicherstellen, dass eine Exception geworfen wird, wenn derselbe Pfad und die gleiche HTTP-Methode zweimal registriert werden?", "query": "duplicate route exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lang": "de", "candidates": [{"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 245: {", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 245, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 31: $appendToOutput('Hello World');", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 64: }", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 57: return $this->dispatcher;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 21: {", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 20: /**", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 49: $this->callableResolver = $callableResolver;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 39: 'UTF-8'", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 56: * {@inheritdoc}", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 40: * Seed the middleware stack with the inner request handler", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 54: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 269: $body = $this->getStreamFactory()->createStreamFromResource(fopen('php://input', 'r+'));", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 174: }", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 21: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 61: public function createStream(string $contents = ''): StreamInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 11: namespace Slim\\Tests\\Factory\\Psr17;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 146: public function testDuplicateStaticRoute()", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 56: 'SERVER_NAME' => 'localhost',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 48: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 23: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 37: $response->getBody()->write(\"{$calledCount}\");", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Ich schreibe gerade an den Unit-Tests für das Routing-System. Kannst du mir zeigen, wie wir sicherstellen, dass eine Exception geworfen wird, wenn derselbe Pfad und die gleiche HTTP-Methode zweimal registriert werden?", "query": "duplicate route exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lang": "de", "candidates": [{"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Ich schreibe gerade an den Unit-Tests für das Routing-System. Kannst du mir zeigen, wie wir sicherstellen, dass eine Exception geworfen wird, wenn derselbe Pfad und die gleiche HTTP-Methode zweimal registriert werden?", "query": "duplicate route exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> function", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ich schreibe gerade an den Unit-Tests für das Routing-System. Kannst du mir zeigen, wie wir sicherstellen, dass eine Exception geworfen wird, wenn derselbe Pfad und die gleiche HTTP-Methode zweimal registriert werden?", "query": "duplicate route exception", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lang": "de", "candidates": [{"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=756-779\nread testAddBodyParsingMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddBodyParsingMiddleware", "line": 756, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=151-174\nread testParsing for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsing", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=27-50\nread testGetStreamFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetStreamFactoryThrowsRuntimeException", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=146-169\nread testDuplicateStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=285-308\nread testPlainTextErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererDisplaysErrorDetails", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=75-98\nread isReadable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isReadable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=50-73\nread getDataGeneratorClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDataGeneratorClass", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Como gerar URLs relativas para rotas nomeadas no Slim, considerando parâmetros de rota e consulta? Preciso entender como o analisador de rotas constrói o padrão a partir do coletor de rotas.", "query": "relativeUrlFor route name", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lang": "pt", "candidates": [{"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 3: /**", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 9: interface RouteResolverInterface", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 98: $this->container = $container;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 3: /**", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 1: addRoute('GET', '/user', 'handler0');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 47: $request = $this->createServerRequest('https://example.com:443/hello/foo', 'GET');", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 5: *", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 36: $this->assertSame('Title', $exception->getTitle());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 25: class RouteParser implements RouteParserInterface", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 76: ' %s' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 100: $this->routeParser = $routeParser ?? new RouteParser($this);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 100, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 26: use Slim\\Routing\\RouteParser;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 24: * @param RequestHandlerInterface $handler", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 136: }", "file": "tests/TestCase.php", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 25: $psr17Factory = new static::$responseFactoryClass();", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 66: protected function getCallableResolver(?ContainerInterface $container = null): CallableResolverInterface", "file": "tests/TestCase.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 240: $callableRoute();", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 18: use Slim\\Routing\\RouteParser;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 9: use FastRoute\\RouteParser\\Std;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 9, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como gerar URLs relativas para rotas nomeadas no Slim, considerando parâmetros de rota e consulta? Preciso entender como o analisador de rotas constrói o padrão a partir do coletor de rotas.", "query": "relativeUrlFor route name", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lang": "pt", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Como gerar URLs relativas para rotas nomeadas no Slim, considerando parâmetros de rota e consulta? Preciso entender como o analisador de rotas constrói o padrão a partir do coletor de rotas.", "query": "relativeUrlFor route name", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> function", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> Slim", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> Psr", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como gerar URLs relativas para rotas nomeadas no Slim, considerando parâmetros de rota e consulta? Preciso entender como o analisador de rotas constrói o padrão a partir do coletor de rotas.", "query": "relativeUrlFor route name", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lang": "pt", "candidates": [{"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=248-271\nread upperCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "upperCaseRequestMethodsProvider", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=119-142\nread fullUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "fullUrlFor", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryProviderTest.php lines=16-39\nread Psr17FactoryProviderTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "Psr17FactoryProviderTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=204-227\nread testDeferredResolvedSlimCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedSlimCallable", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "计算给定uri和方法的路由结果", "query": "compute routing results", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockCustomException.php\nLine 7: */", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 13: use Exception;", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 41: * @param string $expectedUri The expected uri after transformation in the computeRoutingResults()", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 89: public function getResponseFactory(): ResponseFactoryInterface", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 173: // defined above, when the method `computeRoutingResults()` gets called.", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 173, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 233: })->bindTo($this));", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 5: *", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 156: $results = $routeResolver->computeRoutingResults('/download/Foo%20Bar', 'GET');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 156, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 146: $routingResults = $request->getAttribute(RouteContext::ROUTING_RESULTS);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 37: $response->getBody()->write(\"{$calledCount}\");", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 7: */", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 93: return $this->routeResolver->computeRoutingResults(", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 14: public function computeRoutingResults(string $uri, string $method): RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 14: {", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 33: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 53: $this->callableResolver = $callableResolver;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 40: public function computeRoutingResults(string $uri, string $method): RoutingResults", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 15: class MockPsr17FactoryWithoutStreamFactory extends Psr17Factory", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 15: class HttpMethodNotAllowedException extends HttpSpecializedException", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1951: $responseProphecy = $this->prophesize(ResponseInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 1951, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 30: protected $message = 'Method not allowed.';", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "计算给定uri和方法的路由结果", "query": "compute routing results", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "计算给定uri和方法的路由结果", "query": "compute routing results", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "计算给定uri和方法的路由结果", "query": "compute routing results", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lang": "zh", "candidates": [{"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=210-233\nread testSuperclassExceptionHandlerDoesNotHandleSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerDoesNotHandleSubclassException", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=109-132\nread add for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "add", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "O método que processa a requisição HTTP atual, passando-a para a pilha de middlewares e retornando a resposta final.", "query": "handle middleware process", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteTest.php\nLine 277: return $handler->handle($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 277, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 7: */", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 53: throw new RuntimeException(", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 3: /**", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 34: return $handler->handle($request);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 28: * @throws InvalidArgumentException If required data not provided", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 20: * @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 36: */", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 23: $response = $handler->handle($request);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 24: use ReflectionProperty;", "file": "tests/TestCase.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 18: * @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 127: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 29: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 7: */", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 7: */", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 14: {", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 20: use const JSON_PRETTY_PRINT;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 7: */", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 57: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 193: $response = $this->handle($request);", "file": "Slim/App.php", "symbol": "", "line": 193, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 105: foreach ($this->variableRouteData as $method => $routeData) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 357: $defaultErrorRendererContentTypeProperty = $reflectionClass->getProperty('defaultErrorRendererContentType');", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 357, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "O método que processa a requisição HTTP atual, passando-a para a pilha de middlewares e retornando a resposta final.", "query": "handle middleware process", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lang": "pt", "candidates": [{"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "O método que processa a requisição HTTP atual, passando-a para a pilha de middlewares e retornando a resposta final.", "query": "handle middleware process", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "O método que processa a requisição HTTP atual, passando-a para a pilha de middlewares e retornando a resposta final.", "query": "handle middleware process", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lang": "pt", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1308-1331\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy", "line": 1308, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=14-37\nread computeRoutingResults for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "computeRoutingResults", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=127-150\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "500 서버 에러 관련 예외 클래스 찾아줘", "query": "500 internal error", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 55: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 23: if (count($arguments) !== 3) {", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 7: */", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 17: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 20: use function array_reverse;", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 17: * Defines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'HttpSoft\\Message\\ResponseFactory';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 47: return $callable($request);", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 14: class HttpInternalServerErrorException extends HttpSpecializedException", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 46: public function close(): void", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 37: 'serverRequestDecoratorClass'", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 5: *", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 19: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 48: $test = function () {", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 36: $xml .= ' ' . $exception->getFile() . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'Laminas\\Diactoros\\ResponseFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 247: return new RouteGroup($pattern, $callable, $this->callableResolver, $routeCollectorProxy);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 76: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 20: * @param string|null $message", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 21: * @var int", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 9: interface RouteResolverInterface", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "500 서버 에러 관련 예외 클래스 찾아줘", "query": "500 internal error", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "500 서버 에러 관련 예외 클래스 찾아줘", "query": "500 internal error", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lang": "ko", "candidates": [{"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=59-82\nread setCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setCallable", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1633-1656\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArgumentsRequestResponseArg", "line": 1633, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1420-1443\nread testInvokeWithCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableRegisteredInContainer", "line": 1420, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=281-304\nread logError for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "logError", "line": 281, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "스트림 데이터를 쓸 수 있는지 확인하는 로직이 항상 false만 반환하도록 고정되어 있어서 테스트 시 쓰기 동작을 검증할 수 없습니다.", "query": "is writable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lang": "ko", "candidates": [{"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 93: $serverRequestCreator = ServerRequestCreatorFactory::create();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 19: public static $LastCalledFor = null;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 85: public function isWritable(): bool", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 46: * Add GET route", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 26: }", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 7: */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 153: }", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 80: public function isWritable(): bool", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 35: * @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 68: } elseif ($this->style === static::APPEND && $response->getBody()->isWritable()) {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 112: $callableMiddleware();", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 78: }", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 1: $arguments[2]]);", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 24: *", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "스트림 데이터를 쓸 수 있는지 확인하는 로직이 항상 false만 반환하도록 고정되어 있어서 테스트 시 쓰기 동작을 검증할 수 없습니다.", "query": "is writable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lang": "ko", "candidates": [{"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines isWritable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "스트림 데이터를 쓸 수 있는지 확인하는 로직이 항상 false만 반환하도록 고정되어 있어서 테스트 시 쓰기 동작을 검증할 수 없습니다.", "query": "is writable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "스트림 데이터를 쓸 수 있는지 확인하는 로직이 항상 false만 반환하도록 고정되어 있어서 테스트 시 쓰기 동작을 검증할 수 없습니다.", "query": "is writable", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lang": "ko", "candidates": [{"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=485-508\nread testRouteCallableDoesNotAppendEchoedOutput for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableDoesNotAppendEchoedOutput", "line": 485, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=142-165\nread testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerHandlesExceptionWithSubclassExactMatch", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=177-200\nread getMediaType for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getMediaType", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=17-40\nread __invoke for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/GuzzlePsr17Factory.php lines=13-36\nread GuzzlePsr17Factory for detail", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "GuzzlePsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=233-256\nread testIsResponseEmptyWithZeroAsBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithZeroAsBody", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "获取路由参数的方法", "query": "get route arguments", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lang": "zh", "candidates": [{"text": "File: tests/Routing/DispatcherTest.php\nLine 138: $this->assertSame(['name' => 'Foo%20Bar'], $results->getRouteArguments());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 138, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 68: $routeArguments = $routingResults->getRouteArguments();", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 203: $routeCollectorProphecy = $this->prophesize(RouteCollectorInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 96: public function getRouteArguments(bool $urlDecode = true): array", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 75: * @param int $statusCode", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 47: // Route attribute is not required", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: reveal(),", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 276, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 27: public function testGetStreamFactoryThrowsRuntimeException()", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 291: return new Logger();", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 291, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 29: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 26: $size = $response->getBody()->getSize();", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 59: $renderer = $method->invoke($handler);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 32: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 227: /**", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 328: {", "file": "Slim/Routing/Route.php", "symbol": "", "line": 328, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "获取路由参数的方法", "query": "get route arguments", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "获取路由参数的方法", "query": "get route arguments", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "获取路由参数的方法", "query": "get route arguments", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lang": "zh", "candidates": [{"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=57-80\nread performRouting for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "performRouting", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=158-181\nread setDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=23-46\nread RouteRunner for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "RouteRunner", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Ich versuche gerade zu prüfen, ob unser Framework die entsprechenden Standards für neue Antwort-Objekte unterstützt. Kannst du mir zeigen, wie ich abfrage, ob die Implementierung für die Erstellung dieser Objekte im aktuellen System vorhanden ist?", "query": "response factory available", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lang": "de", "candidates": [{"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 15: interface ErrorRendererInterface", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 116: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 61: /**", "file": "tests/TestCase.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 568: }", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 568, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 18: class MockSequenceMiddleware implements MiddlewareInterface", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 46: string $pattern,", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 32: }", "file": "Slim/Logger.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 37: public static function isResponseFactoryAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 235: $output = simplexml_load_string($renderer->__invoke($exception, true));", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 16: use HttpSoft\\Message\\ServerRequest as HttpSoftServerRequest;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 144: }", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 74: * @param CallableResolverInterface|null $callableResolver", "file": "tests/TestCase.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 21: Throwable $exception,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 34: $this->calledCount += 1;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 140: if ($psr17factory::isResponseFactoryAvailable()) {", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 140, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 36: * @return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 1: assertSame(RoutingResults::FOUND, $results->getRouteStatus());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 31: $this->assertSame('Hello World', $exception->getMessage());", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 260: $this->assertSame((string) $output->message[0], $exceptionTitle, 'Should contain http exception title');", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 260, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 33: }", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Ich versuche gerade zu prüfen, ob unser Framework die entsprechenden Standards für neue Antwort-Objekte unterstützt. Kannst du mir zeigen, wie ich abfrage, ob die Implementierung für die Erstellung dieser Objekte im aktuellen System vorhanden ist?", "query": "response factory available", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lang": "de", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Ich versuche gerade zu prüfen, ob unser Framework die entsprechenden Standards für neue Antwort-Objekte unterstützt. Kannst du mir zeigen, wie ich abfrage, ob die Implementierung für die Erstellung dieser Objekte im aktuellen System vorhanden ist?", "query": "response factory available", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ich versuche gerade zu prüfen, ob unser Framework die entsprechenden Standards für neue Antwort-Objekte unterstützt. Kannst du mir zeigen, wie ich abfrage, ob die Implementierung für die Erstellung dieser Objekte im aktuellen System vorhanden ist?", "query": "response factory available", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lang": "de", "candidates": [{"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=60-83\nread setDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setDescription", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=17-40\nread SlimHttpPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "SlimHttpPsr17Factory", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=519-542\nread testCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testCallableClassNotFoundThrowException", "line": 519, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=42-65\nread isStreamFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isStreamFactoryAvailable", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=26-49\nread testFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testFoundDispatches", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=523-546\nread testInvokeWithException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeWithException", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=121-144\nread testDeferredResolvedCallableWithDirectConstructorCall for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithDirectConstructorCall", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找获取路由回调方法的定义", "query": "get callable route", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/Route.php\nLine 193: public function getCallable()", "file": "Slim/Routing/Route.php", "symbol": "", "line": 193, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 15: use Slim\\Tests\\TestCase;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 25: *", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 47: */", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 52: public function getCallable();", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 51: $callableResolverProphecy->reveal()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 28: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 81: ?CallableResolverInterface $callableResolver = null", "file": "tests/TestCase.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 18: protected $code = 404;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 81: /**", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 3: /**", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 5: *", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 121: $this->assertSame($callable, $route->getCallable());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 121, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 45: );", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 82: public function testMethodNotAllowedDispatches($method, $uri, $callback, $allowedMethods)", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 1: bindTo($this), true); // - true; handle subclass", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 88: }", "file": "Slim/App.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Laminas\\Diactoros\\StreamFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 84: }", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "查找获取路由回调方法的定义", "query": "get callable route", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lang": "zh", "candidates": [{"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "查找获取路由回调方法的定义", "query": "get callable route", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找获取路由回调方法的定义", "query": "get callable route", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=573-596\nread testInvokeDeferredCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeDeferredCallableWithContainer", "line": 573, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=342-365\nread testAddClosureMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddClosureMiddleware", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=63-86\nread testNotFoundDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testNotFoundDispatches", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1143-1166\nread testInvokeWithMatchingRouteWithSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArgument", "line": 1143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=32-55\nread AbstractErrorRendererTest for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "AbstractErrorRendererTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=95-118\nread testCreatesCallableResolverWhenNull for detail", "file": "tests/AppTest.php", "symbol": "testCreatesCallableResolverWhenNull", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=225-248\nread testIsResponseEmptyWithEmptyBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithEmptyBody", "line": 225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Estoy probando la lógica de los objetos que se pueden ejecutar como funciones. ¿Dónde tengo la clase de prueba que simula un objeto con un contador interno?", "query": "mock call count", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lang": "es", "candidates": [{"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 7: */", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 20: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 27: public function getAllowedMethods(string $uri): array;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 20: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 17: use Slim\\Interfaces\\Psr17FactoryProviderInterface;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 14: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 430: }", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 430, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 203: unset($this->routesByName[$name]);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 26: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 1: prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 1: withBody($body);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 216, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy probando la lógica de los objetos que se pueden ejecutar como funciones. ¿Dónde tengo la clase de prueba que simula un objeto con un contador interno?", "query": "mock call count", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lang": "es", "candidates": [{"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\ndefines InvokableTest", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy probando la lógica de los objetos que se pueden ejecutar como funciones. ¿Dónde tengo la clase de prueba que simula un objeto con un contador interno?", "query": "mock call count", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lang": "es", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=467-490\nread testProcessWhenReturningAResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testProcessWhenReturningAResponse", "line": 467, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=244-267\nread testXMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererRenderHttpException", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php lines=13-36\nread RequestHandlerInvocationStrategyInterface for detail", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "RequestHandlerInvocationStrategyInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=111-134\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "addMiddleware", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=57-80\nread testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutBasePathAndThrowExceptionIfGetBasePathIsCalled", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=19-42\nread testAddsContentLength for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "testAddsContentLength", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=17-40\nread __invoke for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "すべてのHTTPメソッドに対応するルートを追加する方法を教えてください。パスのパターンとコールバックを指定して、新しいルートを登録したいです。", "query": "route any method", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 68: throw new RuntimeException(get_called_class() . ' could not instantiate a server request creator.');", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 51: * @param ServerRequestInterface $request PSR7 Server Request", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 713: $requestProphecy->withAttribute(Argument::type('string'), Argument::any())->will(function ($args) use ($self) {", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 713, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 153: return $this->invocationStrategy;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 65: $this->assertNotNull($routeContext->getRoute());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 170: * as willdurand/negotiation for any other situation.", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 170, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 41: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 25: class RouteResolver implements RouteResolverInterface", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 194: */", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 29: }", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 26: */", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 143: ->seedMiddlewareStack(Argument::any())", "file": "tests/AppTest.php", "symbol": "", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 15: public static $CalledCount = 0;", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 180: ->has(Argument::any())", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 180, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 176: $routeResolverProphecy->computeRoutingResults(Argument::any(), Argument::any())", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 33: }", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 348: $route = $routeCollectorProxy->any($pattern, $callable);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 348, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 98: public function rewind(): void", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 1: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "すべてのHTTPメソッドに対応するルートを追加する方法を教えてください。パスのパターンとコールバックを指定して、新しいルートを登録したいです。", "query": "route any method", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "すべてのHTTPメソッドに対応するルートを追加する方法を教えてください。パスのパターンとコールバックを指定して、新しいルートを登録したいです。", "query": "route any method", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lang": "ja", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=99-122\nread any for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=19-42\nread testAddsContentLength for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "testAddsContentLength", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=158-181\nread lowerCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "lowerCaseRequestMethodsProvider", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to clean up the repository formatting. Where can I find the setting that automatically removes empty spaces at the end of lines?", "query": "trim trailing whitespace", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lang": "en", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\nLine 13: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 16: /**", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 25: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 1: getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 67: ) {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 31: false,", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 53: * Path to fast route cache file. Set to null to disable route caching", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 80: ' strong{display:inline-block;width:65px}' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 28: return $callable($request);", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 17: class InvocationStrategyTest implements InvocationStrategyInterface", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 88: $psr17FactoryProvider::setFactories([SlimPsr17Factory::class]);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 136: ];", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 20: {", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 115: break;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 154: * The callable MUST return an instance of", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 75: ' ' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 128: {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to clean up the repository formatting. Where can I find the setting that automatically removes empty spaces at the end of lines?", "query": "trim trailing whitespace", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lang": "en", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines trim_trailing_whitespace", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to clean up the repository formatting. Where can I find the setting that automatically removes empty spaces at the end of lines?", "query": "trim trailing whitespace", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lang": "en", "candidates": [{"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=279-302\nread testDetermineContentTypeApplicationJsonOrXml for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeApplicationJsonOrXml", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=274-297\nread testObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClass", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=13-36\nread InvokableTest for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "InvokableTest", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "当容器中注册的中间件对象对应的处理类(RequestHandler)本身无法被容器解析时,`CallableResolver::resolveMiddleware` 不应该抛出 `RuntimeException`,并提示 'a_requesthandler is not resolvable'。请修复这个行为,确保在容器能获取到对象实例的情况下,不会错误地报告解析失败。", "query": "middleware container resolution exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lang": "zh", "candidates": [{"text": "File: tests/MiddlewareDispatcherTest.php\nLine 147: ['Callable', function (ServerRequestInterface $request, RequestHandlerInterface $handler) {", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 3: /**", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 131: ->createServerRequestFromGlobals()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 32: * METHOD_NOT_ALLOWED = 2", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 333: public function testMiddlewareObjPsrRequestHandlerClassInContainer(): void", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 27: public function resolveMiddleware($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 24: {", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 19: /**", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 59: // If routing hasn't been done, then do it now so we can dispatch", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 1: removeNamedRoute('test');", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 162: } else {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 19: * Route callback strategy with route parameters as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 32: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 29: */", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 23: use Throwable;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 25: * @throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 83: *", "file": "Slim/CallableResolver.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "当容器中注册的中间件对象对应的处理类(RequestHandler)本身无法被容器解析时,`CallableResolver::resolveMiddleware` 不应该抛出 `RuntimeException`,并提示 'a_requesthandler is not resolvable'。请修复这个行为,确保在容器能获取到对象实例的情况下,不会错误地报告解析失败。", "query": "middleware container resolution exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testMiddlewareObjPsrRequestHandlerClassInContainer", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "当容器中注册的中间件对象对应的处理类(RequestHandler)本身无法被容器解析时,`CallableResolver::resolveMiddleware` 不应该抛出 `RuntimeException`,并提示 'a_requesthandler is not resolvable'。请修复这个行为,确保在容器能获取到对象实例的情况下,不会错误地报告解析失败。", "query": "middleware container resolution exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "当容器中注册的中间件对象对应的处理类(RequestHandler)本身无法被容器解析时,`CallableResolver::resolveMiddleware` 不应该抛出 `RuntimeException`,并提示 'a_requesthandler is not resolvable'。请修复这个行为,确保在容器能获取到对象实例的情况下,不会错误地报告解析失败。", "query": "middleware container resolution exception", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lang": "zh", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=356-379\nread testExecutesMiddlewareLastInFirstOut for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesMiddlewareLastInFirstOut", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=302-325\nread setArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "setArgument", "line": 302, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/HttpSoftPsr17Factory.php lines=13-36\nread HttpSoftPsr17Factory for detail", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "HttpSoftPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php lines=15-38\nread MockPsr17FactoryWithoutStreamFactory for detail", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "MockPsr17FactoryWithoutStreamFactory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=47-70\nread renderExceptionFragment for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderExceptionFragment", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=119-142\nread fullUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "fullUrlFor", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "查找验证闭包内通过容器解析依赖的测试用例", "query": "closure container resolver", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 105: foreach ($this->variableRouteData as $method => $routeData) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 49: {", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 28: {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 46: // route is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 27: * @param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 220: } else {", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 220, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 19: public static function getFactories(): array;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 12: * @param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 18: use Slim\\Http\\ServerRequest;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 40: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 199: ->getPattern()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 5: *", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 16: class RoutingResults", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 27: public static function getStreamFactory(): StreamFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 240: });", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 1: withBody($body);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 15: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 61: public function testClosureContainer(): void", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 17: * {@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 30: /**", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 14: use Slim\\Middleware\\ContentLengthMiddleware;", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 24: protected $message = 'Internal server error.';", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "查找验证闭包内通过容器解析依赖的测试用例", "query": "closure container resolver", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lang": "zh", "candidates": [{"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\ndefines testClosureContainer", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "查找验证闭包内通过容器解析依赖的测试用例", "query": "closure container resolver", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "查找验证闭包内通过容器解析依赖的测试用例", "query": "closure container resolver", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=99-122\nread testBasePathIsIgnoreInRelativePathFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testBasePathIsIgnoreInRelativePathFor", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=111-134\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "addMiddleware", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=398-421\nread testControllerMethodAsStringResolvesWithoutContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithoutContainer", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=59-82\nread testCreateServerRequestFromGlobalsThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeException", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Crie um teste que verifica se a criação do ServerRequestCreator lança uma RuntimeException quando o provedor de fábricas não tem nenhuma fábrica configurada, certificando-se de que isso rode em um processo separado para isolar o estado global.", "query": "ServerRequestCreatorFactory test exception", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lang": "pt", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 205: * @param string|callable|ErrorHandlerInterface $handler", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 30: $this->expectExceptionMessage('Slim\\\\Tests\\\\Mocks\\\\MockPsr17Factory could not instantiate a stream factory.');", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 34: */", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 1: getCode();", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 25: protected string $defaultErrorTitle = 'Slim Application Error';", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 21: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 20: use Slim\\Routing\\RouteCollectorProxy;", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 28: *", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 29: */", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 135: }", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Crie um teste que verifica se a criação do ServerRequestCreator lança uma RuntimeException quando o provedor de fábricas não tem nenhuma fábrica configurada, certificando-se de que isso rode em um processo separado para isolar o estado global.", "query": "ServerRequestCreatorFactory test exception", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> RuntimeException", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Nyholm", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Slim", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Psr", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> HttpSoft", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Crie um teste que verifica se a criação do ServerRequestCreator lança uma RuntimeException quando o provedor de fábricas não tem nenhuma fábrica configurada, certificando-se de que isso rode em um processo separado para isolar o estado global.", "query": "ServerRequestCreatorFactory test exception", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lang": "pt", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=497-520\nread testRouteClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteClassNotFoundThrowException", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=15-38\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=161-184\nread testShadowedStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testShadowedStaticRoute", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=287-310\nread testAddMiddlewareOnGroup for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareOnGroup", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=110-133\nread testGetAllowedMethodsReusesLastUriOnly for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethodsReusesLastUriOnly", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo puedo obtener el identificador textual de una ruta definida?", "query": "route name getter", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lang": "es", "candidates": [{"text": "File: Slim/Factory/AppFactory.php\nLine 77: public static function createFromContainer(ContainerInterface $container): App", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 40: public function setUp(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 15: interface DispatcherInterface", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 25: }", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 44: $request = $this->performRouting($request);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 32: * @var null|string", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 395: $this->assertSame('foo', $route->getName());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 395, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 199: if ($route->getName() === $name) {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 199, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 210: public function getName(): ?string", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 263: }", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 62: */", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 13: use Throwable;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 100: throw new RuntimeException(", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 14: interface Psr17FactoryProviderInterface", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 28: }", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 56: $this->callableResolver = $callableResolver;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 1: $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo puedo obtener el identificador textual de una ruta definida?", "query": "route name getter", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo puedo obtener el identificador textual de una ruta definida?", "query": "route name getter", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lang": "es", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=145-168\nread addErrorMiddleware for detail", "file": "Slim/App.php", "symbol": "addErrorMiddleware", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1143-1166\nread testInvokeWithMatchingRouteWithSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArgument", "line": 1143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=247-270\nread testDetermineContentTypeTextPlainMultiAcceptHeader for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineContentTypeTextPlainMultiAcceptHeader", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=142-165\nread parseBody for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=252-275\nread testArgumentSetting for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testArgumentSetting", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=240-263\nread testAddCallableBindsClosureToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddCallableBindsClosureToContainer", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=210-233\nread getName for detail", "file": "Slim/Routing/Route.php", "symbol": "getName", "line": 210, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=125-148\nread addRoutingMiddleware for detail", "file": "Slim/App.php", "symbol": "addRoutingMiddleware", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "특정 이름을 가진 라우트 객체를 가져오는 로직이 어떻게 구현되어 있는지 알려줘", "query": "get named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpException.php\nLine 15: use Throwable;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 44: return $this->renderHtmlBody($this->getErrorTitle($exception), $html);", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 93: public static function isServerRequestCreatorAvailable(): bool", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 28: {", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 239: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 239, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 15: class MockPsr17Factory extends Psr17Factory", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 195: public function getNamedRoute(string $name): RouteInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 489: ->shouldBeCalledOnce();", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 489, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 88: $toResolve = $this->prepareToResolve($toResolve);", "file": "Slim/CallableResolver.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 42: ): ServerRequestInterface {", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 203: ->getNamedRoute('test')", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 203, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 16: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 79: */", "file": "Slim/Routing/Route.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 69: * Invoke the middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 36: {", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 13: class HttpSoftPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 161: $routeResolverProphecy = $this->prophesize(RouteResolverInterface::class);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 97: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 42: $route = $this->routeCollector->getNamedRoute($routeName);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 54: $renderer = $method->invoke($handler);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 71: public function getNamedRoute(string $name): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 13: use Slim\\Error\\AbstractErrorRenderer;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "특정 이름을 가진 라우트 객체를 가져오는 로직이 어떻게 구현되어 있는지 알려줘", "query": "get named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "특정 이름을 가진 라우트 객체를 가져오는 로직이 어떻게 구현되어 있는지 알려줘", "query": "get named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> function", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Slim", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "특정 이름을 가진 라우트 객체를 가져오는 로직이 어떻게 구현되어 있는지 알려줘", "query": "get named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=17-40\nread createServerRequestFromGlobals for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=104-127\nread getAllowedMethods for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=367-390\nread testObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMiddlewareClass", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=135-158\nread testDuplicateVariableRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableRoute", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=339-362\nread testExecutesKernelWithEmptyMiddlewareStack for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=103-126\nread testOutputBufferIsCleanedWhenThrowableIsCaught for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testOutputBufferIsCleanedWhenThrowableIsCaught", "line": 103, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo se prueba que se puede forzar el tipo de contenido en las respuestas del manejador de errores?", "query": "force content type test", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 42: return $handler->handle($request);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 50: public function resolve($toResolve): callable", "file": "Slim/CallableResolver.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 3: /**", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 260: /**", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 260, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 24: public static function setFactories(array $factories): void;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 145: */", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 103: simplexml_load_string('John'),", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 27: */", "file": "Slim/Logger.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 14: use Slim\\Tests\\Mocks\\MockPsr17Factory;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 3: /**", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 33: foreach ($this->routeCollector->getRoutes() as $route) {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 19: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 28: * @throws InvalidArgumentException If required data not provided", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 43: }", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 72: * {@inheritdoc}", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 15: use Slim\\Exception\\HttpNotFoundException;", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 45: false,", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 1: ", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo se prueba que se puede forzar el tipo de contenido en las respuestas del manejador de errores?", "query": "force content type test", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo se prueba que se puede forzar el tipo de contenido en las respuestas del manejador de errores?", "query": "force content type test", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lang": "es", "candidates": [{"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=485-508\nread testRouteCallableDoesNotAppendEchoedOutput for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableDoesNotAppendEchoedOutput", "line": 485, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=137-160\nread testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=729-752\nread testPatternCanBeChanged for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testPatternCanBeChanged", "line": 729, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=74-97\nread process for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "process", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=149-172\nread options for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "options", "line": 149, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "요청된 HTTP 메서드와 URI를 받아서 라우팅 결과를 반환하는 인터페이스 메서드가 어디에 정의되어 있는지 찾아줘. 어떤 방식으로 라우팅 결과 객체를 가져오는지 확인하고 싶어.", "query": "dispatch routing results", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lang": "ko", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 51: return [", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 51: ->dispatch(Argument::type('string'), Argument::type('string'))", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 137: public function testResponseReplacesPreviouslySetHeaders(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 84: public static function setSlimHttpDecoratorsAutomaticDetection(bool $enabled): void", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 16: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 60: {", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 15: use Throwable;", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 35: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 93: $this->assertTrue($callable());", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 42: $uri = rawurldecode($uri);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 20: public function dispatch(string $method, string $uri): RoutingResults;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 74: $result = $dispatcher2->dispatch('GET', '/');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 83: * @return RouteResolverInterface", "file": "Slim/App.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 39: */", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 23: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 33: public function dispatch($httpMethod, $uri): array", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 137: $route = $request->getAttribute(RouteContext::ROUTE);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 152: $routeCollector->map(['GET'], '/download/{file}', $callable);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 63: public function dispatch(string $method, string $uri): RoutingResults", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 162: }", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 59: // If routing hasn't been done, then do it now so we can dispatch", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 59, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 46: return $this->dispatcher->dispatch($method, $uri);", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 46, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "요청된 HTTP 메서드와 URI를 받아서 라우팅 결과를 반환하는 인터페이스 메서드가 어디에 정의되어 있는지 찾아줘. 어떤 방식으로 라우팅 결과 객체를 가져오는지 확인하고 싶어.", "query": "dispatch routing results", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lang": "ko", "candidates": [{"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "요청된 HTTP 메서드와 URI를 받아서 라우팅 결과를 반환하는 인터페이스 메서드가 어디에 정의되어 있는지 찾아줘. 어떤 방식으로 라우팅 결과 객체를 가져오는지 확인하고 싶어.", "query": "dispatch routing results", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "요청된 HTTP 메서드와 URI를 받아서 라우팅 결과를 반환하는 인터페이스 메서드가 어디에 정의되어 있는지 찾아줘. 어떤 방식으로 라우팅 결과 객체를 가져오는지 확인하고 싶어.", "query": "dispatch routing results", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lang": "ko", "candidates": [{"text": "Next: read Slim/Logger.php lines=28-51\nread log for detail", "file": "Slim/Logger.php", "symbol": "log", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=49-72\nread setTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "setTitle", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=814-837\nread testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableIsResolvedUsingContainerWhenCallableResolverIsPresent", "line": 814, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "미들웨어 디스패치 과정에서 재귀적으로 다시 실행될 수 있는지 검증하는 테스트 코드가 어디 있지?", "query": "middleware recursive dispatch", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 158: if (isset($this->bodyParsers[$mediaType])) {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 18: {", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 28: {", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1826: public function testCanBeReExecutedRecursivelyDuringDispatch(): void", "file": "tests/AppTest.php", "symbol": "", "line": 1826, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 1: withParsedBody(['_METHOD' => 'PUT']);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 85: $serverRequestProphecy = $this->prophesize(ServerRequestInterface::class);", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 168: $r->addRoute('GET', '/user/{name}', 'handler0');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 100: /** @var string $input */", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 76: static::$psr17FactoryProvider = $psr17FactoryProvider;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 47: $request = $this->createServerRequest('https://example.com:443/hello/foo', 'GET');", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 35: $xml .= ' ' . $this->createCdataSection($exception->getMessage()) . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 22: * @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 75: public function getContainer(): ?ContainerInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 89: $title,", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 28: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 38: $this->assertSame($routeParser, $routeContext->getRouteParser());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 507: public function testCanBeReExecutedRecursivelyDuringDispatch(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 570: /**", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 570, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "미들웨어 디스패치 과정에서 재귀적으로 다시 실행될 수 있는지 검증하는 테스트 코드가 어디 있지?", "query": "middleware recursive dispatch", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "미들웨어 디스패치 과정에서 재귀적으로 다시 실행될 수 있는지 검증하는 테스트 코드가 어디 있지?", "query": "middleware recursive dispatch", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "미들웨어 디스패치 과정에서 재귀적으로 다시 실행될 수 있는지 검증하는 테스트 코드가 어디 있지?", "query": "middleware recursive dispatch", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lang": "ko", "candidates": [{"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=71-94\nread getNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getNamedRoute", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=244-267\nread testXMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererRenderHttpException", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=30-53\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getServerRequestFactory", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "How do I retrieve the standard way the application handles calling routes?", "query": "default route strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lang": "en", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 27: public function getDefaultInvocationStrategy(): InvocationStrategyInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteContext.php\nLine 51: private RoutingResults $routingResults;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 30: public function relativeUrlFor(string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 22: * Invoke a route callable.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 276: ->withBody($body);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 276, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 20: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 16: * Resolve $toResolve into a callable", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 251: );", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 251, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 55: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 18: }", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 7: */", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 115: public function getDefaultInvocationStrategy(): InvocationStrategyInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 355: $this->assertInstanceOf(RequestHandlerTest::class, $callable[0]);", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 355, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 5: *", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 106: $this->assertSame($invocationStrategyProphecy->reveal(), $routeCollector->getDefaultInvocationStrategy());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 28: }", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 111: 'application/json;charset=utf8',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 273: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 273, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 95: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 489: return $response->withStatus(201);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 489, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 106: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 27: * Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 36: ): ResponseInterface;", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 13: class HttpNotFoundException extends HttpSpecializedException", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "How do I retrieve the standard way the application handles calling routes?", "query": "default route strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lang": "en", "candidates": [{"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "How do I retrieve the standard way the application handles calling routes?", "query": "default route strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "How do I retrieve the standard way the application handles calling routes?", "query": "default route strategy", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lang": "en", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=41-64\nread getCalledCount for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "getCalledCount", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=2102-2125\nread testInvokeSequentialProcessAfterAddingAnotherRouteArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessAfterAddingAnotherRouteArgument", "line": 2102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=112-135\nread addMiddleware for detail", "file": "Slim/App.php", "symbol": "addMiddleware", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=129-152\nread testRemoveNamedRouteWithARouteThatDoesNotExist for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRouteWithARouteThatDoesNotExist", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=21-44\nread process for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "process", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=467-490\nread testProcessWhenReturningAResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testProcessWhenReturningAResponse", "line": 467, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=141-164\nread deferredCallableProvider for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "deferredCallableProvider", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Preciso preparar a rota antes de executá-la, passando os argumentos esperados para o método. Isso é necessário para configurar o contexto correto da rota antes da execução.", "query": "prepare route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lang": "pt", "candidates": [{"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 1: expectOutputString('Oops..');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 317, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 3: [*]", "file": ".editorconfig", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 158: public function setDefaultErrorHandler($handler): self", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 37: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 293: public function prepare(array $arguments): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 293, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 26: protected string $title = '429 Too Many Requests';", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Slim\\Psr7\\Factory\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 13: use function implode;", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 72: ->prepare($routeArguments);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 38: $this->expectExceptionMessage('Slim\\\\Tests\\\\Mocks\\\\MockPsr17Factory' .", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 62: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 90: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 70: $route = $this->routeResolver", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 31: return $response;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 33: {", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 51: public function testCreateAppWithAllImplementations(string $psr17factory, string $expectedServerRequestClass)", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 118: public function prepare(array $arguments): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Preciso preparar a rota antes de executá-la, passando os argumentos esperados para o método. Isso é necessário para configurar o contexto correto da rota antes da execução.", "query": "prepare route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Preciso preparar a rota antes de executá-la, passando os argumentos esperados para o método. Isso é necessário para configurar o contexto correto da rota antes da execução.", "query": "prepare route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Preciso preparar a rota antes de executá-la, passando os argumentos esperados para o método. Isso é necessário para configurar o contexto correto da rota antes da execução.", "query": "prepare route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lang": "pt", "candidates": [{"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=254-277\nread addCallable for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addCallable", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1464-1487\nread testInvokeWithNonExistentMethodOnCallableRegisteredInContainer for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithNonExistentMethodOnCallableRegisteredInContainer", "line": 1464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "에러 메시지를 렌더링할 때 기본으로 사용할 콘텐츠 타입과 렌더러 함수(또는 클래스)를 설정하는 로직을 찾아주세요. 이 설정이 적용되면 에러 발생 시 해당 렌더러가 기본 동작으로 사용됩니다.", "query": "default error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lang": "ko", "candidates": [{"text": "File: tests/Mocks/MockRequestHandler.php\nLine 5: *", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 15: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 1: setDefaultErrorRenderer('text/plain', PlainTextErrorRenderer::class);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 350, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nLine 72: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 244: public function setDefaultErrorRenderer(string $contentType, $errorRenderer): void", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 66: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 84: if ($this->basePath === null) {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 21: * @param RequestHandlerInterface $handler", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 64: {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 49: * @param array $data Named argument replacement data", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 40: */", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 122: /**", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 14: use Throwable;", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 14: use Slim\\Interfaces\\ErrorRendererInterface;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 43: /**", "file": "tests/TestCase.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "에러 메시지를 렌더링할 때 기본으로 사용할 콘텐츠 타입과 렌더러 함수(또는 클래스)를 설정하는 로직을 찾아주세요. 이 설정이 적용되면 에러 발생 시 해당 렌더러가 기본 동작으로 사용됩니다.", "query": "default error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "에러 메시지를 렌더링할 때 기본으로 사용할 콘텐츠 타입과 렌더러 함수(또는 클래스)를 설정하는 로직을 찾아주세요. 이 설정이 적용되면 에러 발생 시 해당 렌더러가 기본 동작으로 사용됩니다.", "query": "default error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Throwable", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> function", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Slim", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "에러 메시지를 렌더링할 때 기본으로 사용할 콘텐츠 타입과 렌더러 함수(또는 클래스)를 설정하는 로직을 찾아주세요. 이 설정이 적용되면 에러 발생 시 해당 렌더러가 기본 동작으로 사용됩니다.", "query": "default error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lang": "ko", "candidates": [{"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/App.php lines=207-230\nread handle for detail", "file": "Slim/App.php", "symbol": "handle", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=21-44\nread ServerRequestCreatorFactory for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "ServerRequestCreatorFactory", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=19-42\nread Logger for detail", "file": "Slim/Logger.php", "symbol": "Logger", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1563-1586\nread handle for detail", "file": "tests/AppTest.php", "symbol": "handle", "line": 1563, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=230-253\nread group for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "group", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "implementar o manipulador de erros padrão do slim que formata a resposta conforme o header accept", "query": "error handler default", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lang": "pt", "candidates": [{"text": "File: tests/Routing/RouteTest.php\nLine 17: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 28: {", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 26: use Slim\\Handlers\\ErrorHandler;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 26: protected string $title = '501 Not Implemented';", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 20: use Slim\\Handlers\\ErrorHandler;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 37: $this->expectException(RuntimeException::class);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 19: use Slim\\Routing\\RouteResolver;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 3: /**", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 162: $this->assertSame(['file' => '%2e%2e%2fetc%2fpasswd'], $results->getRouteArguments());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 61: $this->route = $route;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 48: class ErrorHandler implements ErrorHandlerInterface", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 17: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 21: /**", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'fromGlobals';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 101: ->getStreamFactory()", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 22: use Slim\\Handlers\\ErrorHandler;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 380: *******************************************************************************/", "file": "tests/AppTest.php", "symbol": "", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 34: public function testAddFactory()", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 87: $dispatcherProphecy->reveal()", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 144: }", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "implementar o manipulador de erros padrão do slim que formata a resposta conforme o header accept", "query": "error handler default", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lang": "pt", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "implementar o manipulador de erros padrão do slim que formata a resposta conforme o header accept", "query": "error handler default", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> function", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Slim", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Throwable", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "implementar o manipulador de erros padrão do slim que formata a resposta conforme o header accept", "query": "error handler default", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lang": "pt", "candidates": [{"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=184-207\nread testContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testContainer", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=119-142\nread fullUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "fullUrlFor", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=253-276\nread createProxy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createProxy", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=27-50\nread resolveMiddleware for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=40-63\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=84-107\nread setSlimHttpDecoratorsAutomaticDetection for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setSlimHttpDecoratorsAutomaticDetection", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=197-220\nread testSetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testSetInvocationStrategy", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=172-195\nread determineContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineContentType", "line": 172, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=38-61\nread getErrorDescription for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorDescription", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "애플리케이션 인스턴스를 생성할 때 사용할 라우팅 해결 로직을 직접 지정하고 싶어요. 외부에서 정의한 라우터 인터페이스를 정적으로 주입할 수 있는 메서드가 어디에 있나요?", "query": "set route resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 34: ResponseInterface $response,", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 470: public function testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses(): void", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 470, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 171: AppFactory::setRouteResolver($routeResolverProphecy->reveal());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 171, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 15: interface ServerRequestCreatorInterface", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 26: protected string $description = 'The requested resource could not be found. Please verify the URI and try again.';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 66: /**", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 42: }", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 616: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 616, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 5: *", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 203: public static function setRouteResolver(RouteResolverInterface $routeResolver): void", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 37: /**", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 135: $request = $request->withBody($body);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 5: *", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 19: public function testAddsContentLength()", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 34: /**", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 102: $this->assertTrue(true);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 14: class HttpUnauthorizedException extends HttpSpecializedException", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 103: }", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 18: }", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 78: public function testGetRouteCollectorReturnsInjectedInstance()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 309: ->willReturn(true)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 309, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 193: $class = array_shift($candidate);", "file": "Slim/CallableResolver.php", "symbol": "", "line": 193, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "애플리케이션 인스턴스를 생성할 때 사용할 라우팅 해결 로직을 직접 지정하고 싶어요. 외부에서 정의한 라우터 인터페이스를 정적으로 주입할 수 있는 메서드가 어디에 있나요?", "query": "set route resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lang": "ko", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "애플리케이션 인스턴스를 생성할 때 사용할 라우팅 해결 로직을 직접 지정하고 싶어요. 외부에서 정의한 라우터 인터페이스를 정적으로 주입할 수 있는 메서드가 어디에 있나요?", "query": "set route resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "애플리케이션 인스턴스를 생성할 때 사용할 라우팅 해결 로직을 직접 지정하고 싶어요. 외부에서 정의한 라우터 인터페이스를 정적으로 주입할 수 있는 메서드가 어디에 있나요?", "query": "set route resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=320-343\nread testAny for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testAny", "line": 320, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=21-44\nread __invoke for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "__invoke", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=339-362\nread testExecutesKernelWithEmptyMiddlewareStack for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testExecutesKernelWithEmptyMiddlewareStack", "line": 339, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=120-143\nread createStream for detail", "file": "tests/TestCase.php", "symbol": "createStream", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "tester l'émission d'une réponse avec un corps de taille indéterminée", "query": "test indeterminate length emit", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lang": "fr", "candidates": [{"text": "File: .editorconfig\nLine 1: root = true", "file": ".editorconfig", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 39: }", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 19: use Slim\\Routing\\RouteResolver;", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 34: $exception->setDescription('Description');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 48: * Returns a CDATA section with the given content.", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 253: ->shouldBeCalledOnce();", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 106: public function testRespondIndeterminateLength(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 140: }", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 49: public static function addFactory(string $factory): void", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 1: $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "tester l'émission d'une réponse avec un corps de taille indéterminée", "query": "test indeterminate length emit", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> function", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> const", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "tester l'émission d'une réponse avec un corps de taille indéterminée", "query": "test indeterminate length emit", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lang": "fr", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=81-104\nread getArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArgument", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=368-391\nread testCreateAppWithEmptyContainer for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithEmptyContainer", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=38-61\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1184-1207\nread testInvokeWithMatchingRouteWithSetArguments for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArguments", "line": 1184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1984-2007\nread testAppIsARequestHandler for detail", "file": "tests/AppTest.php", "symbol": "testAppIsARequestHandler", "line": 1984, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to figure out how the incoming request path and HTTP verb are passed to the dispatcher to determine which handler should run. Can you show me the logic that normalizes the URI and triggers the dispatch process?", "query": "dispatch uri method", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lang": "en", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\nLine 168: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 93: return $this->routeResolver->computeRoutingResults(", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 24: * Default Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 18: /** @api */", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 37: static::$LastCalledFor = $callable;", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 173: // defined above, when the method `computeRoutingResults()` gets called.", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 173, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 14: public function computeRoutingResults(string $uri, string $method): RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 14, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 155: $callable = function (ServerRequestInterface $request, ResponseInterface $response) {", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 67: RouteContext::BASE_PATH,", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 44: */", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 40: public function computeRoutingResults(string $uri, string $method): RoutingResults", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\nLine 40: protected static ?RouteCollectorInterface $routeCollector = null;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 67: $app->run($request);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 50: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('provideImplementations')]", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 156: $results = $routeResolver->computeRoutingResults('/download/Foo%20Bar', 'GET');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 156, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 11: namespace Slim\\Handlers\\Strategies;", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 41: * @param string $expectedUri The expected uri after transformation in the computeRoutingResults()", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 37: */", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 18: protected static string $streamFactoryClass = '';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 75: }", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 125: public function addRoutingMiddleware(): RoutingMiddleware", "file": "Slim/App.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to figure out how the incoming request path and HTTP verb are passed to the dispatcher to determine which handler should run. Can you show me the logic that normalizes the URI and triggers the dispatch process?", "query": "dispatch uri method", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lang": "en", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm trying to figure out how the incoming request path and HTTP verb are passed to the dispatcher to determine which handler should run. Can you show me the logic that normalizes the URI and triggers the dispatch process?", "query": "dispatch uri method", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> function", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to figure out how the incoming request path and HTTP verb are passed to the dispatcher to determine which handler should run. Can you show me the logic that normalizes the URI and triggers the dispatch process?", "query": "dispatch uri method", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lang": "en", "candidates": [{"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotFoundException.php lines=13-36\nread HttpNotFoundException for detail", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "HttpNotFoundException", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=183-206\nread testJSONErrorRendererDisplaysPreviousError for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDisplaysPreviousError", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=17-40\nread MockMiddlewareSlimCallable for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "MockMiddlewareSlimCallable", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=66-89\nread getCallableResolver for detail", "file": "tests/TestCase.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=244-267\nread testXMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererRenderHttpException", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=186-209\nread run for detail", "file": "Slim/App.php", "symbol": "run", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=289-312\nread getDefaultLogger for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "getDefaultLogger", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "gruppe mit muster und callable erstellen", "query": "route group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lang": "de", "candidates": [{"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 22: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 46: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 175: public function group(string $pattern, $callable): RouteGroupInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 55: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 76: }", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 437: $pattern = '/group';", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 437, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 5: *", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 47: * @param string $pattern", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 114: * declarations in the callback will be prepended by the group(s)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 114, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 176: $this->expectExceptionMessage('Regex \"(en|de)\" for parameter \"lang\" contains a capturing group');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 1: addMiddleware($mw2);", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 47: }", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 91: $method = new ReflectionMethod(Dispatcher::class, 'createDispatcher');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 230: public function group(string $pattern, $callable): RouteGroupInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 230, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 231: '/group',", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 231, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 142: * Force the content type for all error handler responses.", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 39: return $response;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 108: public function write($string): int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "gruppe mit muster und callable erstellen", "query": "route group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lang": "de", "candidates": [{"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "gruppe mit muster und callable erstellen", "query": "route group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "gruppe mit muster und callable erstellen", "query": "route group pattern", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lang": "de", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=290-313\nread testCreateAppWithContainerUsesContainerDependenciesWhenPresent for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithContainerUsesContainerDependenciesWhenPresent", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1308-1331\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy", "line": 1308, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Necesito establecer un nombre personalizado para la ruta que se está construyendo actualmente. ¿Cómo asigno este identificador al objeto de ruta?", "query": "route name setter", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 108: $routeCollector = new RouteCollector($responseFactoryProphecy->reveal(), $callableResolverProphecy->reveal());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 159: protected static function attemptResponseFactoryDecoration(", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 1: setName('foo');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 394: $this->assertSame($route, $route->setName('foo'));", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 394, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 85: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 158: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 32: $this->assertSame('append', $value);", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 91: $route->setName('test');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 91, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 30: parent::__construct($request, $this->message, $this->code, $previous);", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 24: {", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 14: class HttpGoneException extends HttpSpecializedException", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 29: * The status is one of the constants shown above", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 249: {", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 37: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 218: public function setName(string $name): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 119: $route->setName('test');", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 107: {", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 111: } else {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Necesito establecer un nombre personalizado para la ruta que se está construyendo actualmente. ¿Cómo asigno este identificador al objeto de ruta?", "query": "route name setter", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Necesito establecer un nombre personalizado para la ruta que se está construyendo actualmente. ¿Cómo asigno este identificador al objeto de ruta?", "query": "route name setter", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Necesito establecer un nombre personalizado para la ruta que se está construyendo actualmente. ¿Cómo asigno este identificador al objeto de ruta?", "query": "route name setter", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lang": "es", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=218-241\nread setName for detail", "file": "Slim/Routing/Route.php", "symbol": "setName", "line": 218, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=216-239\nread determineRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineRenderer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=29-52\nread ErrorMiddleware for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "ErrorMiddleware", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=28-51\nread __invoke for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=253-276\nread createProxy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createProxy", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=139-162\nread testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseFactoryIsStillReturnedIfStreamFactoryIsNotAvailable", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=304-327\nread testObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClassInContainer", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=116-139\nread testDetermineResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeException", "line": 116, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "testar execução sem passar requisição de servidor", "query": "test without server request", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 16: public function resolveRoute(string $identifier): RouteInterface;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 33: $this->amountToRead = self::SIZE;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1728: public function testRunWithoutPassingInServerRequest(): void", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\nLine 116: /**", "file": "tests/TestCase.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 22: use function ob_end_clean;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 47: /**", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 432: }", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 31: $psr7ObjectProvider = new PSR7ObjectProvider();", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 81: $containerProphecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 13: interface AdvancedCallableResolverInterface extends CallableResolverInterface", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 126: */", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 11: namespace Slim\\Tests\\Factory\\Psr17;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 33: ResponseInterface $response,", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 352: $handler = 'handler1';", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 352, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 50: public function detach()", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 1: expectException(RuntimeException::class);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'fromGlobals';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 33: $error['exception'] = [];", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 3: /**", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 134: 'foo' => 'foo',", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 390: $this->getResponseFactory(),", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 390, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 79: ];", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "testar execução sem passar requisição de servidor", "query": "test without server request", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lang": "pt", "candidates": [{"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "testar execução sem passar requisição de servidor", "query": "test without server request", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> function", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionProperty", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Slim", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> ReflectionClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> RuntimeException", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> stdClass", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "testar execução sem passar requisição de servidor", "query": "test without server request", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lang": "pt", "candidates": [{"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=523-546\nread testInvokeWithException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeWithException", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=211-234\nread testAvoidReadFromSlowStreamAccordingToStatus for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testAvoidReadFromSlowStreamAccordingToStatus", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=77-100\nread testGetContainer for detail", "file": "tests/AppTest.php", "symbol": "testGetContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=56-79\nread AppTest for detail", "file": "tests/AppTest.php", "symbol": "AppTest", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=24-47\nread RouteRunnerTest for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "RouteRunnerTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=63-86\nread testDoesNotUseContainerAsServiceLocator for detail", "file": "tests/AppTest.php", "symbol": "testDoesNotUseContainerAsServiceLocator", "line": 63, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=158-181\nread setDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setDefaultErrorHandler", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=21-44\nread testHeader for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeader", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=16-39\nread HttpSpecializedException for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "HttpSpecializedException", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "处理包含类名和方法名的数组,将其转换为字符串格式的逻辑在哪里?", "query": "array class method string", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lang": "zh", "candidates": [{"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 26: ): ResponseInterface {", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 77: [RouteContext::ROUTING_RESULTS],", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 40: {", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 46: $this->assertSame(['GET'], $exception->getAllowedMethods());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 9: declare(strict_types=1);", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 74: }", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 28: }", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 49: $html = sprintf('
Type: %s
', get_class($exception));", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 61: $callableResolverProphecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 73: /**", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 40: }", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 30: if ($displayErrorDetails) {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 15: class MockCustomException extends Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 187: private function prepareToResolve($toResolve)", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 25: * @return string[]", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 7: */", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 21: *", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 183: * 4. Boolean $logErrors", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 28: use function preg_match;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 113: }", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "处理包含类名和方法名的数组,将其转换为字符串格式的逻辑在哪里?", "query": "array class method string", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lang": "zh", "candidates": [{"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "处理包含类名和方法名的数组,将其转换为字符串格式的逻辑在哪里?", "query": "array class method string", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "处理包含类名和方法名的数组,将其转换为字符串格式的逻辑在哪里?", "query": "array class method string", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lang": "zh", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=151-174\nread testParsing for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsing", "line": 151, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Je teste que la méthode vérifiant si une réponse est vide ne consomme pas tout le flux dès la première lecture. Je m'assure que le pointeur reste positionné et que la fin du fichier n'est pas atteinte.", "query": "response emitter empty seekable", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lang": "fr", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 25: * @return string[]", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 13: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 14: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 102: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 19: class ContentLengthMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 138: $this->assertNull($route);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 9: declare(strict_types=1);", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 22: /**", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 45: }", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 184: public function testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 251: ->withHeader('Content-Type', 'text/plain')", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 251, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 3: /**", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 35: $xml .= ' ' . $this->createCdataSection($exception->getMessage()) . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 13: use Slim\\Exception\\HttpUnauthorizedException;", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 23: */", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 83: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 47: public function testHTMLErrorRendererNoErrorDetails()", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 25: }", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 1: ", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Je teste que la méthode vérifiant si une réponse est vide ne consomme pas tout le flux dès la première lecture. Je m'assure que le pointeur reste positionné et que la fin du fichier n'est pas atteinte.", "query": "response emitter empty seekable", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> const", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> function", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je teste que la méthode vérifiant si une réponse est vide ne consomme pas tout le flux dès la première lecture. Je m'assure que le pointeur reste positionné et que la fin du fichier n'est pas atteinte.", "query": "response emitter empty seekable", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lang": "fr", "candidates": [{"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=40-63\nread setUp for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "setUp", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=77-100\nread testHTMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderHttpException", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpForbiddenException.php lines=14-37\nread HttpForbiddenException for detail", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "HttpForbiddenException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=177-200\nread eof for detail", "file": "tests/Mocks/MockStream.php", "symbol": "eof", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=29-52\nread tearDown for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "tearDown", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=270-293\nread testAddMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddleware", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=44-67\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetCallableResolver", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "リクエストを受け取ってレスポンスを返す処理の、ミドルウェア内での実装箇所を教えて。", "query": "middleware request response", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RouteGroup.php\nLine 86: return $this;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 22: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 17: use Slim\\Exception\\HttpNotFoundException;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 38: *", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 5: *", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 64: return $handler->handle($request);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 64, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 21: /**", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 156: })->bindTo($this), true); // - true; handle subclass but also LogicException explicitly", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 156, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 41: public function handle(ServerRequestInterface $request): ResponseInterface", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 120: /**", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 37: $response = $middlewareDispatcher->handle($request);", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 28: /**", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 3: /**", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 13: class GuzzlePsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 321: return $this->middlewareDispatcher->handle($request);", "file": "Slim/Routing/Route.php", "symbol": "", "line": 321, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 32: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 34: return $handler->handle($request);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 17: use function json_encode;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 26: return $handler->handle($request);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 106: $callableResolverProphecy->reveal()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "リクエストを受け取ってレスポンスを返す処理の、ミドルウェア内での実装箇所を教えて。", "query": "middleware request response", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "リクエストを受け取ってレスポンスを返す処理の、ミドルウェア内での実装箇所を教えて。", "query": "middleware request response", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Slim", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> function", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "リクエストを受け取ってレスポンスを返す処理の、ミドルウェア内での実装箇所を教えて。", "query": "middleware request response", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lang": "ja", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=36-59\nread __construct for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "__construct", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=29-52\nread createRequestHandler for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestHandler", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=41-64\nread handle for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "handle", "line": 41, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=157-180\nread any for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "any", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=67-90\nread parsingProvider for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "parsingProvider", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=59-82\nread testCreateServerRequestFromGlobalsThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "testCreateServerRequestFromGlobalsThrowsRuntimeException", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=103-126\nread seek for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "seek", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=109-132\nread get for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "get", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=26-49\nread process for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "process", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=40-63\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "检查匿名函数作为可调用对象在路由和中间件解析中的行为", "query": "closure resolve test", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 37: public function addMiddleware(MiddlewareInterface $middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 29: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 30: parent::__construct($request, $this->message, $this->code, $previous);", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 29: callable $callable,", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 3: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 55: protected function getStreamFactory(): StreamFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Slim\\Psr7\\Factory\\StreamFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 533: $route->run($request);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 533, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 46: public function testClosure(): void", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 96: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 30: parent::__construct($request, $this->message, $this->code, $previous);", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 16: {", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 17: use Slim\\Tests\\TestCase;", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 3: /**", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 187: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 22: public function testGetSetFactories()", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 13: class Dispatcher implements DispatcherInterface", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 23: static::$CalledContainer = $container;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 353: if (", "file": "Slim/Routing/Route.php", "symbol": "", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 98: * Replace route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "检查匿名函数作为可调用对象在路由和中间件解析中的行为", "query": "closure resolve test", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\ndefines testClosure", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "检查匿名函数作为可调用对象在路由和中间件解析中的行为", "query": "closure resolve test", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> RuntimeException", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Slim", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "检查匿名函数作为可调用对象在路由和中间件解析中的行为", "query": "closure resolve test", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lang": "zh", "candidates": [{"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=365-388\nread testOptions for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testOptions", "line": 365, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=36-59\nread setUp for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUp", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=26-49\nread testHttpUnauthorizedExceptionWithMessage for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedExceptionWithMessage", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=24-47\nread CallableResolverTest for detail", "file": "tests/CallableResolverTest.php", "symbol": "CallableResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=123-146\nread testCallingWithMixedKnownAndUnknownParametersAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=24-47\nread createDispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "createDispatcher", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Quiero asignar una nueva patrón de ruta para que coincida con las URLs esperadas. Necesito configurar el patrón que este endpoint debe reconocer.", "query": "set route pattern", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 1: amountToRead = self::SIZE;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 16: * Resolve $toResolve into a callable", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 184: public function setPattern(string $pattern): RouteInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 184, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 3: [*]", "file": ".editorconfig", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 49: */", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 46: return $this->title;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 30: ServerRequestInterface $request,", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 29: }", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 100: $basePath = '/base/path';", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 45: public function setPattern(string $pattern): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 8: indent_size = 4", "file": ".editorconfig", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 732: $route->setPattern('/hola/{nombre}');", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 732, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 102: $this->assertTrue(true);", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 40: }", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 240: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 7: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 5: *", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 40: public static function isServerRequestCreatorAvailable(): bool", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 480: }", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 480, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 26: {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 24: protected $message = 'Not implemented.';", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Quiero asignar una nueva patrón de ruta para que coincida con las URLs esperadas. Necesito configurar el patrón que este endpoint debe reconocer.", "query": "set route pattern", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lang": "es", "candidates": [{"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Quiero asignar una nueva patrón de ruta para que coincida con las URLs esperadas. Necesito configurar el patrón que este endpoint debe reconocer.", "query": "set route pattern", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Quiero asignar una nueva patrón de ruta para que coincida con las URLs esperadas. Necesito configurar el patrón que este endpoint debe reconocer.", "query": "set route pattern", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lang": "es", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=142-165\nread parseBody for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "parseBody", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=333-356\nread testMiddlewareObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClassInContainer", "line": 333, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=119-142\nread fullUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "fullUrlFor", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=36-59\nread BodyParsingMiddleware for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "BodyParsingMiddleware", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=13-36\nread Dispatcher for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "Dispatcher", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Investigate why the method used to attach middleware to a collection of routes doesn't seem to allow for chaining or is not returning the expected object type.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lang": "en", "candidates": [{"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 68: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 49: $middlewareDispatcher->add($callable);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\nLine 133: return static::$responseFactory;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 26: * @param array $routeArguments", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 28: public function add($middleware): self;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 26: public function add($middleware): RouteGroupInterface;", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 544: $responseFactoryProphecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 544, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 61: static::$responseFactory = $responseFactory ?? static::$responseFactory;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 13: class HttpSoftPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 30: $text .= $this->formatExceptionFragment($exception);", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 13: class MockMiddlewareWithoutInterface", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 626: $app->add($middlewareProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 626, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 25: /**", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'GuzzleHttp\\Psr7\\HttpFactory';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 25: }", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 27: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 25: protected string $title = '404 Not Found';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 74: public function add($middleware): RouteGroupInterface", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 383: ->createServerRequest('/', 'GET')", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 383, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 279: $route->add($mw);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 279, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 85: public function add($middleware): MiddlewareDispatcherInterface", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Investigate why the method used to attach middleware to a collection of routes doesn't seem to allow for chaining or is not returning the expected object type.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lang": "en", "candidates": [{"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Investigate why the method used to attach middleware to a collection of routes doesn't seem to allow for chaining or is not returning the expected object type.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Investigate why the method used to attach middleware to a collection of routes doesn't seem to allow for chaining or is not returning the expected object type.", "query": "add middleware group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lang": "en", "candidates": [{"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=23-46\nread PlainTextErrorRenderer for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "PlainTextErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=106-129\nread testRespondIndeterminateLength for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondIndeterminateLength", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=187-210\nread seek for detail", "file": "tests/Mocks/MockStream.php", "symbol": "seek", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=28-51\nread __invoke for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=188-211\nread testPut for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPut", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1184-1207\nread testInvokeWithMatchingRouteWithSetArguments for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithSetArguments", "line": 1184, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo configuro y verifico que el renderizador de errores para los logs se llame correctamente?", "query": "test log error renderer", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 26: use function libxml_disable_entity_loader;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 1: shouldBeCalledOnce();", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 111: {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 60: ) {", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 116: }", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 190: {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 100: {", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 47: {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 57: return $this->description;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 23: */", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Cómo configuro y verifico que el renderizador de errores para los logs se llame correctamente?", "query": "test log error renderer", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo configuro y verifico que el renderizador de errores para los logs se llame correctamente?", "query": "test log error renderer", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo configuro y verifico que el renderizador de errores para los logs se llame correctamente?", "query": "test log error renderer", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lang": "es", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=144-167\nread addDeferred for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addDeferred", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=129-152\nread testRemoveNamedRouteWithARouteThatDoesNotExist for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRouteWithARouteThatDoesNotExist", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "현재 헤더 스택 데이터 반환하는 메서드 찾아줘", "query": "return header stack", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lang": "ko", "candidates": [{"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 106: $middlewareDispatcher->addCallable($middleware);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 47: * {@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 27: protected string $description = 'The client application has surpassed its rate limit, ' .", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 52: public function fullUrlFor(UriInterface $uri, string $routeName, array $data = [], array $queryParams = []): string;", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 490: };", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 490, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 31: public function __invoke(", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 50: $middlewareDispatcher = new MiddlewareDispatcher($dispatcher, $callableResolver);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 9: interface RouteResolverInterface", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 38: * Tip of the middleware call stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 31: public function __invoke(", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 123: * This method traverses the middleware stack, including the route's callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 244: * {@inheritdoc}", "file": "Slim/Routing/Route.php", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 28: 'the request due to an apparent client error.';", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 140: throw new RuntimeException(", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 704: // Check that the routing middleware really has been added to the tip of the app middleware stack.", "file": "tests/AppTest.php", "symbol": "", "line": 704, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 119: * Add the Slim built-in routing middleware to the app middleware stack", "file": "Slim/App.php", "symbol": "", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 152: $this->assertSame($expectedStack, HeaderStack::stack());", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 86: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 71: public static function stack()", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/CallableResolverTest.php\nLine 544: $this->expectExceptionMessage('Callable Unknown::notFound() does not exist');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 544, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 51: * defined middleware stack. In the event that the user did not perform routing", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 51, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "현재 헤더 스택 데이터 반환하는 메서드 찾아줘", "query": "return header stack", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lang": "ko", "candidates": [{"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "현재 헤더 스택 데이터 반환하는 메서드 찾아줘", "query": "return header stack", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "현재 헤더 스택 데이터 반환하는 메서드 찾아줘", "query": "return header stack", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=61-84\nread attemptServerRequestCreatorDecoration for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "attemptServerRequestCreatorDecoration", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=41-64\nread HeaderStack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "HeaderStack", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=51-74\nread reset for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "reset", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=170-193\nread bindToContainer for detail", "file": "Slim/CallableResolver.php", "symbol": "bindToContainer", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=201-224\nread setCallable for detail", "file": "Slim/Routing/Route.php", "symbol": "setCallable", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=109-132\nread testRemoveNamedRoute for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testRemoveNamedRoute", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "criar uma resposta http com codigo e motivo", "query": "create response factory", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lang": "pt", "candidates": [{"text": "File: tests/Routing/DispatcherTest.php\nLine 21: use Slim\\Tests\\TestCase;", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 190: $response = $responseFactory->createResponse($status);", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 190, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 15: }", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 16: use Slim\\Tests\\TestCase;", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 28: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 361: $response = $this->responseFactory->createResponse();", "file": "Slim/Routing/Route.php", "symbol": "", "line": 361, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 79: public function createResponse(int $statusCode = 200, string $reasonPhrase = ''): ResponseInterface", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 403: ->createResponse()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 403, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 14: {", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 381: $this->hasHeader($args[0])->willReturn(true);", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 381, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 183: return strtolower(trim($contentTypeParts[0]));", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 119: $output = $renderer->__invoke($httpExceptionProphecy->reveal(), false);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 47: */", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 52: $response = $this->createResponse();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 46: '/{first}/{second}',", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 139: $route->setName('test');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 132: );", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 42: return $responseFactory->createResponse();", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteTest.php\nLine 97: ->createResponse()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 97, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "criar uma resposta http com codigo e motivo", "query": "create response factory", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "criar uma resposta http com codigo e motivo", "query": "create response factory", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lang": "pt", "candidates": [{"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> function", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "criar uma resposta http com codigo e motivo", "query": "create response factory", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lang": "pt", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=470-493\nread testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testThrowsExceptionForDeferredNonMiddlewareInterfaceClasses", "line": 470, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=253-276\nread createProxy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createProxy", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpUnauthorizedException.php lines=14-37\nread HttpUnauthorizedException for detail", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "HttpUnauthorizedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=90-113\nread testNoOverride for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverride", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "O sistema está falhando ao tentar transformar uma string que representa um método de classe em um executável, especialmente quando a convenção de notação de classe e método é utilizada para buscar o recurso no container.", "query": "resolve callable string", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lang": "pt", "candidates": [{"text": "File: Slim/Routing/Route.php\nLine 347: $callable = $this->callableResolver->resolve($this->callable);", "file": "Slim/Routing/Route.php", "symbol": "", "line": 347, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 65: $callable = $this->callableResolver->resolve($this->callable);", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 106: }", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 49: })->bindTo($this);", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 71: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 106: return $this->callableResolver->resolve($this->handlers[$type]);", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 185: $callable = $this->callableResolver->resolve($this->middleware);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 185, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 26: public function testRoutingIsPerformedIfRoutingResultsAreUnavailable()", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 88: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 69: #[\\PHPUnit\\Framework\\Attributes\\DataProvider('provideImplementations')]", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 19: * @param ServerRequestInterface $request", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 64: }", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 487: ->resolve('logErrorRenderer')", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 487, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 20: public function resolve($toResolve): callable;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 50: public function resolve($toResolve): callable", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Slim\\Psr7\\Factory\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 141: $this->assertSame($this->request, $request);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 108: * @return ResponseInterface", "file": "tests/TestCase.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 43: return $this->calledCount;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 50: protected string $defaultErrorRendererContentType = 'text/html';", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 62: }", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "O sistema está falhando ao tentar transformar uma string que representa um método de classe em um executável, especialmente quando a convenção de notação de classe e método é utilizada para buscar o recurso no container.", "query": "resolve callable string", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lang": "pt", "candidates": [{"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "O sistema está falhando ao tentar transformar uma string que representa um método de classe em um executável, especialmente quando a convenção de notação de classe e método é utilizada para buscar o recurso no container.", "query": "resolve callable string", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "O sistema está falhando ao tentar transformar uma string que representa um método de classe em um executável, especialmente quando a convenção de notação de classe e método é utilizada para buscar o recurso no container.", "query": "resolve callable string", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lang": "pt", "candidates": [{"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=38-61\nread getErrorDescription for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorDescription", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=18-41\nread RouteParserInterface for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "RouteParserInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=47-70\nread testHTMLErrorRendererNoErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererNoErrorDetails", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=407-430\nread testWriteToErrorLogShowTip for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogShowTip", "line": 407, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php lines=23-46\nread SlimHttpServerRequestCreatorTest for detail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "SlimHttpServerRequestCreatorTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=45-68\nread tearDown for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "tearDown", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "devuelve el patrón de ruta del grupo", "query": "group route pattern", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lang": "es", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\nLine 34: $r->addRoute($route->getMethods(), $basePath . $route->getPattern(), $route->getIdentifier());", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 19: * Route callback strategy with route parameters as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 13: interface CallableResolverInterface", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 50: * last and it detects whether or not routing has been performed in the user", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 128: }", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 327: protected function appendGroupMiddlewareToRoute(): void", "file": "Slim/Routing/Route.php", "symbol": "", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 43: $pattern = $route->getPattern();", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 24: bool $logErrorDetails", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 2010: $app->get('/Hello[/{name}]', function (ServerRequestInterface $request, ResponseInterface $response, $args) {", "file": "tests/AppTest.php", "symbol": "", "line": 2010, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 105: public function getPattern(): string", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 120: $this->assertSame($pattern, $route->getPattern());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nLine 22: {", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 189: }", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 21: $exception = new HttpUnauthorizedException($request);", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 23: ServerRequestInterface $request,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 22: */", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 7: */", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 466: ],", "file": "tests/AppTest.php", "symbol": "", "line": 466, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 409: $this->assertSame($pattern, $route->getPattern());", "file": "tests/AppTest.php", "symbol": "", "line": 409, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 79: $self->assertSame('/prefix/test', $route->getPattern());", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 176: public function getPattern(): string", "file": "Slim/Routing/Route.php", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "devuelve el patrón de ruta del grupo", "query": "group route pattern", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "devuelve el patrón de ruta del grupo", "query": "group route pattern", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "devuelve el patrón de ruta del grupo", "query": "group route pattern", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lang": "es", "candidates": [{"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=17-40\nread __invoke for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=105-128\nread getPattern for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "getPattern", "line": 105, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=182-205\nread testForceContentTypeNullRestoresNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentTypeNullRestoresNegotiation", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=153-176\nread testAppIsCreatedWithInstancesFromSetters for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInstancesFromSetters", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=45-68\nread __construct for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "__construct", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=241-264\nread getContents for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getContents", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=60-83\nread testHTMLErrorRendererRenderFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererRenderFragmentMethod", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=83-106\nread addMiddleware for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "addMiddleware", "line": 83, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "我正在编写测试用例,需要找一个能模拟被调用并计数、同时返回 PSR7 响应对象的模拟类。能不能帮我定位一下这个用于验证回调执行次数的工具?", "query": "mock callable count", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lang": "zh", "candidates": [{"text": "File: tests/CallableResolverTest.php\nLine 19: use Slim\\Tests\\Mocks\\CallableTest;", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 55: 'SCRIPT_NAME' => '/index.php',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 117: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 95: public function setArgument(string $name, string $value): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 74: {", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 17: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 26: * Invoke a route callable with request, response and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 80: $exception->setAllowedMethods($routingResults->getAllowedMethods());", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 5: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 37: * @dataProvider computeRoutingResultsDataProvider", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 43: }", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 601: $allowedMethods = ['GET', 'POST', 'PUT', 'PATCH'];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 601, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 143: * @return ErrorMiddleware", "file": "Slim/App.php", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 15: class CallableTest", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 30: ServerRequestInterface $request,", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 183: $app->getContainer()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 106: }", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 31: use Slim\\Tests\\Mocks\\CallableTest;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 8: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 190: }", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 151: $expectedString = json_encode(['message' => 'Slim Application Error', 'exception' => [$fragment]]);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我正在编写测试用例,需要找一个能模拟被调用并计数、同时返回 PSR7 响应对象的模拟类。能不能帮我定位一下这个用于验证回调执行次数的工具?", "query": "mock callable count", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\ndefines CallableTest", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我正在编写测试用例,需要找一个能模拟被调用并计数、同时返回 PSR7 响应对象的模拟类。能不能帮我定位一下这个用于验证回调执行次数的工具?", "query": "mock callable count", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我正在编写测试用例,需要找一个能模拟被调用并计数、同时返回 PSR7 响应对象的模拟类。能不能帮我定位一下这个用于验证回调执行次数的工具?", "query": "mock callable count", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=42-65\nread urlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "urlFor", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=29-52\nread handle for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "handle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseArgs.php lines=31-54\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=13-36\nread CallableResolverInterface for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "CallableResolverInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=380-403\nread testWriteToErrorLog for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLog", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=149-172\nread options for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "options", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "J'essaie d'obtenir tout le contenu de ce flux en une seule fois pour le tester. Comment puis-je lire les données tant qu'il reste du contenu disponible ?", "query": "stream read all content", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lang": "fr", "candidates": [{"text": "File: Slim/Factory/AppFactory.php\nLine 74: * @param TContainerInterface $container", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 81: * @return bool", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 17: * @var int", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 30: $trace = debug_backtrace();", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 37: public function __toString(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockStream.php\nLine 106: public function __toString(): string", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 64: return $handler->handle($request);", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 7: */", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 32: }", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 178: $streamProphecy->__toString()->willReturn('Hello World');", "file": "tests/AppTest.php", "symbol": "", "line": 178, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 102: $request = $this->createServerRequest('/foo/baz/');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'Laminas\\Diactoros\\StreamFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 21: $this->routeCollector = $routeCollector;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 94: $this->assertSame('POST', $request->getMethod());", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 46: ]);", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 487: ->resolve('logErrorRenderer')", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 36: public function __toString(): string", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 37: return $callable($request, $response, ...$routeArguments);", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 21: protected ServerRequestCreatorInterface $serverRequestCreator;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 100: throw new Exception('not implemented');", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 74: $this->__toString()->willReturn($value);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 174: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "J'essaie d'obtenir tout le contenu de ce flux en une seule fois pour le tester. Comment puis-je lire les données tant qu'il reste du contenu disponible ?", "query": "stream read all content", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lang": "fr", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\ndefines __toString", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "J'essaie d'obtenir tout le contenu de ce flux en une seule fois pour le tester. Comment puis-je lire les données tant qu'il reste du contenu disponible ?", "query": "stream read all content", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> function", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> const", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "J'essaie d'obtenir tout le contenu de ce flux en une seule fois pour le tester. Comment puis-je lire les données tant qu'il reste du contenu disponible ?", "query": "stream read all content", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lang": "fr", "candidates": [{"text": "Next: read tests/Mocks/SlowPokeStream.php lines=46-69\nread close for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "close", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=85-108\nread getRouteResolver for detail", "file": "Slim/App.php", "symbol": "getRouteResolver", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=118-141\nread isMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "isMiddleware", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=25-48\nread __construct for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "__construct", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=342-365\nread testAddClosureMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddClosureMiddleware", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=216-239\nread determineRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineRenderer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php lines=15-38\nread MockPsr17FactoryWithoutStreamFactory for detail", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "MockPsr17FactoryWithoutStreamFactory", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=32-55\nread __construct for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__construct", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=594-617\nread testAddMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddleware", "line": 594, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=270-293\nread testAddMiddleware for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddleware", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorRendererInterface.php lines=15-38\nread ErrorRendererInterface for detail", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "ErrorRendererInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=37-60\nread __toString for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "__toString", "line": 37, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=125-148\nread redirect for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "redirect", "line": 125, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "コールバックの解決方法を外部から設定できるメソッドはどこにありますか?", "query": "set callable resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lang": "ja", "candidates": [{"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 36: * @return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 7: */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 44: return $xml;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 139: $this->assertInstanceOf(ErrorHandler::class, $handler);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 116: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 193: public static function setCallableResolver(CallableResolverInterface $callableResolver): void", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 169: AppFactory::setCallableResolver($callableResolverProphecy->reveal());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 169, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 24: * as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 1: assertSame($this->request, $request);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1408: $requestProphecy = $this->prophesize(ServerRequestInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 1408, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 32: static::$strategy = $trace[1]['class'];", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 35: * @param array $data", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 213: }", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 13: use Slim\\Exception\\HttpException;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 269: return $this->groups;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 13: use Slim\\Factory\\Psr17\\Psr17Factory;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "コールバックの解決方法を外部から設定できるメソッドはどこにありますか?", "query": "set callable resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lang": "ja", "candidates": [{"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "コールバックの解決方法を外部から設定できるメソッドはどこにありますか?", "query": "set callable resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "コールバックの解決方法を外部から設定できるメソッドはどこにありますか?", "query": "set callable resolver", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lang": "ja", "candidates": [{"text": "Next: read tests/AppTest.php lines=948-971\nread testAddMiddlewareOnTwoRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnTwoRouteGroup", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=173-196\nread testGetInvocationStrategy for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetInvocationStrategy", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=133-156\nread testSlimCallableAsArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArray", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=55-78\nread process for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "process", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=177-200\nread eof for detail", "file": "tests/Mocks/MockStream.php", "symbol": "eof", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=161-184\nread testShadowedStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testShadowedStaticRoute", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=240-263\nread testAddCallableBindsClosureToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddCallableBindsClosureToContainer", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Ao abrir um novo arquivo, a configuração padrão de identação está causando conflitos com as normas de formatação do projeto. Quero alterar o comportamento para que os espaços sejam usados em vez de tabs.", "query": "editorconfig indent", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lang": "pt", "candidates": [{"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 20: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 30: *", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 800: $strategy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 800, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 41: ) {", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 79: $resource = fopen('php://temp', 'rw+');", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 5: *", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 5: *", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 140: if (!class_exists($class)) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 271: $response->getBody()->write('Oops..');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 271, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 30: use Slim\\Tests\\TestCase;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 43: return $this->calledCount;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 71: $this->logger = $logger;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 17: interface ErrorHandlerInterface", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: indent_style = space", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 33: public static function getFactories(): array", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 82: */", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 71: * Emit Status Line", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 41: $routeCollector = new RouteCollector($responseFactory, $callableResolver);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 70: $routeContext->getBasePath();", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 20: use Slim\\Factory\\Psr17\\HttpSoftPsr17Factory;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1708: return $response;", "file": "tests/AppTest.php", "symbol": "", "line": 1708, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1612: return $response;", "file": "tests/AppTest.php", "symbol": "", "line": 1612, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Ao abrir um novo arquivo, a configuração padrão de identação está causando conflitos com as normas de formatação do projeto. Quero alterar o comportamento para que os espaços sejam usados em vez de tabs.", "query": "editorconfig indent", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lang": "pt", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines indent_style", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ao abrir um novo arquivo, a configuração padrão de identação está causando conflitos com as normas de formatação do projeto. Quero alterar o comportamento para que os espaços sejam usados em vez de tabs.", "query": "editorconfig indent", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lang": "pt", "candidates": [{"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/AdvancedCallableResolverInterface.php lines=20-43\nread resolveRoute for detail", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "resolveRoute", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=30-53\nread getMockLogger for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "getMockLogger", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpPsr17Factory.php lines=24-47\nread createDecoratedResponseFactory for detail", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "createDecoratedResponseFactory", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=3-26\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 3, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 7, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=104-127\nread urlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "urlFor", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread end_of_line for detail", "file": ".editorconfig", "symbol": "end_of_line", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=16-39\nread HttpUnauthorizedExceptionTest for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "HttpUnauthorizedExceptionTest", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=75-98\nread testCallingWithOptionalArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithOptionalArguments", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "我想看看怎么在一个路由定义里同时绑定多种 HTTP 请求方法。能帮我找一下那个支持传入方法数组并映射到回调函数的接口定义吗?", "query": "map array methods", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 13: use Closure;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 76: throw new HttpNotFoundException($request);", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 171: * @param string $method", "file": "tests/AppTest.php", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 54: try {", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 268: public function map(array $methods, string $pattern, $handler): RouteInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 268, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 62: $route = $routeCollector->map(['GET'], '/', function () {", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 139: ->map(['GET'], $pattern, Argument::is($callable))", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 139, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 103: }", "file": "tests/TestCase.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 23: protected static ?Psr17FactoryProviderInterface $psr17FactoryProvider = null;", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nLine 327: $callable = $resolver->resolveRoute('a_requesthandler');", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 108: public function map(array $methods, string $pattern, $callable): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 21: /**", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nLine 42: $routeCollector->map(['GET'], '/hello/{name}', $handler);", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nLine 383: $resolver = new CallableResolver(); // No container injected", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 383, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 325: $requestProphecy = $this->prophesize(ServerRequestInterface::class);", "file": "tests/AppTest.php", "symbol": "", "line": 325, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 291: $app->map([$method], '/', function (ServerRequestInterface $request, ResponseInterface $response) {", "file": "tests/AppTest.php", "symbol": "", "line": 291, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 95: $reflectionClass = new ReflectionClass(SlimHttpServerRequestCreator::class);", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 111: return $this->map(['GET'], $pattern, $callable);", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 111, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 24: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 20: public function resolveRoute($toResolve): callable;", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我想看看怎么在一个路由定义里同时绑定多种 HTTP 请求方法。能帮我找一下那个支持传入方法数组并映射到回调函数的接口定义吗?", "query": "map array methods", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lang": "zh", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我想看看怎么在一个路由定义里同时绑定多种 HTTP 请求方法。能帮我找一下那个支持传入方法数组并映射到回调函数的接口定义吗?", "query": "map array methods", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我想看看怎么在一个路由定义里同时绑定多种 HTTP 请求方法。能帮我找一下那个支持传入方法数组并映射到回调函数的接口定义吗?", "query": "map array methods", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=150-173\nread testSlimCallableContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableContainer", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=108-131\nread map for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "map", "line": 108, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=149-172\nread options for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "options", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpBadRequestException.php lines=14-37\nread HttpBadRequestException for detail", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "HttpBadRequestException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=103-126\nread testOutputBufferIsCleanedWhenThrowableIsCaught for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testOutputBufferIsCleanedWhenThrowableIsCaught", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=23-46\nread AbstractErrorRenderer for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "AbstractErrorRenderer", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=541-564\nread testMiddlewareCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareCallableClassNotFoundThrowException", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=25-48\nread RoutingMiddleware for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "RoutingMiddleware", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "슬림 앱 팩토리에서 스트림 팩토리를 설정하는 정적 메서드를 찾고 싶어요. 이 메서드를 호출하면 전역 스트림 팩토리 인스턴스가 전달받은 객체로 어떻게 업데이트되는지 확인하고 싶습니다.", "query": "setStreamFactory slim", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lang": "ko", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 26: $response->getBody()->write('Body');", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 276: AppFactory::setStreamFactory($streamFactoryProphecy->reveal());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 276, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 17: {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 183: public static function setStreamFactory(StreamFactoryInterface $streamFactory): void", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 15: class MockPsr17FactoryWithoutStreamFactory extends Psr17Factory", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 5: *", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 27: protected string $defaultErrorDescription = 'A website error has occurred. Sorry for the temporary inconvenience.';", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 17: use function str_repeat;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 59: *", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 119: $this->assertSame($newBasePath, $routeCollectorProxy->getBasePath());", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 232: $routeGroup = $this->createGroup($pattern, $callable);", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 74: */", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 18: */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 30: $request = $this", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 24: * @param callable $callable The callable to invoke using the strategy.", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 98: $allowedMethods = [];", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 45: }", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 139: /** @var ResponseInterface $response */", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 16: use Psr\\Http\\Message\\StreamFactoryInterface;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 61: $callable = $this->assertCallable($resolved, $toResolve);", "file": "Slim/CallableResolver.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 32: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "슬림 앱 팩토리에서 스트림 팩토리를 설정하는 정적 메서드를 찾고 싶어요. 이 메서드를 호출하면 전역 스트림 팩토리 인스턴스가 전달받은 객체로 어떻게 업데이트되는지 확인하고 싶습니다.", "query": "setStreamFactory slim", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "슬림 앱 팩토리에서 스트림 팩토리를 설정하는 정적 메서드를 찾고 싶어요. 이 메서드를 호출하면 전역 스트림 팩토리 인스턴스가 전달받은 객체로 어떻게 업데이트되는지 확인하고 싶습니다.", "query": "setStreamFactory slim", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "슬림 앱 팩토리에서 스트림 팩토리를 설정하는 정적 메서드를 찾고 싶어요. 이 메서드를 호출하면 전역 스트림 팩토리 인스턴스가 전달받은 객체로 어떻게 업데이트되는지 확인하고 싶습니다.", "query": "setStreamFactory slim", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lang": "ko", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=54-77\nread createRequestWithBody for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "createRequestWithBody", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=34-57\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__invoke", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1433-1456\nread foo for detail", "file": "tests/AppTest.php", "symbol": "foo", "line": 1433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=71-94\nread setName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setName", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=530-553\nread testGroupClosureIsBoundToThisClass for detail", "file": "tests/AppTest.php", "symbol": "testGroupClosureIsBoundToThisClass", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=307-330\nread testPlainTextErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererRenderHttpException", "line": 307, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=2047-2070\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgsAndKeepSetedArgs", "line": 2047, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=95-118\nread setArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArgument", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=254-277\nread testDelete for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testDelete", "line": 254, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "I need a mock callable that accepts a request, response, and route arguments for testing. It should simply store the callable in a static property and return the original response unchanged.", "query": "mock callable invoke test", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lang": "en", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 31: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 23: * Invoke a route callable with request, response, and all route parameters", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 17: public function __invoke()", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 16: use Slim\\Tests\\TestCase;", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 17: public function __invoke(Throwable $exception, bool $displayErrorDetails): string;", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 31: public function __invoke(", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nLine 92: }", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 30: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 125: public function redirect(string $from, $to, int $status = 302): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 19: protected static string $serverRequestCreatorClass = '';", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 23: protected $message = 'Not found.';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 237: if (array_key_exists($name, $this->arguments)) {", "file": "Slim/Routing/Route.php", "symbol": "", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 72: }", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 34: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 114: $this->assertSame($this->response, $response);", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 5: *", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 55: $text .= sprintf('Trace: %s', $exception->getTraceAsString());", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 41: if (", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I need a mock callable that accepts a request, response, and route arguments for testing. It should simply store the callable in a static property and return the original response unchanged.", "query": "mock callable invoke test", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lang": "en", "candidates": [{"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "I need a mock callable that accepts a request, response, and route arguments for testing. It should simply store the callable in a static property and return the original response unchanged.", "query": "mock callable invoke test", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lang": "en", "candidates": [{"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I need a mock callable that accepts a request, response, and route arguments for testing. It should simply store the callable in a static property and return the original response unchanged.", "query": "mock callable invoke test", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lang": "en", "candidates": [{"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=53-76\nread provideImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "provideImplementations", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Logger.php lines=28-51\nread log for detail", "file": "Slim/Logger.php", "symbol": "log", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=83-106\nread addMiddleware for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "addMiddleware", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=90-113\nread read for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "read", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=166-189\nread setBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setBasePath", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=31-54\nread __invoke for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "__invoke", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=173-196\nread testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=110-133\nread createResponse for detail", "file": "tests/TestCase.php", "symbol": "createResponse", "line": 110, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "find the method that deletes a specific endpoint using its unique alias", "query": "delete named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lang": "en", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 29: $appendToOutput = $request->getAttribute('appendToOutput');", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 15: }", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 36: }", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 184: public function removeNamedRoute(string $name): RouteCollectorInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 5: *", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 43: $text = sprintf(\"Type: %s\\n\", get_class($exception));", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 122: $scheme = $uri->getScheme();", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 120: $responseEmitter = new ResponseEmitter();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 21: public const ROUTE = '__route__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 73: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 15: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 5: *", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 166: ->getPattern()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 124: $routeCollector->removeNamedRoute('test');", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'GuzzleHttp\\Psr7\\ServerRequest';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 25: use Slim\\Factory\\Psr17\\SlimPsr17Factory;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 80: public function removeNamedRoute(string $name): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 5: *", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "find the method that deletes a specific endpoint using its unique alias", "query": "delete named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lang": "en", "candidates": [{"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "find the method that deletes a specific endpoint using its unique alias", "query": "delete named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Slim", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> function", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "find the method that deletes a specific endpoint using its unique alias", "query": "delete named route", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lang": "en", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=358-381\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=19-42\nread MethodOverrideMiddlewareTest for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "MethodOverrideMiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=184-207\nread removeNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "removeNamedRoute", "line": 184, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=173-196\nread testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=60-83\nread testGetContainerReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetContainerReturnsInjectedInstance", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=464-487\nread testRouteFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteFunctionNotFoundThrowException", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "find where to register a new implementation for creating psr 17 message objects", "query": "psr 17 factory", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lang": "en", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 209: }", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 176: {", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 24: *", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 7: */", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 273: * {@inheritdoc}", "file": "Slim/Routing/Route.php", "symbol": "", "line": 273, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 80: }", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 176: $this->assertSame('Slim Application Error', $decoded['message']);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 26: public static function addFactory(string $factory): void;", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 36: */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 72: return [self::FOUND, $routeIdentifier, []];", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 191: $cacheFile = __DIR__ . '/router.cache';", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 191, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: end_of_line = lf", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 49: public static function addFactory(string $factory): void", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 272: $this->setAccessible($method);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 27: public const BASE_PATH = '__basePath__';", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 808: $this->assertSame(", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 808, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 3: /**", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 22: * RouteResolver instantiates the FastRoute dispatcher", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 37: Psr17FactoryProvider::addFactory('Factory 2');", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "find where to register a new implementation for creating psr 17 message objects", "query": "psr 17 factory", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lang": "en", "candidates": [{"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "find where to register a new implementation for creating psr 17 message objects", "query": "psr 17 factory", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lang": "en", "candidates": [{"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=559-582\nread provideMethodNotAllowedDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideMethodNotAllowedDispatchCases", "line": 559, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=37-60\nread determineServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "determineServerRequestCreator", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=65-88\nread getSize for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=24-47\nread setFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "setFactories", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "帮我写一个保护方法,接收路由模式和可调用对象,创建路由组代理并返回新的RouteGroup实例", "query": "createRouteGroup", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 84: public static function setSlimHttpDecoratorsAutomaticDetection(bool $enabled): void", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 72: 'with argument and optional parameters' => [", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 102: public function map(array $methods, string $pattern, $handler): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 56: $serverRequestCreator = ServerRequestCreatorFactory::create();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 15: class MockPsr17FactoryWithoutStreamFactory extends Psr17Factory", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 406: ->withAddedHeader('X-SEQ-POST-REQ-HANDLER', '0');", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 406, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 18: */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 17: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 248: $body->write('Hello!' . \"\\n\");", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 38: /**", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 91: $method = new ReflectionMethod(Dispatcher::class, 'createDispatcher');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 373: $res = $handler->__invoke($request, $exception, true, false, true);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 30: ServerRequestInterface $request,", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 58: {", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 30: public function __construct(?ContainerInterface $container = null)", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 55: return [", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 41: */", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 150: ];", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 150, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 244: protected function createGroup(string $pattern, $callable): RouteGroupInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "帮我写一个保护方法,接收路由模式和可调用对象,创建路由组代理并返回新的RouteGroup实例", "query": "createRouteGroup", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "帮我写一个保护方法,接收路由模式和可调用对象,创建路由组代理并返回新的RouteGroup实例", "query": "createRouteGroup", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> function", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Slim", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "帮我写一个保护方法,接收路由模式和可调用对象,创建路由组代理并返回新的RouteGroup实例", "query": "createRouteGroup", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lang": "zh", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=75-98\nread patch for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "patch", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=107-130\nread getRouteParser for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRouteParser", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=189-212\nread testSetCacheFileViaConstructor for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testSetCacheFileViaConstructor", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=37-60\nread RouteCollector for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "RouteCollector", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1826-1849\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/AppTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 1826, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=434-457\nread testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testWriteToErrorLogDoesNotShowTipIfErrorLogRendererIsNotPlainText", "line": 434, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=120-143\nread setDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "setDefaultInvocationStrategy", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=397-420\nread testNotObjectInContainerThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testNotObjectInContainerThrowException", "line": 397, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Necesito verificar que el método determineStatusCode devuelva el código de estado correcto para excepciones HTTP.\nActualmente estoy escribiendo pruebas unitarias para el controlador de errores.", "query": "test status code", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lang": "es", "candidates": [{"text": "File: tests/Mocks/SlowPokeStream.php\nLine 104: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 75: public function testDetermineStatusCode()", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 206: $this->assertSame($parser, $middleware->getBodyParser('text/foo'));", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 7: */", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 27: */", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 167: {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 26: protected string $title = '401 Unauthorized';", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 300: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 300, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 87: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 51: $this->emitBody($response);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 58: {", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 31: * Get route methods", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 90: ->willReturn($serverRequestProphecy->reveal())", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 45: public function __construct(", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 2091: $requestProphecy2->getAttribute(RouteContext::ROUTING_RESULTS)->willReturn(null);", "file": "tests/AppTest.php", "symbol": "", "line": 2091, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 29: $exception = new HttpUnauthorizedException($request, 'Hello World');", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 22: $request = $this->createServerRequest('/');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 113: ServerRequestCreatorFactory::setServerRequestCreator($serverRequestCreatorProphecy->reveal());", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 45: }", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 32: final class CallableResolver implements AdvancedCallableResolverInterface", "file": "Slim/CallableResolver.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 18: * PSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 37: }", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Necesito verificar que el método determineStatusCode devuelva el código de estado correcto para excepciones HTTP.\nActualmente estoy escribiendo pruebas unitarias para el controlador de errores.", "query": "test status code", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lang": "es", "candidates": [{"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Necesito verificar que el método determineStatusCode devuelva el código de estado correcto para excepciones HTTP.\nActualmente estoy escribiendo pruebas unitarias para el controlador de errores.", "query": "test status code", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> RuntimeException", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionMethod", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionClass", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> ReflectionProperty", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Slim", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Necesito verificar que el método determineStatusCode devuelva el código de estado correcto para excepciones HTTP.\nActualmente estoy escribiendo pruebas unitarias para el controlador de errores.", "query": "test status code", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lang": "es", "candidates": [{"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=146-169\nread testGetCallable for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallable", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=99-122\nread any for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=373-396\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 373, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=46-69\nread __construct for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "__construct", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=135-158\nread testDuplicateVariableRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableRoute", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=125-148\nread testContentTypeIsNegotiatedOnEachRequest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testContentTypeIsNegotiatedOnEachRequest", "line": 125, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=287-310\nread testOptions for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testOptions", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=104-127\nread testForceContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentType", "line": 104, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=34-57\nread testHTMLErrorRendererDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testHTMLErrorRendererDisplaysErrorDetails", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=18-41\nread RouteParserTest for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "RouteParserTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "미들웨어 스택에 커널을 설정하는 메서드 찾아줘", "query": "seed middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lang": "ko", "candidates": [{"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 1: seedMiddlewareStack($routeRunner);", "file": "Slim/App.php", "symbol": "", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 143: ->seedMiddlewareStack(Argument::any())", "file": "tests/AppTest.php", "symbol": "", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 23: * Get allowed methods for a given uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 27: }", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 137: $exception = MockCustomException::class;", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 19: */", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 63: public function seedMiddlewareStack(RequestHandlerInterface $kernel): void", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 19: protected $code = 429;", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 185: static::$streamFactory = $streamFactory;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 37: $this->getErrorDescription($exception),", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 17: use Slim\\Exception\\HttpNotFoundException;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 28: }", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 90: {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 27: protected string $description = 'You are not permitted to perform the requested operation.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 291: $app->map([$method], '/', function (ServerRequestInterface $request, ResponseInterface $response) {", "file": "tests/AppTest.php", "symbol": "", "line": 291, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 25: * @return string[]", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 5: *", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 42: public function seedMiddlewareStack(RequestHandlerInterface $kernel): void;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 57: return $this->description;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "미들웨어 스택에 커널을 설정하는 메서드 찾아줘", "query": "seed middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lang": "ko", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "미들웨어 스택에 커널을 설정하는 메서드 찾아줘", "query": "seed middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> function", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> RuntimeException", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Slim", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "미들웨어 스택에 커널을 설정하는 메서드 찾아줘", "query": "seed middleware stack", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lang": "ko", "candidates": [{"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=786-809\nread testAddMiddlewareOnRoute for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRoute", "line": 786, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=86-109\nread testGetCallableResolverReturnsInjectedInstance for detail", "file": "tests/AppTest.php", "symbol": "testGetCallableResolverReturnsInjectedInstance", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/CallableTest.php lines=26-49\nread toCall for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "toCall", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=50-73\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=118-141\nread prepare for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "prepare", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=85-108\nread add for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "add", "line": 85, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=122-145\nread testGet for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGet", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Je cherche la méthode qui permet d'obtenir l'analyseur de routes dans Slim. Comment récupérer cette instance pour manipuler les URL ?", "query": "get route parser", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lang": "fr", "candidates": [{"text": "File: tests/Routing/RouteResolverTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 16: /**", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 14: class HttpGoneException extends HttpSpecializedException", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 35: return static::$factories;", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 15: use Nyholm\\Psr7\\ServerRequest as NyholmServerRequest;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 174: $acceptHeader = $request->getHeaderLine('Accept');", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 98: * Replace route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 62: * @param string $httpMethod", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 82: */", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 111: $routeCollectorProphecy->getRouteParser()->willReturn($routeParserProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 111, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 72: public function getRouteParser(): RouteParserInterface", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 72, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 107: public function getRouteParser(): RouteParserInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 25: * @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 302: $method = $class->getMethod('determineContentType');", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 302, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 44: $app->getRouteCollector()->getRouteParser()", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 111: {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 164: $routeCollectorProphecy->getRouteParser()->willReturn($routeParserProphecy);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 164, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 22: public function getRouteParser(): RouteParserInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 28: }", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 71: $routeRunner = new RouteRunner($this->routeResolver, $this->routeCollector->getRouteParser(), $this);", "file": "Slim/App.php", "symbol": "", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 88: }", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 27: public static function getStreamFactory(): StreamFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Je cherche la méthode qui permet d'obtenir l'analyseur de routes dans Slim. Comment récupérer cette instance pour manipuler les URL ?", "query": "get route parser", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lang": "fr", "candidates": [{"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Je cherche la méthode qui permet d'obtenir l'analyseur de routes dans Slim. Comment récupérer cette instance pour manipuler les URL ?", "query": "get route parser", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ContentLengthMiddleware.php -> Psr", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Je cherche la méthode qui permet d'obtenir l'analyseur de routes dans Slim. Comment récupérer cette instance pour manipuler les URL ?", "query": "get route parser", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lang": "fr", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=89-112\nread getBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "getBodyParser", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=377-400\nread testRouteObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjMiddlewareClass", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=274-297\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=32-55\nread setDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setDefaultInvocationStrategy", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=185-208\nread redirect for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "redirect", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=50-73\nread detach for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "detach", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=284-307\nread addMiddleware for detail", "file": "Slim/Routing/Route.php", "symbol": "addMiddleware", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=17-40\nread RouteCollectorInterface for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "RouteCollectorInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Assets/HeaderStack.php lines=71-94\nread stack for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "stack", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimPsr17Factory.php lines=13-36\nread SlimPsr17Factory for detail", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "SlimPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=73-96\nread requiredRouteContextRequestAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "requiredRouteContextRequestAttributes", "line": 73, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Como obtenho a estratégia de invocação da rota atual?", "query": "route invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockAction.php\nLine 22: {", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 195: 'Unable to seek to stream position '", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 41: }", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 67: public function getRoute(): ?RouteInterface", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 7: */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 23: public function getInvocationStrategy(): InvocationStrategyInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 61: $html .= sprintf('
%s
', htmlentities($exception->getTraceAsString()));", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 3: /**", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 52: /**", "file": "tests/TestCase.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 75: {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 1: assertSame($strategyProphecy->reveal(), $route->getInvocationStrategy());", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 194, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 82: 'Slim\\\\Factory\\\\Psr17\\\\SlimHttpServerRequestCreator could not instantiate a decorated server request.'", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 174: {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 26: * @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 38: class ResponseEmitterTest extends TestCase", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 5: *", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 3: [*]", "file": ".editorconfig", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 42: $request = $this->createServerRequest('/');", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 53: $expressions = array_reverse($this->routeParser->parse($pattern));", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Como obtenho a estratégia de invocação da rota atual?", "query": "route invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lang": "pt", "candidates": [{"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Como obtenho a estratégia de invocação da rota atual?", "query": "route invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Como obtenho a estratégia de invocação da rota atual?", "query": "route invocation strategy", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lang": "pt", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=124-147\nread isResponseEmpty for detail", "file": "Slim/ResponseEmitter.php", "symbol": "isResponseEmpty", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=40-63\nread relativeUrlFor for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "relativeUrlFor", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=167-190\nread testSlimCallableAsArrayContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArrayContainer", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=108-131\nread testSetDefaultErrorHandlerThrowsException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandlerThrowsException", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=50-73\nread testRespond for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespond", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=57-80\nread handle for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "handle", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=173-196\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=70-93\nread isReadable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "¿Cómo defino la interfaz para configurar y obtener la estrategia de invocación, los métodos HTTP, el patrón de ruta y la callable asociada a una ruta?", "query": "route strategy pattern callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lang": "es", "candidates": [{"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 15: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 17: use Slim\\Interfaces\\RouteInterface;", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 108: public function write($string): int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 14: interface Psr17FactoryProviderInterface", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 15: use Slim\\Tests\\TestCase;", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 205: * @return ResponseInterface", "file": "Slim/App.php", "symbol": "", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 26: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 28: public function testHttpExceptionAttributeGettersSetters()", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 16: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 3: /**", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 19: use Slim\\Interfaces\\RouteInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 60: * @return RouteInterface[]", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 89: $dispatcher = new Dispatcher($routeCollector);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 3: /**", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 18: interface RouteInterface", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 49: $reflectionClass = new ReflectionClass(SlimHttpPsr17Factory::class);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 174: * {@inheritdoc}", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 106: $result = $this->dispatchVariableRoute($routeData, $uri);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 44: * @param callable[] $bodyParsers list of body parsers as an associative array of mediaType => callable", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 28: $psr17Factory,", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 688: ->createResponse()", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 688, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Cómo defino la interfaz para configurar y obtener la estrategia de invocación, los métodos HTTP, el patrón de ruta y la callable asociada a una ruta?", "query": "route strategy pattern callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Cómo defino la interfaz para configurar y obtener la estrategia de invocación, los métodos HTTP, el patrón de ruta y la callable asociada a una ruta?", "query": "route strategy pattern callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Cómo defino la interfaz para configurar y obtener la estrategia de invocación, los métodos HTTP, el patrón de ruta y la callable asociada a una ruta?", "query": "route strategy pattern callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lang": "es", "candidates": [{"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=102-125\nread map for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "map", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpNotImplementedException.php lines=14-37\nread HttpNotImplementedException for detail", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "HttpNotImplementedException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=35-58\nread process for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "process", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=294-317\nread testMiddlewareObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjPsrRequestHandlerClass", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "Comment l'endroit où le middleware du groupe est ajouté avant de dispatcher la requête.", "query": "append group middleware", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lang": "fr", "candidates": [{"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 27: if ($size !== null && !$response->hasHeader('Content-Length')) {", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 95: public function setArgument(string $name, string $value): RouteInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 38: $xml .= \" \\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 67: $app->run($request);", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 52: 'type' => get_class($exception),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 8: use FastRoute\\RouteCollector as FastRouteCollector;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 21: protected ServerRequestCreatorInterface $serverRequestCreator;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 246: $this->defaultErrorRendererContentType = $contentType;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 636: $cases[] = ['PUT', '/user.json', $callback, ['POST', 'GET']];", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 636, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 1: run($request);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 427, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 74: $result = $dispatcher2->dispatch('GET', '/');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 186: public function run(?ServerRequestInterface $request = null): void", "file": "Slim/App.php", "symbol": "", "line": 186, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nLine 117: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 22: * @param mixed $level", "file": "Slim/Logger.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 16: /**", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 55: \"Please install a supported implementation in order to use `App::run()` \" .", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\nLine 315: public function run(ServerRequestInterface $request): ResponseInterface", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 28: public static $hasBeenInstantiated = false;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 40: use Slim\\Routing\\RouteCollector;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 127: public function run(ServerRequestInterface $request): ResponseInterface;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 127, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Comment l'endroit où le middleware du groupe est ajouté avant de dispatcher la requête.", "query": "append group middleware", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lang": "fr", "candidates": [{"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Comment l'endroit où le middleware du groupe est ajouté avant de dispatcher la requête.", "query": "append group middleware", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lang": "fr", "candidates": [{"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> function", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Comment l'endroit où le middleware du groupe est ajouté avant de dispatcher la requête.", "query": "append group middleware", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lang": "fr", "candidates": [{"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/Route.php lines=159-182\nread setInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "setInvocationStrategy", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=19-42\nread MockAction for detail", "file": "tests/Mocks/MockAction.php", "symbol": "MockAction", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=244-267\nread createGroup for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createGroup", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=19-42\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "getServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=19-42\nread SlimHttpServerRequestCreator for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "SlimHttpServerRequestCreator", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=55-78\nread setBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setBasePath", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=387-410\nread testRedirect for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testRedirect", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=45-68\nread AppFactoryTest for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "AppFactoryTest", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=40-63\nread Route for detail", "file": "Slim/Routing/Route.php", "symbol": "Route", "line": 40, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Ocorrendo um problema onde os cabeçalhos de resposta estão sendo enviados incorretamente, possivelmente sobrescrevendo valores em vez de duplicá-los, exceto no caso específico de cookies, o que impede a correta emissão de múltiplos valores para o mesmo header.", "query": "emit headers loop", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lang": "pt", "candidates": [{"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 26: protected string $title = '501 Not Implemented';", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 95: if (is_callable($middleware)) {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 386: $callback = function (RouteCollector $r) {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 779: $responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 779, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 57: return $this->description;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 5: *", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 20: * It outputs the error message and diagnostic information in one of the following formats:", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 183: * 4. Boolean $logErrors", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 34: /**", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 15: protected static string $responseFactoryClass = 'Slim\\Psr7\\Factory\\ResponseFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 58: private function emitHeaders(ResponseInterface $response): void", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 9: declare(strict_types=1);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 56: $serverRequestCreator = ServerRequestCreatorFactory::create();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nLine 82: $this->createMock(RequestHandler::class),", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 59: $serverRequest = $this->createServerRequestWithRouteAttributes();", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Slim\\Psr7\\Factory\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 22: class RequestResponseNamedArgs implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 7: */", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 11: /**", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Ocorrendo um problema onde os cabeçalhos de resposta estão sendo enviados incorretamente, possivelmente sobrescrevendo valores em vez de duplicá-los, exceto no caso específico de cookies, o que impede a correta emissão de múltiplos valores para o mesmo header.", "query": "emit headers loop", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lang": "pt", "candidates": [{"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Ocorrendo um problema onde os cabeçalhos de resposta estão sendo enviados incorretamente, possivelmente sobrescrevendo valores em vez de duplicá-los, exceto no caso específico de cookies, o que impede a correta emissão de múltiplos valores para o mesmo header.", "query": "emit headers loop", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> Slim", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Dispatcher.php -> FastRoute", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> const", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Ocorrendo um problema onde os cabeçalhos de resposta estão sendo enviados incorretamente, possivelmente sobrescrevendo valores em vez de duplicá-los, exceto no caso específico de cookies, o que impede a correta emissão de múltiplos valores para o mesmo header.", "query": "emit headers loop", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lang": "pt", "candidates": [{"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=304-327\nread testResolveThrowsExceptionWithoutContainerAndUnresolvableClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWithoutContainerAndUnresolvableClass", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=244-267\nread testWillHandleInvalidConnectionStatusWithADeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithADeterminateBody", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=30-53\nread __construct for detail", "file": "Slim/ResponseEmitter.php", "symbol": "__construct", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=52-75\nread process for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "process", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=172-195\nread testCacheFileDoesNotExistsAndDirectoryIsNotWritable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileDoesNotExistsAndDirectoryIsNotWritable", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=78-101\nread testPrepend for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testPrepend", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=127-150\nread getDefaultErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "getDefaultErrorHandler", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "find where to inject the interface for creating http factories", "query": "psr17 factory provider", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lang": "en", "candidates": [{"text": "File: tests/Mocks/MockAction.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 87: if (trim($components[0]) === $header) {", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 37: public function __toString(): string", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 68: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 17: use function error_log;", "file": "Slim/Logger.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 86: $meta = stream_get_meta_data($this->stream);", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 90: ServerRequestCreatorFactory::setPsr17FactoryProvider($psr17FactoryProvider);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 90, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 7: */", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 3: /**", "file": "Slim/Logger.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 74: public static function setPsr17FactoryProvider(Psr17FactoryProviderInterface $psr17FactoryProvider): void", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 74, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 441: $routeGroupProphecy = $this->prophesize(RouteGroupInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 441, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 18: protected $code = 404;", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 22: * @param mixed $level", "file": "Slim/Logger.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 58: }", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 173: public static function setPsr17FactoryProvider(Psr17FactoryProviderInterface $psr17FactoryProvider): void", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 15: interface ErrorRendererInterface", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 63: }", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'Laminas\\Diactoros\\ServerRequestFactory';", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 17: protected static string $responseFactoryClass = 'Slim\\Psr7\\Factory\\ResponseFactory';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 130: AppFactory::setPsr17FactoryProvider($psr17FactoryProvider);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 130, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "find where to inject the interface for creating http factories", "query": "psr17 factory provider", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lang": "en", "candidates": [{"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "find where to inject the interface for creating http factories", "query": "psr17 factory provider", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "find where to inject the interface for creating http factories", "query": "psr17 factory provider", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lang": "en", "candidates": [{"text": "Next: read tests/Mocks/SmallChunksStream.php lines=80-103\nread isWritable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isWritable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=26-49\nread ResponseEmitter for detail", "file": "Slim/ResponseEmitter.php", "symbol": "ResponseEmitter", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=50-73\nread createCdataSection for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "createCdataSection", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/CallableResolverInterface.php lines=20-43\nread resolve for detail", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "resolve", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1946-1969\nread testContainerSetToRoute for detail", "file": "tests/AppTest.php", "symbol": "testContainerSetToRoute", "line": 1946, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=175-198\nread group for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "group", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=216-239\nread testDeferredResolvedClosureIsBoundToContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedClosureIsBoundToContainer", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=377-400\nread testRouteObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjMiddlewareClass", "line": 377, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "测试用例中模拟的小数据流在初始化时没有正确设置读取额度,导致后续读取逻辑可能因为默认值问题而无法按预期执行。", "query": "mock stream size", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lang": "zh", "candidates": [{"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 25: protected string $title = '404 Not Found';", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 121: $path = $this->urlFor($routeName, $data, $queryParams);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 3: /**", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 30: public function __construct()", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 22: public static $CalledCount = 0;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nLine 3: /**", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 42: return $handler->handle($request);", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 27: * as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 31: public function __construct()", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 101: ->getStreamFactory()", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 39: '/{first}/{second}',", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 27: {", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1155: $responseProphecy->getBody()->willReturn($streamProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 1155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 29: public function __construct(", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 41: public function __construct(", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 17: class MockMiddlewareSlimCallable", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 55: private function __construct(", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 337: }", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 337, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 29: $psr17Factory,", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 32: static::$hasBeenInstantiated = true;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 3: /**", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 24: public function __construct(bool $appendRouteArgumentsToRequestAttributes = false)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 24, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "测试用例中模拟的小数据流在初始化时没有正确设置读取额度,导致后续读取逻辑可能因为默认值问题而无法按预期执行。", "query": "mock stream size", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lang": "zh", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\ndefines __construct", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "测试用例中模拟的小数据流在初始化时没有正确设置读取额度,导致后续读取逻辑可能因为默认值问题而无法按预期执行。", "query": "mock stream size", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> const", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> function", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "测试用例中模拟的小数据流在初始化时没有正确设置读取额度,导致后续读取逻辑可能因为默认值问题而无法按预期执行。", "query": "mock stream size", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lang": "zh", "candidates": [{"text": "Next: read tests/Mocks/MockStream.php lines=227-250\nread isReadable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isReadable", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=43-66\nread testCanCreateInstanceWithoutRoute for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceWithoutRoute", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteRunner.php lines=37-60\nread __construct for detail", "file": "Slim/Routing/RouteRunner.php", "symbol": "__construct", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomException.php lines=15-38\nread MockCustomException for detail", "file": "tests/Mocks/MockCustomException.php", "symbol": "MockCustomException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=45-68\nread detach for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "detach", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=117-140\nread post for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "post", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=71-94\nread getNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getNamedRoute", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=263-286\nread testPlainTextErrorRendererFormatFragmentMethod for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererFormatFragmentMethod", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=35-58\nread MiddlewareDispatcher for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "MiddlewareDispatcher", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=36-59\nread __toString for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__toString", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "デコレータなしでサーバーリクエスト作成者をセットする挙動をテストして", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lang": "ja", "candidates": [{"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 27: protected string $description = 'Unexpected condition encountered preventing server from fulfilling request.';", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 5: *", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 14: use Throwable;", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 23: class RequestResponseArgs implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 16: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 29: * Add middleware to the route group", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 108: // routingResults is available", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 3: /**", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 37: * @api", "file": "Slim/Routing/Route.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 3: /**", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 1: expectExceptionMessage('Slim\\\\Tests\\\\Mocks\\\\MockPsr17Factory' .", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 11: namespace Slim\\Error\\Renderers;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 49: * $routes is an associative array of expressions representing a route as multiple segments", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 57: */", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 101: #[\\PHPUnit\\Framework\\Attributes\\RunInSeparateProcess]", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 39: $this->assertSame('4', $response->getHeaderLine('Content-Length'));", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 73: * @return TContainerInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "デコレータなしでサーバーリクエスト作成者をセットする挙動をテストして", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lang": "ja", "candidates": [{"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "デコレータなしでサーバーリクエスト作成者をセットする挙動をテストして", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Nyholm", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> RuntimeException", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Slim", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Psr", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> HttpSoft", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "デコレータなしでサーバーリクエスト作成者をセットする挙動をテストして", "query": "setServerRequestCreator test", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lang": "ja", "candidates": [{"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=19-42\nread __invoke for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "__invoke", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=190-213\nread setErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "setErrorHandler", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=227-250\nread getIdentifier for detail", "file": "Slim/Routing/Route.php", "symbol": "getIdentifier", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=50-73\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=299-322\nread testRedirectRoute for detail", "file": "tests/AppTest.php", "symbol": "testRedirectRoute", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=27-50\nread HtmlErrorRenderer for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "HtmlErrorRenderer", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=34-57\nread provideImplementations for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "provideImplementations", "line": 34, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=62-85\nread testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorReturnsDecoratedServerRequestCreator", "line": 62, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1675-1698\nread testRun for detail", "file": "tests/AppTest.php", "symbol": "testRun", "line": 1675, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=235-258\nread getArgument for detail", "file": "Slim/Routing/Route.php", "symbol": "getArgument", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=32-55\nread ServerRequestCreatorFactoryTest for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "ServerRequestCreatorFactoryTest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=347-370\nread testSetDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testSetDefaultErrorRenderer", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=206-229\nread isWritable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isWritable", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=101-124\nread testSetServerRequestCreatorWithoutDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithoutDecorators", "line": 101, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "アプリケーションのインスタンスを生成する際、引数で渡した依存コンポーネントが静的プロパティに上書きされてしまい、以降の生成プロセスに影響を与える可能性がある挙動について確認したいです。依存関係を注入して新しい実行環境を構築する仕組みにおいて、状態が意図せず保持されてしまうバグがないか調査してください。", "query": "instantiate application dependencies", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/InvokableTest.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 1: dispatchVariableRoute($this->variableRouteData[$httpMethod], $uri);", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 53: public static function create(", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 51: */", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 21: protected ServerRequestCreatorInterface $serverRequestCreator;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 56: $serverRequestCreator = ServerRequestCreatorFactory::create();", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 5: *", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 1: getMessage());", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 74: * @param CallableResolverInterface|null $callableResolver", "file": "tests/TestCase.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 37: throw new RuntimeException('Cannot create RouteContext before routing has been completed');", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 29: public static function create(): ServerRequestCreatorInterface", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 21: use const JSON_UNESCAPED_SLASHES;", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 329: ->willReturn(true)", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 329, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 7: */", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 29: $exception = new HttpUnauthorizedException($request, 'Hello World');", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 36: {", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 51: $this->assertSame('Method not allowed.', $exception->getMessage());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 127: public function getDefaultErrorHandler()", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 75: $app = AppFactory::create();", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 43: }", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "アプリケーションのインスタンスを生成する際、引数で渡した依存コンポーネントが静的プロパティに上書きされてしまい、以降の生成プロセスに影響を与える可能性がある挙動について確認したいです。依存関係を注入して新しい実行環境を構築する仕組みにおいて、状態が意図せず保持されてしまうバグがないか調査してください。", "query": "instantiate application dependencies", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "アプリケーションのインスタンスを生成する際、引数で渡した依存コンポーネントが静的プロパティに上書きされてしまい、以降の生成プロセスに影響を与える可能性がある挙動について確認したいです。依存関係を注入して新しい実行環境を構築する仕組みにおいて、状態が意図せず保持されてしまうバグがないか調査してください。", "query": "instantiate application dependencies", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "アプリケーションのインスタンスを生成する際、引数で渡した依存コンポーネントが静的プロパティに上書きされてしまい、以降の生成プロセスに影響を与える可能性がある挙動について確認したいです。依存関係を注入して新しい実行環境を構築する仕組みにおいて、状態が意図せず保持されてしまうバグがないか調査してください。", "query": "instantiate application dependencies", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lang": "ja", "candidates": [{"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=38-61\nread emit for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emit", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=110-133\nread testGetAllowedMethodsReusesLastUriOnly for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethodsReusesLastUriOnly", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=41-64\nread getCalledCount for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "getCalledCount", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=147-170\nread testUrlForWithMissingSegmentData for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithMissingSegmentData", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=29-52\nread create for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "create", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=70-93\nread isReadable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isReadable", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=519-542\nread testCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testCallableClassNotFoundThrowException", "line": 519, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=645-668\nread testInvokeUsesUserSetStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesUserSetStrategyForRequestHandlers", "line": 645, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "當我在路由代理物件中嘗試獲取基礎路徑時,發現它似乎只是單純地將請求轉發給底層的收集器,我想確認這個轉發邏輯是否符合預期,或者是否有必要在代理層級進行額外的處理。", "query": "get base path", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lang": "zh", "candidates": [{"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 37: }", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 79: return static::$responseFactoryClass && class_exists(static::$responseFactoryClass);", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 19: public static $CalledContainer = null;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 1: routeCollector->getBasePath();", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 38: $request->getBody()->rewind();", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 20: {", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 173: public function testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 104: $this->middlewareDispatcher->add($middleware);", "file": "Slim/App.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 5: *", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 50: public function getBasePath(): string;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 37: public function getBasePath(): string;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 91: public function getBasePath(): string", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 68: $this->routeCollectorProxy->getBasePath()", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 7: */", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 106: $this->assertInstanceOf(RouteParserInterface::class, $routeParser);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 158: public function getBasePath(): string", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 158, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 106: $basePath = $this->routeCollector->getBasePath();", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 53: if (is_callable($toResolve)) {", "file": "Slim/CallableResolver.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 51: {", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "當我在路由代理物件中嘗試獲取基礎路徑時,發現它似乎只是單純地將請求轉發給底層的收集器,我想確認這個轉發邏輯是否符合預期,或者是否有必要在代理層級進行額外的處理。", "query": "get base path", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lang": "zh", "candidates": [{"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "當我在路由代理物件中嘗試獲取基礎路徑時,發現它似乎只是單純地將請求轉發給底層的收集器,我想確認這個轉發邏輯是否符合預期,或者是否有必要在代理層級進行額外的處理。", "query": "get base path", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "當我在路由代理物件中嘗試獲取基礎路徑時,發現它似乎只是單純地將請求轉發給底層的收集器,我想確認這個轉發邏輯是否符合預期,或者是否有必要在代理層級進行額外的處理。", "query": "get base path", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lang": "zh", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=177-200\nread eof for detail", "file": "tests/Mocks/MockStream.php", "symbol": "eof", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=195-218\nread getNamedRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getNamedRoute", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=113-136\nread write for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "write", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=203-226\nread setRouteResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteResolver", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=65-88\nread getMetadata for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getMetadata", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=87-110\nread lookupRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "lookupRoute", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=24-47\nread process for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "process", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=91-114\nread getBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getBasePath", "line": 91, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockMiddlewareSlimCallable.php lines=24-47\nread custom for detail", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "custom", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=156-179\nread testJSONErrorRendererDoesNotDisplayErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererDoesNotDisplayErrorDetails", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=72-95\nread getUri for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getUri", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=14-37\nread Psr17FactoryProviderInterface for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "Psr17FactoryProviderInterface", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "특정 컨텐츠 타입에 맞춰 에러 렌더러를 등록하는 메서드가 어디 있지?", "query": "register error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 7: */", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 337: $handler->registerErrorRenderer('application/slim', PlainTextErrorRenderer::class);", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 337, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 107: '{\"foo\"}/bar',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 32: {", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 165: if ($callable === 'MiddlewareInterfaceNotImplemented') {", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 28: $xml .= \"\\n \" . $this->createCdataSection($this->getErrorTitle($exception)) . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 15: use RuntimeException;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 63: $this->assertFileExists($cacheFile, 'cache file was not created');", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 147: $this->assertSame(['text/html'], $response->getHeader('Content-Type'));", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 1: getRouteCollector();", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 218: $responseEmitter = new ResponseEmitter();", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 62: ServerRequestCreatorInterface $serverRequestCreator", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 3: /**", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "특정 컨텐츠 타입에 맞춰 에러 렌더러를 등록하는 메서드가 어디 있지?", "query": "register error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "특정 컨텐츠 타입에 맞춰 에러 렌더러를 등록하는 메서드가 어디 있지?", "query": "register error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Slim", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> function", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Throwable", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "slim", "task": "특정 컨텐츠 타입에 맞춰 에러 렌더러를 등록하는 메서드가 어디 있지?", "query": "register error renderer", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lang": "ko", "candidates": [{"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=30-53\nread testAdvancedCallable for detail", "file": "tests/CallableResolverTest.php", "symbol": "testAdvancedCallable", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=28-51\nread __invoke for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=99-122\nread any for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "any", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=41-64\nread close for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "close", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=42-65\nread generateDispatcherOptions for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "generateDispatcherOptions", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=78-101\nread testGetRouteCollectorReturnsInjectedInstance for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetRouteCollectorReturnsInjectedInstance", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=158-181\nread getBasePath for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getBasePath", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=48-71\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createServerRequest", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=48-71\nread ErrorHandler for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "ErrorHandler", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=46-69\nread getResponseFactory for detail", "file": "tests/TestCase.php", "symbol": "getResponseFactory", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=152-175\nread determineStatusCode for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "determineStatusCode", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=83-106\nread addMiddleware for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "addMiddleware", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=448-471\nread testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDoesNotInstantiateDeferredMiddlewareInCaseOfAnEarlyReturningOuterMiddleware", "line": 448, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=30-53\nread __construct for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "__construct", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=62-85\nread getRoutes for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRoutes", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=116-139\nread __invoke for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__invoke", "line": 116, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Bug: A função auxiliar definida dentro de um método estático de configuração está causando problemas de escopo ou redefinição durante a execução da suíte de testes.", "query": "test process request", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lang": "pt", "candidates": [{"text": "File: tests/Mocks/MockStream.php\nLine 24: use function fstat;", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 10: {", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 20: use Slim\\Exception\\HttpException;", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 52: public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 7: */", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 142: $this->assertNotNull($routeParser);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 28: class MiddlewareDispatcherTest extends TestCase", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 41: }", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 92: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 24: *", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 27: public function getAllowedMethods(string $uri): array;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 24: protected $message = 'Forbidden.';", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 39: use Slim\\Psr7\\Factory\\ResponseFactory as SlimResponseFactory;", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 23: * @var string[]", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 103: public function getErrorHandler(string $type)", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 76: $routeProphecy = $this->prophesize(RouteInterface::class);", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 16: use Slim\\Interfaces\\RouteCollectorInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 7: */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 45: /**", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 15: use Psr\\Http\\Server\\MiddlewareInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 21: /*", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Bug: A função auxiliar definida dentro de um método estático de configuração está causando problemas de escopo ou redefinição durante a execução da suíte de testes.", "query": "test process request", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nsibling in tests", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/CallableResolverTest.php\nsibling in tests", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "Bug: A função auxiliar definida dentro de um método estático de configuração está causando problemas de escopo ou redefinição durante a execução da suíte de testes.", "query": "test process request", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> RuntimeException", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithoutConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Slim", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> stdClass", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Bug: A função auxiliar definida dentro de um método estático de configuração está causando problemas de escopo ou redefinição durante a execução da suíte de testes.", "query": "test process request", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lang": "pt", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=125-148\nread put for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "put", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=30-53\nread setUpBeforeClass for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "setUpBeforeClass", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=151-174\nread testParsing for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsing", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=32-55\nread testProcessRequest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testProcessRequest", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=55-78\nread testNamedFunctionIsResolved for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testNamedFunctionIsResolved", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=866-889\nread testAddMiddlewareOnRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnRouteGroup", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=314-337\nread testAcceptableMediaTypeIsNotFirstInList for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testAcceptableMediaTypeIsNotFirstInList", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=62-85\nread getDispatcher for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getDispatcher", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=268-291\nread map for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "map", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=38-61\nread testAddMiddleware for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testAddMiddleware", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=267-290\nread getGroups for detail", "file": "Slim/Routing/Route.php", "symbol": "getGroups", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=38-61\nread ResponseEmitterTest for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "ResponseEmitterTest", "line": 38, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "trouve la méthode pour instancier un nouvel objet de routage dans les tests", "query": "create route test", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lang": "fr", "candidates": [{"text": "File: tests/Factory/AppFactoryTest.php\nLine 47: protected function tearDown(): void", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 55: public function getDescription(): string", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 318: }", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 276: $this->middleware = $middleware;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 276, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 56: ?RouteInterface $route,", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\nLine 23: */", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 3: /**", "file": "Slim/Logger.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 17: *", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 7: */", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 172: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 43: class RouteTest extends TestCase", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 20: public function resolve($toResolve): callable;", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 27: */", "file": "Slim/Logger.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 5: *", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 144: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 113: ServerRequestCreatorFactory::setServerRequestCreator($serverRequestCreatorProphecy->reveal());", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 110: }", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 3: /**", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 111: }", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 1: Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "trouve la méthode pour instancier un nouvel objet de routage dans les tests", "query": "create route test", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lang": "fr", "candidates": [{"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=50-73\nread eof for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "eof", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=113-136\nread addMiddleware for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "addMiddleware", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=47-70\nread custom for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "custom", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=55-78\nread getDispatcherClass for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "getDispatcherClass", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=25-48\nread PSR7ObjectProviderInterface for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "PSR7ObjectProviderInterface", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=55-78\nread eof for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "eof", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=287-310\nread createRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "createRoute", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1266-1289\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseArgStrategy", "line": 1266, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=327-350\nread appendGroupMiddlewareToRoute for detail", "file": "Slim/Routing/Route.php", "symbol": "appendGroupMiddlewareToRoute", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=26-49\nread RouteCollectorProxyTest for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "RouteCollectorProxyTest", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=98-121\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetSetBasePath", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/HttpSoftPsr17Factory.php lines=13-36\nread HttpSoftPsr17Factory for detail", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "HttpSoftPsr17Factory", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "サーバーリクエストの作成機能が利用可能かどうかを判定しているロジックはどこにありますか?", "query": "is server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 47: public static function isServerRequestCreatorAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 173: public static function setPsr17FactoryProvider(Psr17FactoryProviderInterface $psr17FactoryProvider): void", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 114: if (is_subclass_of($type, $class)) {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 37: /**", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 93: public static function isServerRequestCreatorAvailable(): bool", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 16: use function get_class;", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 31: string $message = '',", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nLine 3: /**", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/AppTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 39: }", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 50: $this->assertSame([], $exception->getAllowedMethods());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 40: public static function isServerRequestCreatorAvailable(): bool", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 123: * @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 16: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 67: }", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 3: /**", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 19: protected $code = 401;", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 107: if (connection_status() !== CONNECTION_NORMAL) {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 16: /**", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 110: $this->assertInstanceOf(RoutingResults::class, $routingResults);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 47: if ($psr17Factory::isServerRequestCreatorAvailable()) {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 196: } else {", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 196, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "サーバーリクエストの作成機能が利用可能かどうかを判定しているロジックはどこにありますか?", "query": "is server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lang": "ja", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedServerRequestClass", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "サーバーリクエストの作成機能が利用可能かどうかを判定しているロジックはどこにありますか?", "query": "is server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> function", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "サーバーリクエストの作成機能が利用可能かどうかを判定しているロジックはどこにありますか?", "query": "is server request creator", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lang": "ja", "candidates": [{"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=153-176\nread testGetCallableResolver for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetCallableResolver", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=137-160\nread testResponseReplacesPreviouslySetHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseReplacesPreviouslySetHeaders", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=61-84\nread push for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "push", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=304-327\nread testObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjPsrRequestHandlerClassInContainer", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=93-116\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isServerRequestCreatorAvailable", "line": 93, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=65-88\nread getServerRequestCreator for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getServerRequestCreator", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1592-1615\nread testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments for detail", "file": "tests/AppTest.php", "symbol": "testCurrentRequestAttributesAreNotLostWhenAddingRouteArguments", "line": 1592, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=50-73\nread getStreamFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getStreamFactory", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=22-45\nread Psr17Factory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "Psr17Factory", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=77-100\nread isResponseFactoryAvailable for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "isResponseFactoryAvailable", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=111-134\nread testNoOverrideRewindEofBodyStream for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testNoOverrideRewindEofBodyStream", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=81-104\nread testMethodNotAllowedDispatches for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testMethodNotAllowedDispatches", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=508-531\nread testMiddlewareClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareClassNotFoundThrowException", "line": 508, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Wie kann ich den Response-Body manipulieren, indem ich Inhalte am Anfang oder Ende der Ausgabe hinzufüge?", "query": "middleware append prepend", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lang": "de", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 79: 'key' => $key,", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 45: }", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 1: emitHeaders($response);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 22: bool $displayErrorDetails,", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 66: && SlimHttpServerRequestCreator::isServerRequestDecoratorAvailable()", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 19: public static $CalledContainer = null;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 219: $callable = $instance ?? $resolved;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 15: {", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 75: return [", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 7: */", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Wie kann ich den Response-Body manipulieren, indem ich Inhalte am Anfang oder Ende der Ausgabe hinzufüge?", "query": "middleware append prepend", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lang": "de", "candidates": [{"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Wie kann ich den Response-Body manipulieren, indem ich Inhalte am Anfang oder Ende der Ausgabe hinzufüge?", "query": "middleware append prepend", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lang": "de", "candidates": [{"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> function", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Throwable", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Psr", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SlowPokeStream.php -> Exception", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wie kann ich den Response-Body manipulieren, indem ich Inhalte am Anfang oder Ende der Ausgabe hinzufüge?", "query": "middleware append prepend", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lang": "de", "candidates": [{"text": "Next: read tests/Routing/DispatcherTest.php lines=144-167\nread testRouteArgumentsAreDecodedOnlyOnce for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteArgumentsAreDecodedOnlyOnce", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=97-120\nread __construct for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "__construct", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=72-95\nread testSetDefaultErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetDefaultErrorHandler", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/NyholmPsr17Factory.php lines=9-32\nread NyholmPsr17Factory for detail", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "NyholmPsr17Factory", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=377-400\nread testRouteObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjMiddlewareClass", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=151-174\nread getInvocationStrategy for detail", "file": "Slim/Routing/Route.php", "symbol": "getInvocationStrategy", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=211-234\nread testAppIsCreatedWithInjectedInstancesFromFunctionArguments for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testAppIsCreatedWithInjectedInstancesFromFunctionArguments", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=173-196\nread testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=188-211\nread setContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setContainer", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=78-101\nread createMiddlewareDispatcher for detail", "file": "tests/TestCase.php", "symbol": "createMiddlewareDispatcher", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=97-120\nread testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithoutContainerAndNonAdvancedCallableResolver", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=52-75\nread process for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "process", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "slim", "task": "I'm trying to figure out how we simulate file dimensions in our testing environment. Can you show me the logic that retrieves the byte count from a resource while handling the stat cache?", "query": "fstat size null", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lang": "en", "candidates": [{"text": "File: tests/Exception/HttpExceptionTest.php\nLine 47: $this->assertSame('Method not allowed. Must be one of: GET', $exception->getMessage());", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 104: public function setArguments(array $arguments): self;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 56: $this->callableResolver = $callableResolver;", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 70: public function getSize(): ?int", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 70, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 14: public function computeRoutingResults(string $uri, string $method): RoutingResults;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 96: $amountToRead = $body->getSize();", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 96, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/AppFactory.php\nLine 168: }", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 23: use function ob_get_clean;", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 13: use RuntimeException;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 26: $size = $response->getBody()->getSize();", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 134: 'foo' => 'foo',", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 143: public function getSize(): ?int", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 227: $strategyProphecy = $this->prophesize(InvocationStrategyInterface::class);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 173: public function testIsResponseEmptyWithNonEmptyBodyAndTriggeringStatusCode(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 81: $responseFactoryFromContainer = $container->get(ResponseFactoryInterface::class)", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 65: public function getSize(): ?int", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 53: * Set the base path used in pathFor()", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 107: {", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 115: ->onlyMethods(['getSize'])", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Logger.php\nLine 28: public function log($level, $message, array $context = []): void", "file": "Slim/Logger.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 29: private DispatcherInterface $dispatcher;", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 22: */", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "I'm trying to figure out how we simulate file dimensions in our testing environment. Can you show me the logic that retrieves the byte count from a resource while handling the stat cache?", "query": "fstat size null", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lang": "en", "candidates": [{"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nsibling in tests/Mocks", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nsibling in tests/Mocks", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\n@api", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nsibling in tests/Mocks", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "I'm trying to figure out how we simulate file dimensions in our testing environment. Can you show me the logic that retrieves the byte count from a resource while handling the stat cache?", "query": "fstat size null", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Mocks/MockStream.php -> Psr", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> function", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> RuntimeException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> const", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "I'm trying to figure out how we simulate file dimensions in our testing environment. Can you show me the logic that retrieves the byte count from a resource while handling the stat cache?", "query": "fstat size null", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lang": "en", "candidates": [{"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=23-46\nread BodyParsingMiddlewareTest for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "BodyParsingMiddlewareTest", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=80-103\nread removeNamedRoute for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "removeNamedRoute", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=166-189\nread testJSONErrorRendererSubstitutesInvalidUtf8 for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererSubstitutesInvalidUtf8", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread [*.md]\n for detail", "file": ".editorconfig", "symbol": "[*.md]\n", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=76-99\nread __construct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__construct", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=143-166\nread getSize for detail", "file": "tests/Mocks/MockStream.php", "symbol": "getSize", "line": 143, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockStream.php lines=101-124\nread __destruct for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__destruct", "line": 101, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=294-317\nread respond for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "respond", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=176-199\nread getRoutes for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getRoutes", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=119-142\nread close for detail", "file": "tests/Mocks/MockStream.php", "symbol": "close", "line": 119, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1992-2015\nread testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs for detail", "file": "tests/AppTest.php", "symbol": "testInvokeSequentialProcessToAPathWithOptionalArgsAndWithoutOptionalArgs", "line": 1992, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=51-74\nread get for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=207-230\nread testResolutionToAnInvokableClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClassInContainer", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "リクエストコンテキストからルートの解析用インターフェースを取得する際に、期待通りにインスタンスを返せない、あるいは取得できない問題があります。コンテキスト内に保持されているパーサーを取得するメソッドの挙動を確認してください。", "query": "get route parser", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/RouteInterface.php\nLine 123: * This method traverses the middleware stack, including the route's callable", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 111: $routeCollectorProphecy->getRouteParser()->willReturn($routeParserProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 111, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 215: }", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 215, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 28: }", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 141: public static function deferredCallableProvider(): array", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 26: {", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 7: */", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 107: public function getRouteParser(): RouteParserInterface", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 23: * Get allowed methods for a given uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 72: public function getRouteParser(): RouteParserInterface", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 83: public function delete(string $pattern, $callable): RouteInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 26: {", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 38: $this->assertSame($routeParser, $routeContext->getRouteParser());", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 21: * Interface PSR7ObjectProviderInterface", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 71: $routeRunner = new RouteRunner($this->routeResolver, $this->routeCollector->getRouteParser(), $this);", "file": "Slim/App.php", "symbol": "", "line": 71, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 25: private RouteResolverInterface $routeResolver;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 20: public function testHttpExceptionRequestReponseGetterSetters()", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 1640: $this->__toString()->willReturn($body);", "file": "tests/AppTest.php", "symbol": "", "line": 1640, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 27: * as individual arguments.", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 185: */", "file": "Slim/App.php", "symbol": "", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 18: * Get routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 93: $routeParser = $routeCollector->getRouteParser();", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 22: public function getRouteParser(): RouteParserInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "リクエストコンテキストからルートの解析用インターフェースを取得する際に、期待通りにインスタンスを返せない、あるいは取得できない問題があります。コンテキスト内に保持されているパーサーを取得するメソッドの挙動を確認してください。", "query": "get route parser", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lang": "ja", "candidates": [{"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "リクエストコンテキストからルートの解析用インターフェースを取得する際に、期待通りにインスタンスを返せない、あるいは取得できない問題があります。コンテキスト内に保持されているパーサーを取得するメソッドの挙動を確認してください。", "query": "get route parser", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Slim", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/FastRouteDispatcher.php -> FastRoute", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> PHPUnit", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/TestCase.php -> Prophecy", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "リクエストコンテキストからルートの解析用インターフェースを取得する際に、期待通りにインスタンスを返せない、あるいは取得できない問題があります。コンテキスト内に保持されているパーサーを取得するメソッドの挙動を確認してください。", "query": "get route parser", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lang": "ja", "candidates": [{"text": "Next: read Slim/Interfaces/RouteInterface.php lines=127-150\nread run for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "run", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=167-190\nread testSlimCallableAsArrayContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testSlimCallableAsArrayContainer", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=27-50\nread OutputBufferingMiddleware for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "OutputBufferingMiddleware", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=59-82\nread post for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "post", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=60-83\nread getContents for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getContents", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=29-52\nread fromRequest for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "fromRequest", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=43-66\nread testBodyParam for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testBodyParam", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=9-32\nread RouteResolverInterface for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "RouteResolverInterface", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=948-971\nread testAddMiddlewareOnTwoRouteGroup for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareOnTwoRouteGroup", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=77-100\nread getRoutingResults for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoutingResults", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteContext.php lines=19-42\nread RouteContext for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "RouteContext", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=139-162\nread testGetPattern for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetPattern", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=482-505\nread provideNotFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideNotFoundDispatchCases", "line": 482, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=486-509\nread testCanBeExecutedMultipleTimes for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeExecutedMultipleTimes", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=72-95\nread getRouteParser for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRouteParser", "line": 72, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=80-103\nread isSeekable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isSeekable", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=8-31\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "injecte les arguments de route dans la requête avant d'appeler le middleware", "query": "route arguments middleware", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lang": "fr", "candidates": [{"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 21: use Slim\\Interfaces\\RouteParserInterface;", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 44: return $xml;", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nLine 87: return false;", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 1: __invoke($exception, true);", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 26: * @param ResponseInterface $response The response object.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\nLine 31: public function __invoke(", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 134: $routeCollector->setBasePath('/app');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 74: ' ' .", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 400: }", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 24: {", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 28: public function __invoke(", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 83: {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "injecte les arguments de route dans la requête avant d'appeler le middleware", "query": "route arguments middleware", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lang": "fr", "candidates": [{"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\n@api", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "injecte les arguments de route dans la requête avant d'appeler le middleware", "query": "route arguments middleware", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lang": "fr", "candidates": [{"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "injecte les arguments de route dans la requête avant d'appeler le middleware", "query": "route arguments middleware", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lang": "fr", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=467-490\nread testProcessWhenReturningAResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testProcessWhenReturningAResponse", "line": 467, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=33-56\nread createServerRequestFromGlobals for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "createServerRequestFromGlobals", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1109-1132\nread testInvokeWithMatchingRoute for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRoute", "line": 1109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=80-103\nread hasBodyParser for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "hasBodyParser", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=201-224\nread rewind for detail", "file": "tests/Mocks/MockStream.php", "symbol": "rewind", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=267-290\nread testWillHandleInvalidConnectionStatusWithAnIndeterminateBody for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testWillHandleInvalidConnectionStatusWithAnIndeterminateBody", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=96-119\nread createServerRequest for detail", "file": "tests/TestCase.php", "symbol": "createServerRequest", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=55-78\nread getContents for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getContents", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=83-106\nread addMiddleware for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "addMiddleware", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=88-111\nread __construct for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "__construct", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=415-438\nread testControllerMethodAsStringResolvesWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testControllerMethodAsStringResolvesWithContainer", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=25-48\nread RouteParser for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "RouteParser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Error/Renderers/XmlErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=69-92\nread testCreateAppWithAllImplementations for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testCreateAppWithAllImplementations", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=775-798\nread testChangingCallableWithContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithContainer", "line": 775, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Estoy intentando organizar las rutas por prefijos y necesito ver cómo se gestionan los middlewares para un conjunto de endpoints. ¿Dónde está definida la estructura que permite añadir capas de ejecución y obtener el patrón de la URL para estos grupos?", "query": "route group middleware", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 1: createRoute();", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 46: public function setAllowedMethods(array $methods): self", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 25: use Slim\\Interfaces\\RouteGroupInterface;", "file": "Slim/Routing/Route.php", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 21: use Slim\\Interfaces\\RouteGroupInterface;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 20: use Slim\\Interfaces\\RouteGroupInterface;", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 25: /**", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 93: public function group(string $pattern, $callable): RouteGroupInterface;", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 93, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 118: public function group(string $pattern, $callable): RouteGroupInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 118, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 17: use Slim\\Interfaces\\RouteGroupInterface;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 47: $serverRequestCreatorProphecy = $this->prophesize(ServerRequestCreatorInterface::class);", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 63: public function dispatch(string $method, string $uri): RoutingResults", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 59: return $streamFactory;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 99: ],", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 152: throw new RuntimeException(", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 17: private ?FastRouteDispatcher $dispatcher = null;", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 17: interface RouteGroupInterface", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 107: }", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 13: interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 41: }", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy intentando organizar las rutas por prefijos y necesito ver cómo se gestionan los middlewares para un conjunto de endpoints. ¿Dónde está definida la estructura que permite añadir capas de ejecución y obtener el patrón de la URL para estos grupos?", "query": "route group middleware", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lang": "es", "candidates": [{"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy intentando organizar las rutas por prefijos y necesito ver cómo se gestionan los middlewares para un conjunto de endpoints. ¿Dónde está definida la estructura que permite añadir capas de ejecución y obtener el patrón de la URL para estos grupos?", "query": "route group middleware", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteResolverInterface.php -> Slim", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/JsonErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy intentando organizar las rutas por prefijos y necesito ver cómo se gestionan los middlewares para un conjunto de endpoints. ¿Dónde está definida la estructura que permite añadir capas de ejecución y obtener el patrón de la URL para estos grupos?", "query": "route group middleware", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lang": "es", "candidates": [{"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=37-60\nread appendMiddlewareToDispatcher for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "appendMiddlewareToDispatcher", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=76-99\nread testDetermineServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testDetermineServerRequestCreatorThrowsRuntimeException", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=509-532\nread testRouteCallableAppendsCorrectOutputToResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableAppendsCorrectOutputToResponse", "line": 509, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=556-579\nread testFetchesMiddlewareFromContainer for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testFetchesMiddlewareFromContainer", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=146-169\nread testDuplicateStaticRoute for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateStaticRoute", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=26-49\nread add for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "add", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=439-462\nread testMiddlewareMethodNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareMethodNotFoundThrowException", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=77-100\nread getRouteStatus for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteStatus", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=17-40\nread RouteGroupInterface for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "RouteGroupInterface", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/OutputBufferingMiddleware.php lines=39-62\nread __construct for detail", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "__construct", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=140-163\nread testLookupRouteThrowsExceptionIfRouteNotFound for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testLookupRouteThrowsExceptionIfRouteNotFound", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=31-54\nread addMiddleware for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "addMiddleware", "line": 31, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "busca la estrategia que pasa los parámetros de la ruta como argumentos individuales al callback", "query": "route arguments strategy", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lang": "es", "candidates": [{"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 13: use Slim\\Exception\\HttpException;", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 26: */", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 22: class RequestResponseNamedArgs implements InvocationStrategyInterface", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 98: $slimHttpServerRequestCreator->createServerRequestFromGlobals();", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 76: * @param string $reasonPhrase", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 19: protected static string $serverRequestCreatorClass = '';", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 31: use Slim\\Handlers\\Strategies\\RequestResponseNamedArgs;", "file": "tests/AppTest.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 109: *", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 3: /**", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\nLine 13: use Psr\\Http\\Message\\ResponseFactoryInterface;", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 92: return $this->addDeferred($middleware);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 33: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 108: * @param mixed $toResolve", "file": "Slim/CallableResolver.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 41: return $this->request;", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 168: return $parsed;", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 16: /**", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 19: /**", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 21: }", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 15: use Slim\\Handlers\\Strategies\\RequestResponseNamedArgs;", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 3: /**", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "busca la estrategia que pasa los parámetros de la ruta como argumentos individuales al callback", "query": "route arguments strategy", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lang": "es", "candidates": [{"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "busca la estrategia que pasa los parámetros de la ruta como argumentos individuales al callback", "query": "route arguments strategy", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Slim", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> RuntimeException", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteRunnerTest.php -> Psr", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "busca la estrategia que pasa los parámetros de la ruta como argumentos individuales al callback", "query": "route arguments strategy", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lang": "es", "candidates": [{"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=102-125\nread add for detail", "file": "Slim/App.php", "symbol": "add", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=342-365\nread handle for detail", "file": "Slim/Routing/Route.php", "symbol": "handle", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=75-98\nread testDetermineStatusCode for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineStatusCode", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=87-110\nread testDetermineResponseFactoryReturnsDecoratedFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryReturnsDecoratedFactory", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=17-40\nread createServerRequestFromGlobals for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "createServerRequestFromGlobals", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=96-119\nread getRouteArguments for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getRouteArguments", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=48-71\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=45-68\nread setCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "setCacheFile", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=82-105\nread getBasePath for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getBasePath", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=509-532\nread testRouteCallableAppendsCorrectOutputToResponse for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRouteCallableAppendsCorrectOutputToResponse", "line": 509, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=85-108\nread testCannotCreateInstanceIfRequestIsMissingAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCannotCreateInstanceIfRequestIsMissingAttributes", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=546-569\nread testRouteGroupCombinations for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupCombinations", "line": 546, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/ServerRequestCreator.php lines=17-40\nread ServerRequestCreator for detail", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "ServerRequestCreator", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=432-455\nread testGroup for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGroup", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=155-178\nread testResponseDoesNotReplacePreviouslySetSetCookieHeaders for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testResponseDoesNotReplacePreviouslySetSetCookieHeaders", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=265-288\nread testMapRoute for detail", "file": "tests/AppTest.php", "symbol": "testMapRoute", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Fehlerbericht: Beim Aufruf von getResponseFactory(), getStreamFactory() und getServerRequestCreator() in der Mock-Klasse sollte jeweils eine RuntimeException mit der entsprechenden Fehlermeldung geworfen werden, da die Instandanziierung der zugrunde liegenden Fabriken fehlschlägt.", "query": "Psr17 factory exception mock", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lang": "de", "candidates": [{"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 39: public function __construct(StreamFactoryInterface $streamFactory, string $style = 'append')", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 40: }", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 317: $this->assertSame($pattern, $route->getPattern());", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 317, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/ResponseEmitterTest.php\nLine 157: $response = $this", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 134: $routeCollector->setBasePath('/app');", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 17: class Psr17FactoryTest extends TestCase", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 35: ->withHeader('Content-Type', 'text/plain');", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 117: $this->assertSame($serverRequestProphecy->reveal(), $serverRequestCreator->createServerRequestFromGlobals());", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 111: $this->assertSame(Dispatcher::METHOD_NOT_ALLOWED, $routingResults->getRouteStatus());", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 363: $routeProphecy = $this->prophesize(RouteInterface::class);", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 363, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 18: * @api", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nLine 48: }", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 1: getFactories() as $psr17Factory) {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 609: {", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 609, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 1: $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Fehlerbericht: Beim Aufruf von getResponseFactory(), getStreamFactory() und getServerRequestCreator() in der Mock-Klasse sollte jeweils eine RuntimeException mit der entsprechenden Fehlermeldung geworfen werden, da die Instandanziierung der zugrunde liegenden Fabriken fehlschlägt.", "query": "Psr17 factory exception mock", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> InvalidArgumentException", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockStream.php -> Exception", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Fehlerbericht: Beim Aufruf von getResponseFactory(), getStreamFactory() und getServerRequestCreator() in der Mock-Klasse sollte jeweils eine RuntimeException mit der entsprechenden Fehlermeldung geworfen werden, da die Instandanziierung der zugrunde liegenden Fabriken fehlschlägt.", "query": "Psr17 factory exception mock", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lang": "de", "candidates": [{"text": "Next: read tests/AppTest.php lines=248-271\nread upperCaseRequestMethodsProvider for detail", "file": "tests/AppTest.php", "symbol": "upperCaseRequestMethodsProvider", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=318-341\nread testRouteObjPsrRequestHandlerClassInContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClassInContainer", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/MethodOverrideMiddleware.php lines=22-45\nread MethodOverrideMiddleware for detail", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "MethodOverrideMiddleware", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=353-376\nread testMap for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testMap", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=19-42\nread testGetResponseFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetResponseFactoryThrowsRuntimeException", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/ContentLengthMiddlewareTest.php lines=17-40\nread ContentLengthMiddlewareTest for detail", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "ContentLengthMiddlewareTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=17-40\nread Psr17FactoryTest for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "Psr17FactoryTest", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=155-178\nread testPost for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPost", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=27-50\nread testGetStreamFactoryThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetStreamFactoryThrowsRuntimeException", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=183-206\nread provideFoundDispatchCases for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "provideFoundDispatchCases", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=106-129\nread __toString for detail", "file": "tests/Mocks/MockStream.php", "symbol": "__toString", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=216-239\nread testHalfValidContentType for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testHalfValidContentType", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=125-148\nread testDuplicateVariableNameError for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testDuplicateVariableNameError", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=248-271\nread testHandleMultipleExceptionsAddedAsArray for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testHandleMultipleExceptionsAddedAsArray", "line": 248, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/Psr17/Psr17FactoryTest.php lines=35-58\nread testGetServerRequestCreatorThrowsRuntimeException for detail", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "testGetServerRequestCreatorThrowsRuntimeException", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=210-233\nread testSuperclassExceptionHandlerDoesNotHandleSubclassException for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSuperclassExceptionHandlerDoesNotHandleSubclassException", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=31-54\nread __construct for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvokableTest.php lines=17-40\nread __invoke for detail", "file": "tests/Mocks/InvokableTest.php", "symbol": "__invoke", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "¿Dónde se inicializa la pila de capas intermedias con el manejador de peticiones interno?", "query": "seed middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lang": "es", "candidates": [{"text": "File: tests/Mocks/MockCustomException.php\nLine 17: }", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 143: ->seedMiddlewareStack(Argument::any())", "file": "tests/AppTest.php", "symbol": "", "line": 143, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 32: }", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 65: protected array $errorRenderers = [", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 16: protected static string $streamFactoryClass = 'GuzzleHttp\\Psr7\\HttpFactory';", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 7: */", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 11: namespace Slim\\Routing;", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 33: private $response;", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 96: }", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 14: {", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 43: return $this->calledCount;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 42: public function seedMiddlewareStack(RequestHandlerInterface $kernel): void;", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/App.php\nLine 76: $middlewareDispatcher->seedMiddlewareStack($routeRunner);", "file": "Slim/App.php", "symbol": "", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 28: {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 263: public function testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 34: {", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 167: {", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\nLine 26: protected string $title = '501 Not Implemented';", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 55: $this->seedMiddlewareStack($kernel);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 223: $middleware->setErrorHandler(LogicException::class, (function (ServerRequestInterface $request, $exception) {", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 223, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 49: 'QUERY_STRING' => '',", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "¿Dónde se inicializa la pila de capas intermedias con el manejador de peticiones interno?", "query": "seed middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lang": "es", "candidates": [{"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\n@api", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\n@dataProvider deferredCallableProvider @param string $callable @param callable|MiddlewareInterface", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_imports", "repo": "slim", "task": "¿Dónde se inicializa la pila de capas intermedias con el manejador de peticiones interno?", "query": "seed middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Psr", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> FastRoute", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/RouteParser.php -> InvalidArgumentException", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestHandler.php -> Slim", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/XmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "¿Dónde se inicializa la pila de capas intermedias con el manejador de peticiones interno?", "query": "seed middleware stack", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lang": "es", "candidates": [{"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=453-476\nread testFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionNotFoundThrowException", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=42-65\nread seedMiddlewareStack for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "seedMiddlewareStack", "line": 42, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=17-40\nread MiddlewareDispatcherInterface for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "MiddlewareDispatcherInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=154-177\nread testCacheFileExistsAndIsNotReadable for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testCacheFileExistsAndIsNotReadable", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=1-24\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=24-47\nread __construct for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "__construct", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/Route.php lines=254-277\nread setArguments for detail", "file": "Slim/Routing/Route.php", "symbol": "setArguments", "line": 254, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=28-51\nread add for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "add", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1357-1380\nread testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterOverwritesSetArgument", "line": 1357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=43-66\nread testBodyParam for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testBodyParam", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=255-278\nread setLogErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setLogErrorRenderer", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "prüfe ob getallowedmethods die erwarteten methoden zurückgibt", "query": "getAllowedMethods test", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lang": "de", "candidates": [{"text": "File: Slim/Routing/Route.php\nLine 143: public function getCallableResolver(): CallableResolverInterface", "file": "Slim/Routing/Route.php", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\nLine 565: });", "file": "tests/AppTest.php", "symbol": "", "line": 565, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 71: );", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 59: {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 41: */", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 1: ", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 5: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 44: return $this->renderHtmlBody($this->getErrorTitle($exception), $html);", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 53: ) {", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nLine 15: interface ErrorRendererInterface", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 37: $middleware = new OutputBufferingMiddleware($this->getStreamFactory(), 'prepend');", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 29: }", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 21: * JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 100: public function testGetAllowedMethods()", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 283: /**", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 283, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "prüfe ob getallowedmethods die erwarteten methoden zurückgibt", "query": "getAllowedMethods test", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lang": "de", "candidates": [{"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/CallableResolverTest.php\nelsewhere in the tree", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SlowPokeStream.php\nelsewhere in the tree", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "prüfe ob getallowedmethods die erwarteten methoden zurückgibt", "query": "getAllowedMethods test", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> RuntimeException", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Slim", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> function", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/ErrorHandler.php -> Psr", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "prüfe ob getallowedmethods die erwarteten methoden zurückgibt", "query": "getAllowedMethods test", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lang": "de", "candidates": [{"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=35-58\nread testStyleCustomValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleCustomValid", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpExceptionTest.php lines=20-43\nread testHttpExceptionRequestReponseGetterSetters for detail", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "testHttpExceptionRequestReponseGetterSetters", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=21-44\nread process for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "process", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1085-1108\nread testInvokeReturnMethodNotAllowed for detail", "file": "tests/AppTest.php", "symbol": "testInvokeReturnMethodNotAllowed", "line": 1085, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=51-74\nread get for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=37-60\nread getCacheFile for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getCacheFile", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=30-53\nread testCreateDispatcher for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcher", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1545-1568\nread testInvokeFunctionName for detail", "file": "tests/AppTest.php", "symbol": "testInvokeFunctionName", "line": 1545, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=41-64\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=95-118\nread createServerRequestWithRouteAttributes for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "createServerRequestWithRouteAttributes", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1728-1751\nread testRunWithoutPassingInServerRequest for detail", "file": "tests/AppTest.php", "symbol": "testRunWithoutPassingInServerRequest", "line": 1728, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=103-126\nread testOutputBufferIsCleanedWhenThrowableIsCaught for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testOutputBufferIsCleanedWhenThrowableIsCaught", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=118-141\nread testDispatch for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testDispatch", "line": 118, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=244-267\nread setDefaultErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "setDefaultErrorRenderer", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=530-553\nread testRouteCallableClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteCallableClassNotFoundThrowException", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=84-107\nread testCreateDispatcherReturnsSameDispatcherASecondTime for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testCreateDispatcherReturnsSameDispatcherASecondTime", "line": 84, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=221-244\nread testPatch for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testPatch", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=28-51\nread DispatcherTest for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "DispatcherTest", "line": 28, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Estoy intentando acceder a la fábrica de respuestas dentro de las rutas para personalizar la salida. ¿Cómo puedo obtener la instancia del objeto encargado de crear las respuestas desde aquí?", "query": "response factory", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lang": "es", "candidates": [{"text": "File: .editorconfig\nLine 11: [*.md]", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 22: $responseFactory = $this->getResponseFactory();", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 7: */", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 23: public function getResponseFactory(): ResponseFactoryInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 206: }", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 23: *", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 24: * @param array $context", "file": "Slim/Logger.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 43: }", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 83: $reflectionProperty->setValue($handler, $this->getResponseFactory());", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 58: public function getResponseFactory(): ResponseFactoryInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/AppFactory.php\nLine 141: $responseFactory = $psr17factory::getResponseFactory();", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 141, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\nLine 24: public function custom(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 122: public function testGet()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 24: protected $message = 'Gone.';", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 35: public static function getResponseFactory(): ResponseFactoryInterface", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/App.php\nLine 203: *", "file": "Slim/App.php", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 22: public static function getResponseFactory(): ResponseFactoryInterface;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 17: class Psr17FactoryTest extends TestCase", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 183: if ($this->callableResolver instanceof CallableResolverInterface) {", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 3: /**", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 45: $exception->setAllowedMethods(['GET']);", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 9: declare(strict_types=1);", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy intentando acceder a la fábrica de respuestas dentro de las rutas para personalizar la salida. ¿Cómo puedo obtener la instancia del objeto encargado de crear las respuestas desde aquí?", "query": "response factory", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lang": "es", "candidates": [{"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\n@api", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\n@api @method int getCode()", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy intentando acceder a la fábrica de respuestas dentro de las rutas para personalizar la salida. ¿Cómo puedo obtener la instancia del objeto encargado de crear las respuestas desde aquí?", "query": "response factory", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lang": "es", "candidates": [{"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> RuntimeException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Throwable", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Slim", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/ServerRequestCreatorFactoryTest.php -> Laminas", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/ErrorMiddleware.php -> Psr", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/AbstractErrorRenderer.php -> Slim", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy intentando acceder a la fábrica de respuestas dentro de las rutas para personalizar la salida. ¿Cómo puedo obtener la instancia del objeto encargado de crear las respuestas desde aquí?", "query": "response factory", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lang": "es", "candidates": [{"text": "Next: read Slim/Interfaces/RouteResolverInterface.php lines=16-39\nread resolveRoute for detail", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "resolveRoute", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=680-703\nread testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testRequestHandlerStrategyAppendsRouteArgumentsAsAttributesToRequest", "line": 680, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=20-43\nread RequestResponse for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "RequestResponse", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=15-38\nread HttpMethodNotAllowedException for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "HttpMethodNotAllowedException", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=463-486\nread testDefaultErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDefaultErrorRenderer", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=98-121\nread rewind for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "rewind", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=66-89\nread getCallableResolver for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getCallableResolver", "line": 66, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=67-90\nread getRoute for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "getRoute", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=18-41\nread RequestResponseNamedArgsTest for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "RequestResponseNamedArgsTest", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/JsonErrorRenderer.php lines=48-71\nread formatExceptionFragment for detail", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "formatExceptionFragment", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=21-44\nread SmallChunksStream for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "SmallChunksStream", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=110-133\nread isRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "isRoute", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=44-67\nread getTitle for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getTitle", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=41-64\nread __construct for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "__construct", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/OutputBufferingMiddlewareTest.php lines=24-47\nread testStyleDefaultValid for detail", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "testStyleDefaultValid", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=12-35\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=264-287\nread testResolvableReturnsInstantiatedObject for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolvableReturnsInstantiatedObject", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=58-81\nread getResponseFactory for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getResponseFactory", "line": 58, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=83-106\nread getRouteCollector for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getRouteCollector", "line": 83, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "slim", "task": "Estoy intentando entender cómo el framework transforma las rutas de texto en funciones ejecutables. ¿Dónde se gestiona la lógica que interpreta la sintaxis de dos puntos para extraer servicios del contenedor?", "query": "resolve callable notation", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lang": "es", "candidates": [{"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 140: /**", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nLine 17: /**", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 11: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 109: }", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/MiddlewareDispatcherTest.php\nLine 83: ->willReturn($callable)", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 65: $callableResolver ?? new CallableResolver($container),", "file": "Slim/App.php", "symbol": "", "line": 65, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\nLine 590: /********************************************************************************", "file": "tests/AppTest.php", "symbol": "", "line": 590, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 1: read($length);", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 5: *", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Estoy intentando entender cómo el framework transforma las rutas de texto en funciones ejecutables. ¿Dónde se gestiona la lógica que interpreta la sintaxis de dos puntos para extraer servicios del contenedor?", "query": "resolve callable notation", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lang": "es", "candidates": [{"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/MiddlewareDispatcher.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nInterface PSR7ObjectProviderInterface @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\n@param ServerRequestInterface $request @return ResponseInterface", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockStream.php\nMockStream constructor. @param string|resource $body", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\n{@inheritdoc}", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Estoy intentando entender cómo el framework transforma las rutas de texto en funciones ejecutables. ¿Dónde se gestiona la lógica que interpreta la sintaxis de dos puntos para extraer servicios del contenedor?", "query": "resolve callable notation", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lang": "es", "candidates": [{"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Slim", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> function", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Slim", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/Strategies/RequestResponseNamedArgsTest.php -> Psr", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> RuntimeException", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/CallableResolver.php -> function", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockAction.php -> InvalidArgumentException", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ServerRequestCreatorInterface.php -> Psr", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponseNamedArgs.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Estoy intentando entender cómo el framework transforma las rutas de texto en funciones ejecutables. ¿Dónde se gestiona la lógica que interpreta la sintaxis de dos puntos para extraer servicios del contenedor?", "query": "resolve callable notation", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lang": "es", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=28-51\nread setUpBeforeClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "setUpBeforeClass", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=68-91\nread resolveRoute for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveRoute", "line": 68, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=194-217\nread testSettingAndGettingAParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testSettingAndGettingAParser", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=31-54\nread ErrorHandlerTest for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "ErrorHandlerTest", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=28-51\nread MiddlewareDispatcherTest for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "MiddlewareDispatcherTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=50-73\nread resolve for detail", "file": "Slim/CallableResolver.php", "symbol": "resolve", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1500-1523\nread testInvokeWithCallableInContainerViaCallMagicMethod for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithCallableInContainerViaCallMagicMethod", "line": 1500, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=211-234\nread write for detail", "file": "tests/Mocks/MockStream.php", "symbol": "write", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/InvocationStrategyTest.php lines=17-40\nread InvocationStrategyTest for detail", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "InvocationStrategyTest", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=86-109\nread resolveByPredicate for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveByPredicate", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/CallableResolver.php lines=42-65\nread __construct for detail", "file": "Slim/CallableResolver.php", "symbol": "__construct", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/TestCase.php lines=55-78\nread getStreamFactory for detail", "file": "tests/TestCase.php", "symbol": "getStreamFactory", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=32-55\nread CallableResolver for detail", "file": "Slim/CallableResolver.php", "symbol": "CallableResolver", "line": 32, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteRunnerTest.php lines=26-49\nread testRoutingIsPerformedIfRoutingResultsAreUnavailable for detail", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "testRoutingIsPerformedIfRoutingResultsAreUnavailable", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=92-115\nread getAllowedMethods for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "getAllowedMethods", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=40-63\nread getStreamFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getStreamFactory", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=22-45\nread SlowPokeStream for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "SlowPokeStream", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=55-78\nread __construct for detail", "file": "Slim/App.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteContextTest.php lines=23-46\nread testCanCreateInstanceFromServerRequest for detail", "file": "tests/Routing/RouteContextTest.php", "symbol": "testCanCreateInstanceFromServerRequest", "line": 23, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "라우팅 엔진을 초기화할 때 경로 수집기와 디스패처를 어떻게 연결하고 설정하는지 확인하고 싶어요. 생성자에서 의존성 주입이 어떻게 이루어지는지 설명해 주세요.", "query": "route dispatcher constructor", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lang": "ko", "candidates": [{"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 31: public function __construct(RouteResolverInterface $routeResolver, RouteParserInterface $routeParser)", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\nLine 55: private function __construct(", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 55, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteParser.php\nLine 31: public function __construct(RouteCollectorInterface $routeCollector)", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 29: protected CallableResolverInterface $callableResolver;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nLine 31: public function __construct(RouteCollectorInterface $routeCollector, ?DispatcherInterface $dispatcher = null)", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 17: protected static string $serverRequestCreatorClass = 'HttpSoft\\ServerRequest\\ServerRequestCreator';", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 67: $routeCollector", "file": "Slim/App.php", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 35: } else {", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 216: $callableResolverProphecy = $this->prophesize(CallableResolverInterface::class);", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 45: public function __construct(", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 59: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 35: protected bool $displayErrorDetails;", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 9: declare(strict_types=1);", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 162: ->willReturn(-1)", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 29: public function __construct(", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 101: return $this->createServerRequest('/')", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 47: ) {", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nLine 1: ", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareSlimCallable.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "라우팅 엔진을 초기화할 때 경로 수집기와 디스패처를 어떻게 연결하고 설정하는지 확인하고 싶어요. 생성자에서 의존성 주입이 어떻게 이루어지는지 설명해 주세요.", "query": "route dispatcher constructor", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lang": "ko", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Psr", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> RuntimeException", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/ErrorMiddlewareTest.php -> Error", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/CallableResolver.php -> Closure", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> function", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockSequenceMiddleware.php -> Psr", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteResolver.php -> Slim", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "라우팅 엔진을 초기화할 때 경로 수집기와 디스패처를 어떻게 연결하고 설정하는지 확인하고 싶어요. 생성자에서 의존성 주입이 어떻게 이루어지는지 설명해 주세요.", "query": "route dispatcher constructor", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lang": "ko", "candidates": [{"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Error/AbstractErrorRenderer.php lines=29-52\nread getErrorTitle for detail", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "getErrorTitle", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=475-498\nread testMiddlewareFunctionNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareFunctionNotFoundThrowException", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MiddlewareTest.php lines=19-42\nread MiddlewareTest for detail", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "MiddlewareTest", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=25-48\nread setUp for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "setUp", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=182-205\nread isSeekable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isSeekable", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorProxyTest.php lines=28-51\nread testGetResponseFactory for detail", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "testGetResponseFactory", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=52-75\nread resolveRoute for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "resolveRoute", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=40-63\nread computeRoutingResults for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "computeRoutingResults", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=163-186\nread testUrlForRouteThatDoesNotExist for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForRouteThatDoesNotExist", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=19-42\nread collectRoutes for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "collectRoutes", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=104-127\nread getAllowedMethods for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getAllowedMethods", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/BodyParsingMiddleware.php lines=189-212\nread disableXmlEntityLoader for detail", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "disableXmlEntityLoader", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=85-108\nread testSetPsr17FactoryProvider for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetPsr17FactoryProvider", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1308-1331\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseNamedArgsStrategy", "line": 1308, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=486-509\nread testClassNotFoundThrowException for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClassNotFoundThrowException", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "__construct", "line": 31, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=153-176\nread testForcedContentTypeWinsOverSubsequentNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForcedContentTypeWinsOverSubsequentNegotiation", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Vérifier pourquoi la méthode statique qui permet de déterminer si le constructeur de requêtes serveur est disponible ne renvoie pas toujours le résultat attendu.", "query": "server request creator", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lang": "fr", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 95: $request->getMethod()", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 27: * of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 33: protected string $description = 'The request method is not supported for the requested resource.';", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 190: {", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 147: {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 102: */", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 47: public static function isServerRequestCreatorAvailable(): bool;", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/MiddlewareDispatcher.php\nLine 212: $instance = new $resolved($this->container);", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 212, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 40: public static function isServerRequestCreatorAvailable(): bool", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 47: if ($psr17Factory::isServerRequestCreatorAvailable()) {", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 14: protected static string $serverRequestCreatorMethod = 'fromGlobals';", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\nLine 15: {", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 24: use ReflectionProperty;", "file": "tests/TestCase.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 105: $serverRequestProphecy = $this->prophesize(ServerRequestInterface::class);", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 84: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 5: *", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 49: RouteCollectorProxyInterface $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 28: }", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 67: if (!static::isServerRequestCreatorAvailable()) {", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 67, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nLine 231: }", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 231, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/CallableResolver.php\nLine 17: use RuntimeException;", "file": "Slim/CallableResolver.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 1: Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Slim", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Exception", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php -> Psr", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Psr", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/InvocationStrategyTest.php -> Slim", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/SmallChunksStream.php -> Psr", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/NyholmPsr17Factory.php -> Slim", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Vérifier pourquoi la méthode statique qui permet de déterminer si le constructeur de requêtes serveur est disponible ne renvoie pas toujours le résultat attendu.", "query": "server request creator", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lang": "fr", "candidates": [{"text": "Next: read tests/AppTest.php lines=58-81\nread setupBeforeClass for detail", "file": "tests/AppTest.php", "symbol": "setupBeforeClass", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=178-201\nread setResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setResponseFactory", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockStream.php lines=232-255\nread read for detail", "file": "tests/Mocks/MockStream.php", "symbol": "read", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Dispatcher.php lines=63-86\nread dispatch for detail", "file": "Slim/Routing/Dispatcher.php", "symbol": "dispatch", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=47-70\nread tearDown for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "tearDown", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=28-51\nread ErrorMiddlewareTest for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "ErrorMiddlewareTest", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=33-56\nread getMockLogger for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "getMockLogger", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=262-285\nread testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testResponseAndStreamFactoryIsBeingInjectedInDecoratedResponseFactory", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=315-338\nread run for detail", "file": "Slim/Routing/Route.php", "symbol": "run", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/PlainTextErrorRenderer.php lines=25-48\nread __invoke for detail", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "__invoke", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=176-199\nread getPattern for detail", "file": "Slim/Routing/Route.php", "symbol": "getPattern", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteGroupInterface.php lines=42-65\nread getPattern for detail", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "getPattern", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=47-70\nread isServerRequestCreatorAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isServerRequestCreatorAvailable", "line": 47, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=32-55\nread getServerRequestCreator for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getServerRequestCreator", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=37-60\nread isResponseFactoryAvailable for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "isResponseFactoryAvailable", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=19-42\nread getFactories for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "getFactories", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=67-90\nread routingResults for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "routingResults", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=22-45\nread getResponseFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getResponseFactory", "line": 22, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=209-232\nread testGettingUnknownParser for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testGettingUnknownParser", "line": 209, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "リクエストハンドラにルーティングがリクエストハンドラストラテジを使用するかどうか検証する", "query": "route request handler strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lang": "ja", "candidates": [{"text": "File: tests/Routing/RouteParserTest.php\nLine 142: $results = $routeParser->urlFor('test', $arguments, $queryParams);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 24: }", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 608: public function testInvokeUsesRequestHandlerStrategyForRequestHandlers()", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 3: declare(strict_types=1);", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nLine 36: }", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 1: createResponse();", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 265: $callback = function (RouteCollector $r) {", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 74: {", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 3: /**", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 94: {", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 1: createServerRequestFromGlobals()", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 177: ->willReturn($routingResults)", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/OutputBufferingMiddleware.php\nLine 27: class OutputBufferingMiddleware implements MiddlewareInterface", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 53: }", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nLine 13: class HttpSoftPsr17Factory extends Psr17Factory", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 23: {", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 112: '\"foo bar\"',", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 51: */", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\nLine 62: $serverRequest = $serverRequest->withoutAttribute(RouteContext::BASE_PATH);", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nLine 24: }", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "リクエストハンドラにルーティングがリクエストハンドラストラテジを使用するかどうか検証する", "query": "route request handler strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockSequenceMiddleware.php\nelsewhere in the tree", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nelsewhere in the tree", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\n@api", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\n@param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nAbstract Slim application error renderer It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "リクエストハンドラにルーティングがリクエストハンドラストラテジを使用するかどうか検証する", "query": "route request handler strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lang": "ja", "candidates": [{"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Psr", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Slim", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Psr", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Prophecy", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> function", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareWithConstructor.php -> Psr", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Prophecy", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/RequestHandlerTest.php -> Slim", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorHandlerInterface.php -> Psr", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> RuntimeException", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}]} {"site": "summarize_next_actions", "repo": "slim", "task": "リクエストハンドラにルーティングがリクエストハンドラストラテジを使用するかどうか検証する", "query": "route request handler strategy", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lang": "ja", "candidates": [{"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=296-319\nread testPlainTextErrorRendererNotDisplaysErrorDetails for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testPlainTextErrorRendererNotDisplaysErrorDetails", "line": 296, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=160-183\nread testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallableWithContainerAndNonAdvancedCallableResolverUnableToResolveCallable", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=25-48\nread RouteCollectorProxy for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "RouteCollectorProxy", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/RoutingMiddleware.php lines=42-65\nread process for detail", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "process", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=131-154\nread testGetMethods for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethods", "line": 131, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=110-133\nread testConstructor for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testConstructor", "line": 110, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/InvocationStrategyInterface.php lines=31-54\nread __invoke for detail", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "__invoke", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=608-631\nread testInvokeUsesRequestHandlerStrategyForRequestHandlers for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testInvokeUsesRequestHandlerStrategyForRequestHandlers", "line": 608, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/CallableResolverTest.php lines=98-121\nread testObjMethodArray for detail", "file": "tests/CallableResolverTest.php", "symbol": "testObjMethodArray", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=21-44\nread HttpException for detail", "file": "Slim/Exception/HttpException.php", "symbol": "HttpException", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=73-96\nread emitStatusLine for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitStatusLine", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=25-48\nread handle for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "handle", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=205-228\nread testJSONErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testJSONErrorRendererRenderHttpException", "line": 205, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=43-66\nread RouteTest for detail", "file": "tests/Routing/RouteTest.php", "symbol": "RouteTest", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=124-147\nread testGetMethodsReturnsArrayWhenConstructedWithString for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetMethodsReturnsArrayWhenConstructedWithString", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=110-133\nread testGetAllowedMethodsReusesLastUriOnly for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "testGetAllowedMethodsReusesLastUriOnly", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=46-69\nread testClosure for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosure", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=193-216\nread setCallableResolver for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setCallableResolver", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=61-84\nread testRespondWithPaddedStreamFilterOutput for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testRespondWithPaddedStreamFilterOutput", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "テストで使うサーバーリクエストのインスタンスを生成している箇所はどこですか?", "query": "createServerRequest PSR7", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lang": "ja", "candidates": [{"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 11: namespace Slim\\Tests\\Middleware;", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 16: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 114: * @runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 509: $uri = '/not-found';", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 509, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 16: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 30: class PSR7ObjectProvider implements PSR7ObjectProviderInterface", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 3: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 107: }", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 36: $xml .= ' ' . $exception->getFile() . \"\\n\";", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\nLine 17: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/CallableTest.php\nLine 13: use Slim\\Tests\\Providers\\PSR7ObjectProvider;", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 13, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/TestCase.php\nLine 90: /**", "file": "tests/TestCase.php", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 1: Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Nyholm", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/AppTest.php -> Psr", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/AppTest.php -> Prophecy", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> Psr", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteContext.php -> RuntimeException", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> function", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProvider.php -> Psr", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Psr", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17Factory.php -> Slim", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteGroup.php -> Slim", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Assets/HeaderStack.php -> function", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "テストで使うサーバーリクエストのインスタンスを生成している箇所はどこですか?", "query": "createServerRequest PSR7", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lang": "ja", "candidates": [{"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteTest.php lines=51-74\nread createRoute for detail", "file": "tests/Routing/RouteTest.php", "symbol": "createRoute", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/FastRouteDispatcherTest.php lines=21-44\nread FastRouteDispatcherTest for detail", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "FastRouteDispatcherTest", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=69-92\nread getServerRequestFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getServerRequestFactory", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=30-53\nread PSR7ObjectProvider for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "PSR7ObjectProvider", "line": 30, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=75-98\nread isSeekable for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "isSeekable", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryProviderInterface.php lines=26-49\nread addFactory for detail", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "addFactory", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php lines=17-40\nread MockCustomRequestHandlerInvocationStrategy for detail", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "MockCustomRequestHandlerInvocationStrategy", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=81-104\nread getArgument for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArgument", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=74-97\nread add for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "add", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=227-250\nread isReadable for detail", "file": "tests/Mocks/MockStream.php", "symbol": "isReadable", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/CallableTest.php lines=15-38\nread CallableTest for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "CallableTest", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1225-1248\nread testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy for detail", "file": "tests/AppTest.php", "symbol": "testInvokeWithMatchingRouteWithNamedParameterRequestResponseStrategy", "line": 1225, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=98-121\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createStream", "line": 98, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=99-122\nread setBasePath for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "setBasePath", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=38-61\nread createServerRequest for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createServerRequest", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpInternalServerErrorException.php lines=14-37\nread HttpInternalServerErrorException for detail", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "HttpInternalServerErrorException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=165-188\nread map for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "map", "line": 165, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "ミドルウェアのディスパッチャを設定するメソッドを探して", "query": "set middleware dispatcher", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lang": "ja", "candidates": [{"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 9: declare(strict_types=1);", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 85: $request = $this->createServerRequest('https://example.com:443/hello/foo', 'POST');", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nLine 18: {", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 17: /**", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 19: public static function getServerRequestCreator(): ServerRequestCreatorInterface", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 172: AppFactory::setMiddlewareDispatcher($middlewareDispatcherProphecy->reveal());", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 172, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 18: protected static string $serverRequestCreatorMethod = 'createFromGlobals';", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 66: $container,", "file": "Slim/App.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/MiddlewareDispatcherInterface.php\nLine 22: * Middleware are organized as a stack. That means middleware", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 34: return new ServerRequestCreator($serverRequestCreator, static::$serverRequestCreatorMethod);", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\nLine 5: *", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseNamedArgs.php\nLine 5: *", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 1: prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 208: public static function setMiddlewareDispatcher(MiddlewareDispatcherInterface $middlewareDispatcher): void", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nLine 11: namespace Slim\\Factory\\Psr17;", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\nLine 66: *", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockSequenceMiddleware.php\nLine 11: namespace Slim\\Tests\\Mocks;", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 42: $route = $this->routeCollector->getNamedRoute($routeName);", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 33: ServerRequestInterface $request,", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 131: $this->add($routingMiddleware);", "file": "Slim/App.php", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "ミドルウェアのディスパッチャを設定するメソッドを探して", "query": "set middleware dispatcher", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lang": "ja", "candidates": [{"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\n@api", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\n@api", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/AppTest.php\n@param string $method @dataProvider upperCaseRequestMethodsProvider()", "file": "tests/AppTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\n@api", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomException.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\n@api", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_imports", "repo": "slim", "task": "ミドルウェアのディスパッチャを設定するメソッドを探して", "query": "set middleware dispatcher", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lang": "ja", "candidates": [{"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Logger.php -> Stringable", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/InvocationStrategyInterface.php -> Psr", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php -> Slim", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/ErrorRendererInterface.php -> Throwable", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> Laminas", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RoutingResults.php -> Slim", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/AppFactoryTest.php -> GuzzleHttp", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Slim", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Logger.php -> Psr", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "ミドルウェアのディスパッチャを設定するメソッドを探して", "query": "set middleware dispatcher", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lang": "ja", "candidates": [{"text": "Next: read Slim/Factory/AppFactory.php lines=28-51\nread AppFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "AppFactory", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=108-131\nread tell for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "tell", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutInterface.php lines=13-36\nread MockMiddlewareWithoutInterface for detail", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "MockMiddlewareWithoutInterface", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockSequenceMiddleware.php lines=18-41\nread MockSequenceMiddleware for detail", "file": "tests/Mocks/MockSequenceMiddleware.php", "symbol": "MockSequenceMiddleware", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=159-182\nread attemptResponseFactoryDecoration for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "attemptResponseFactoryDecoration", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=279-302\nread testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testResolveThrowsExceptionWhenResolvableDoesNotImplementMiddlewareInterface", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=77-100\nread createFromContainer for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "createFromContainer", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=64-87\nread getName for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getName", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Error/AbstractErrorRendererTest.php lines=244-267\nread testXMLErrorRendererRenderHttpException for detail", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "testXMLErrorRendererRenderHttpException", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponse.php lines=28-51\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "__invoke", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=76-99\nread resolveMiddleware for detail", "file": "Slim/CallableResolver.php", "symbol": "resolveMiddleware", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=86-109\nread testFunctionName for detail", "file": "tests/CallableResolverTest.php", "symbol": "testFunctionName", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=66-89\nread renderHtmlBody for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "renderHtmlBody", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=35-58\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=146-169\nread forceContentType for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "forceContentType", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=53-76\nread create for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "create", "line": 53, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=65-88\nread getSize for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getSize", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=22-45\nread RequestResponseNamedArgs for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "RequestResponseNamedArgs", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=208-231\nread setMiddlewareDispatcher for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setMiddlewareDispatcher", "line": 208, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=67-90\nread getMethod for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "getMethod", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=45-68\nread setPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setPattern", "line": 45, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "这个定义路由规则的代理对象里,是怎么获取容器和响应工厂的?", "query": "route proxy interface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lang": "zh", "candidates": [{"text": "File: tests/AppTest.php\nLine 35: use Slim\\Interfaces\\RouteCollectorProxyInterface;", "file": "tests/AppTest.php", "symbol": "", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\nLine 106: * @param int $statusCode", "file": "tests/TestCase.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 16: use Slim\\Interfaces\\RouteCollectorProxyInterface;", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 17: use Slim\\Interfaces\\RouteCollectorProxyInterface;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 18: use Slim\\Interfaces\\RouteCollectorProxyInterface;", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 30: /**", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/DispatcherTest.php\nLine 158: $this->assertSame(['file' => 'Foo Bar'], $results->getRouteArguments());", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nLine 135: 'invalid-xml' => [", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\nLine 16: /**", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 28: use Slim\\Interfaces\\RouteCollectorProxyInterface;", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 62: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockRequestHandler.php\nLine 28: */", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 20: use Slim\\Interfaces\\RouteCollectorProxyInterface;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 39: $this->assertSame('4', $response->getHeaderLine('Content-Length'));", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 7: */", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\nLine 46: throw new RuntimeException(get_called_class() . ' could not instantiate a decorated server request.');", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nLine 31: $middlewareDispatcher = $this->createMiddlewareDispatcher(", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 118: Throwable $exception,", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 21: interface RouteCollectorProxyInterface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 52: 'type' => get_class($exception),", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 129: public function testRemoveNamedRouteWithARouteThatDoesNotExist()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 86: * @return array", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 165: $this->expectException(RuntimeException::class);", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "这个定义路由规则的代理对象里,是怎么获取容器和响应工厂的?", "query": "route proxy interface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lang": "zh", "candidates": [{"text": "File: Slim/Middleware/RoutingMiddleware.php\n@throws HttpNotFoundException @throws HttpMethodNotAllowedException @throws RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\n@template TContainerInterface of (ContainerInterface|null) @template-implements RouteCollectorProxyInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryProviderInterface.php\n@api", "file": "Slim/Interfaces/Psr17FactoryProviderInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteContext.php\n@api", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nDefault Slim application XML Error Renderer", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nDefault Slim application HTML Error Renderer", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\n@param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\n@api", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "这个定义路由规则的代理对象里,是怎么获取容器和响应工厂的?", "query": "route proxy interface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lang": "zh", "candidates": [{"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Slim", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> InvalidArgumentException", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpUnauthorizedExceptionTest.php -> Slim", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/Route.php -> Slim", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Psr", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteParserTest.php -> Psr", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Exception/HttpExceptionTest.php -> Slim", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Routing/Route.php -> Psr", "file": "Slim/Routing/Route.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollectorProxy.php -> Psr", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "这个定义路由规则的代理对象里,是怎么获取容器和响应工厂的?", "query": "route proxy interface", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lang": "zh", "candidates": [{"text": "Next: read tests/MiddlewareDispatcherTest.php lines=68-91\nread testDeferredResolvedCallable for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testDeferredResolvedCallable", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=104-127\nread setArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setArguments", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=37-60\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getBasePath", "line": 37, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=108-131\nread write for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "write", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=133-156\nread patch for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "patch", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=25-48\nread getCallableResolver for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getCallableResolver", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=21-44\nread RouteCollectorProxyInterface for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "RouteCollectorProxyInterface", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpTooManyRequestsException.php lines=14-37\nread HttpTooManyRequestsException for detail", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "HttpTooManyRequestsException", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=123-146\nread testCallingWithMixedKnownAndUnknownParametersAndVariadic for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithMixedKnownAndUnknownParametersAndVariadic", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=23-46\nread getResponseFactory for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getResponseFactory", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=176-199\nread testFullUrlFor for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testFullUrlFor", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Exception/HttpUnauthorizedExceptionTest.php lines=18-41\nread testHttpUnauthorizedException for detail", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "testHttpUnauthorizedException", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/MiddlewareDispatcherTest.php lines=507-530\nread testCanBeReExecutedRecursivelyDuringDispatch for detail", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "testCanBeReExecutedRecursivelyDuringDispatch", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=32-55\nread getRouteCollector for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getRouteCollector", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=61-84\nread testClosureContainer for detail", "file": "tests/CallableResolverTest.php", "symbol": "testClosureContainer", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=30-53\nread getContainer for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "getContainer", "line": 30, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=382-405\nread routePatternsProvider for detail", "file": "tests/AppTest.php", "symbol": "routePatternsProvider", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/ResponseEmitter.php lines=58-81\nread emitHeaders for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitHeaders", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteContext.php lines=55-78\nread __construct for detail", "file": "Slim/Routing/RouteContext.php", "symbol": "__construct", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=22-45\nread getRouteParser for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getRouteParser", "line": 22, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Wo werden die verfügbaren Implementierungen für die Erstellung von PSR-17 Objekten verwaltet?", "query": "PSR17 factory provider", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lang": "de", "candidates": [{"text": "File: tests/ResponseEmitterTest.php\nLine 40: public function setUp(): void", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nLine 1: expectOutputString(str_repeat('.', $body->getSize()));", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 23: use Slim\\Factory\\Psr17\\Psr17FactoryProvider;", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 16: {", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteRunner.php\nLine 35: * @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nLine 108: break;", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 25: public function __invoke(Throwable $exception, bool $displayErrorDetails): string", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 19: use Slim\\Factory\\Psr17\\Psr17FactoryProvider;", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\nLine 191: }", "file": "Slim/CallableResolver.php", "symbol": "", "line": 191, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 17: class Psr17FactoryProvider implements Psr17FactoryProviderInterface", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/RouteTest.php\nLine 493: $request = $this->createServerRequest('/');", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 493, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 21: $this->expectException(RuntimeException::class);", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 196: }", "file": "Slim/Routing/Route.php", "symbol": "", "line": 196, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 168: * Note: This method is a bare-bones implementation designed specifically for", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 21: }", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Wo werden die verfügbaren Implementierungen für die Erstellung von PSR-17 Objekten verwaltet?", "query": "PSR17 factory provider", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lang": "de", "candidates": [{"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17Factory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/CallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/CallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorRendererInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/ErrorRendererInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\n@param string $httpMethod @param string $uri @return array{int, string|null, array}", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpNotImplementedException.php\n@api", "file": "Slim/Exception/HttpNotImplementedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpUnauthorizedExceptionTest.php\nelsewhere in the tree", "file": "tests/Exception/HttpUnauthorizedExceptionTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/TestCase.php\n@return ServerRequestFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/HttpSoftPsr17Factory.php\nsibling in Slim/Factory/Psr17", "file": "Slim/Factory/Psr17/HttpSoftPsr17Factory.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Wo werden die verfügbaren Implementierungen für die Erstellung von PSR-17 Objekten verwaltet?", "query": "PSR17 factory provider", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lang": "de", "candidates": [{"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> RuntimeException", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> function", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Factory/Psr17/Psr17FactoryProvider.php -> Slim", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> Psr", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/ResponseEmitter.php -> function", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/ServerRequestCreator.php -> Closure", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/RoutingMiddleware.php -> Psr", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteContextTest.php -> Psr", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Wo werden die verfügbaren Implementierungen für die Erstellung von PSR-17 Objekten verwaltet?", "query": "PSR17 factory provider", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lang": "de", "candidates": [{"text": "Next: read tests/AppTest.php lines=658-681\nread testAddMiddlewareUsingDeferredResolution for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareUsingDeferredResolution", "line": 658, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=93-116\nread group for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "group", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=15-38\nread FastRouteDispatcher for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "FastRouteDispatcher", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=17-40\nread Psr17FactoryProvider for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "Psr17FactoryProvider", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Factory/AppFactoryTest.php lines=97-120\nread testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface for detail", "file": "tests/Factory/AppFactoryTest.php", "symbol": "testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNotInstanceOfResponseInterface", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Assets/HeaderStack.php lines=83-106\nread has for detail", "file": "tests/Assets/HeaderStack.php", "symbol": "has", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=52-75\nread getCallable for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getCallable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=49-72\nread addFactory for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "addFactory", "line": 49, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=41-64\nread setFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "setFactories", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockRequestHandler.php lines=18-41\nread MockRequestHandler for detail", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "MockRequestHandler", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=129-152\nread testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testGetErrorHandlerWillReturnDefaultErrorHandlerForUnhandledExceptions", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=63-86\nread seedMiddlewareStack for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "seedMiddlewareStack", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ServerRequestCreatorInterface.php lines=15-38\nread ServerRequestCreatorInterface for detail", "file": "Slim/Interfaces/ServerRequestCreatorInterface.php", "symbol": "ServerRequestCreatorInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=14-37\nread [*.{yml,yaml}]\n for detail", "file": ".editorconfig", "symbol": "[*.{yml,yaml}]\n", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=70-93\nread getSize for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "getSize", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/App.php lines=93-116\nread getMiddlewareDispatcher for detail", "file": "Slim/App.php", "symbol": "getMiddlewareDispatcher", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/Psr17FactoryProvider.php lines=33-56\nread getFactories for detail", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "getFactories", "line": 33, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/ResponseEmitter.php lines=87-110\nread emitBody for detail", "file": "Slim/ResponseEmitter.php", "symbol": "emitBody", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=1769-1792\nread testHandleReturnsEmptyResponseBodyWithHeadRequestMethod for detail", "file": "tests/AppTest.php", "symbol": "testHandleReturnsEmptyResponseBodyWithHeadRequestMethod", "line": 1769, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/MiddlewareDispatcherInterface.php lines=37-60\nread addMiddleware for detail", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "addMiddleware", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/ErrorHandlerInterface.php lines=17-40\nread ErrorHandlerInterface for detail", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "ErrorHandlerInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=30-53\nread TestCase for detail", "file": "tests/TestCase.php", "symbol": "TestCase", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "busca o método que retorna os parâmetros da rota", "query": "route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nLine 24: bool $logErrorDetails", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpException.php\nLine 9: declare(strict_types=1);", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 27: protected string $defaultErrorDescription = 'A website error has occurred. Sorry for the temporary inconvenience.';", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\nLine 25: */", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 50: public function testCallingWithKnownArguments()", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpSpecializedException.php\nLine 25: if ($message !== null) {", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/SmallChunksStream.php\nLine 24: public const SIZE = 40;", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 28: }", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 300: ->shouldBeCalledOnce();", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 300, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/ServerRequestCreatorFactoryTest.php\nLine 33: {", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nLine 9: declare(strict_types=1);", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nLine 13: use Psr\\Http\\Message\\ResponseInterface;", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nLine 3: /**", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/Strategies/RequestResponseNamedArgsTest.php\nLine 14: use Psr\\Http\\Message\\ServerRequestInterface;", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\nLine 88: public function getArguments(): array;", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nLine 17: protected static string $responseFactoryClass = 'Slim\\Psr7\\Factory\\ResponseFactory';", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 5: namespace Slim\\Interfaces;", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpForbiddenException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpForbiddenException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 40: return $this->allowedMethods;", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 246: public function getArguments(): array", "file": "Slim/Routing/Route.php", "symbol": "", "line": 246, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 32: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockStream.php\nLine 117: }", "file": "tests/Mocks/MockStream.php", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\nLine 256: $this->assertSame($route->getArguments(), ['foo' => 'FOO', 'bar' => 'BAR']);", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 256, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 21: * JSON, XML, Plain Text or HTML", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "busca o método que retorna os parâmetros da rota", "query": "route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lang": "pt", "candidates": [{"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpNotFoundException.php\nelsewhere in the tree", "file": "Slim/Exception/HttpNotFoundException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteInterface.php\n@api", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\n@runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/InvocationStrategyTest.php\n@param ServerRequestInterface $request The request object. @param ResponseInterface $response The response object. @param array $routeArguments The route's placehold", "file": "tests/Mocks/InvocationStrategyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nTest if we can force the content type of all error handler responses.", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\n@return string[]", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/ErrorHandlerInterface.php\nsibling in Slim/Interfaces", "file": "Slim/Interfaces/ErrorHandlerInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\n@api", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "busca o método que retorna os parâmetros da rota", "query": "route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lang": "pt", "candidates": [{"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteInterface.php -> Psr", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockMiddlewareSlimCallable.php -> Psr", "file": "tests/Mocks/MockMiddlewareSlimCallable.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpServerRequestCreator.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Psr", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> Psr", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/OutputBufferingMiddleware.php -> InvalidArgumentException", "file": "Slim/Middleware/OutputBufferingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/MiddlewareDispatcherTest.php -> Prophecy", "file": "tests/MiddlewareDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "busca o método que retorna os parâmetros da rota", "query": "route arguments", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lang": "pt", "candidates": [{"text": "Next: read tests/CallableResolverTest.php lines=256-279\nread testRouteResolutionToAPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteResolutionToAPsrRequestHandlerClass", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=88-111\nread getArguments for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getArguments", "line": 88, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/ResponseEmitterTest.php lines=198-221\nread testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotDrainNonSeekableResponseWithContent", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=37-60\nread getServerRequestFactory for detail", "file": "tests/TestCase.php", "symbol": "getServerRequestFactory", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Factory/ServerRequestCreatorFactoryTest.php lines=123-146\nread testSetServerRequestCreatorWithDecorators for detail", "file": "tests/Factory/ServerRequestCreatorFactoryTest.php", "symbol": "testSetServerRequestCreatorWithDecorators", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=28-51\nread setInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "setInvocationStrategy", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Exception/HttpException.php lines=29-52\nread __construct for detail", "file": "Slim/Exception/HttpException.php", "symbol": "__construct", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithConstructor.php lines=20-43\nread MockMiddlewareWithConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "MockMiddlewareWithConstructor", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=71-94\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=23-46\nread getInvocationStrategy for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getInvocationStrategy", "line": 23, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=284-307\nread testRouteObjPsrRequestHandlerClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testRouteObjPsrRequestHandlerClass", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=723-746\nread testAddErrorMiddleware for detail", "file": "tests/AppTest.php", "symbol": "testAddErrorMiddleware", "line": 723, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=100-123\nread testGetAllowedMethods for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testGetAllowedMethods", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=91-114\nread options for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "options", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=27-50\nread getDefaultInvocationStrategy for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getDefaultInvocationStrategy", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=40-63\nread getPattern for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getPattern", "line": 40, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=18-41\nread RouteInterface for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "RouteInterface", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=1068-1091\nread testAddMiddlewareAsStringNotImplementingInterfaceThrowsException for detail", "file": "tests/AppTest.php", "symbol": "testAddMiddlewareAsStringNotImplementingInterfaceThrowsException", "line": 1068, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=36-59\nread MockStream for detail", "file": "tests/Mocks/MockStream.php", "symbol": "MockStream", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=17-40\nread Psr17FactoryInterface for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "Psr17FactoryInterface", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteInterface.php lines=35-58\nread getMethods for detail", "file": "Slim/Interfaces/RouteInterface.php", "symbol": "getMethods", "line": 35, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/CallableResolverTest.php lines=230-253\nread testResolutionToAnInvokableClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testResolutionToAnInvokableClass", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/DispatcherTest.php lines=46-69\nread testRouteCacheFileCanBeDispatched for detail", "file": "tests/Routing/DispatcherTest.php", "symbol": "testRouteCacheFileCanBeDispatched", "line": 46, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "我想看下在测试路由中间件时,是怎么构造一个包含预设路径的路由收集器的。能不能帮我找找这个初始化路由集合的辅助方法?", "query": "RouteCollector helper", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lang": "zh", "candidates": [{"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 28: ];", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/ServerRequestCreatorFactory.php\nLine 77: }", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryProviderTest.php\nLine 37: Psr17FactoryProvider::addFactory('Factory 2');", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 77: $routeCollector = $app->getRouteCollector();", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 77, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 44: $app->getRouteCollector()->getRouteParser()", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 44, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 230: $routeResolverProphecy->reveal()", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\nLine 15: use RuntimeException;", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 33: protected function getRouteCollector()", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: Slim/ResponseEmitter.php\nLine 110: }", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\nLine 129: $this->getRouteCollector()->getRouteParser()", "file": "Slim/App.php", "symbol": "", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/AbstractErrorRenderer.php\nLine 32: return $exception->getTitle();", "file": "Slim/Error/AbstractErrorRenderer.php", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 218: $r->addRoute('GET', '/user/{name}/{id:[0-9]+}', 'handler0');", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 218, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 27: * @param object|string $serverRequestCreator", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 32: public function getRouteCollector(): RouteCollectorInterface;", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 32, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nLine 11: namespace Slim\\Tests\\Factory\\Psr17;", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nLine 21: * This file exists to allow overriding the various output-related functions", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 85: /**", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 83: public function getRouteCollector(): RouteCollectorInterface", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 83, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 164: $this->expectExceptionMessage('Static route \"/user/nikic\" is shadowed by previously defined variable route' .", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php\nLine 19: }", "file": "Slim/Factory/Psr17/LaminasDiactorosPsr17Factory.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Handlers/ErrorHandlerTest.php\nLine 25: use Slim\\Exception\\HttpNotFoundException;", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 41: {", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\nLine 57: $expectedUri", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nLine 94: $routeCollectorProxy->getRouteCollector()", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 94, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "slim", "task": "我想看下在测试路由中间件时,是怎么构造一个包含预设路径的路由收集器的。能不能帮我找找这个初始化路由集合的辅助方法?", "query": "RouteCollector helper", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lang": "zh", "candidates": [{"text": "File: Slim/Logger.php\n@param mixed $level @param string|Stringable $message @param array $context @throws InvalidArgumentException", "file": "Slim/Logger.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteResolver.php\nRouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method", "file": "Slim/Routing/RouteResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/InvocationStrategyInterface.php\nDefines a contract for invoking a route callable.", "file": "Slim/Interfaces/InvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/PlainTextErrorRenderer.php\nDefault Slim application Plain Text Error Renderer", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/ContentLengthMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Factory/Psr17/SlimPsr17Factory.php\nelsewhere in the tree", "file": "Slim/Factory/Psr17/SlimPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\ndefines getRouteCollector", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Middleware/BodyParsingMiddlewareTest.php\nCreate a request handler that simply assigns the $request that it receives to a public property of the returned response, so that we can then inspect that request.", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/MethodOverrideMiddlewareTest.php\nsibling in tests/Middleware", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\n{@inheritdoc}", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutInterface.php\nelsewhere in the tree", "file": "tests/Mocks/MockMiddlewareWithoutInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "我想看下在测试路由中间件时,是怎么构造一个包含预设路径的路由收集器的。能不能帮我找找这个初始化路由集合的辅助方法?", "query": "RouteCollector helper", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lang": "zh", "candidates": [{"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Psr", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Prophecy", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Psr", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> function", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Psr", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/RouteGroupInterface.php -> Slim", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> Psr", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> Psr", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> Psr", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteCollector.php -> RuntimeException", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Psr", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/DispatcherTest.php -> ReflectionMethod", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockRequestHandler.php -> Slim", "file": "tests/Mocks/MockRequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/CallableResolverTest.php -> Psr", "file": "tests/CallableResolverTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/AppFactory.php -> RuntimeException", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Routing/RouteRunner.php -> Slim", "file": "Slim/Routing/RouteRunner.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Slim", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Middleware/MethodOverrideMiddleware.php -> Psr", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "我想看下在测试路由中间件时,是怎么构造一个包含预设路径的路由收集器的。能不能帮我找找这个初始化路由集合的辅助方法?", "query": "RouteCollector helper", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lang": "zh", "candidates": [{"text": "Next: read tests/Routing/RouteTest.php lines=219-242\nread testGetGroups for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testGetGroups", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ContentLengthMiddleware.php lines=21-44\nread process for detail", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "process", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockStream.php lines=129-152\nread detach for detail", "file": "tests/Mocks/MockStream.php", "symbol": "detach", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=198-221\nread setRouteCollector for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setRouteCollector", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=42-65\nread testRouteIsStoredOnSuccessfulMatch for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsStoredOnSuccessfulMatch", "line": 42, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=78-101\nread testRouteIsNotStoredOnMethodNotAllowed for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnMethodNotAllowed", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/AppFactory.php lines=183-206\nread setStreamFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setStreamFactory", "line": 183, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=103-126\nread tell for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "tell", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=38-61\nread testDetermineRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testDetermineRenderer", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=83-106\nread handleException for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "handleException", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=30-53\nread relativeUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "relativeUrlFor", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorProxyInterface.php lines=51-74\nread get for detail", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "get", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=152-175\nread testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testPerformRoutingThrowsExceptionOnInvalidRoutingResultsRouteStatus", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Mocks/MockAction.php lines=21-44\nread __call for detail", "file": "tests/Mocks/MockAction.php", "symbol": "__call", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=208-231\nread testAnyRoute for detail", "file": "tests/AppTest.php", "symbol": "testAnyRoute", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpSpecializedException.php lines=23-46\nread __construct for detail", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "__construct", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Middleware/ErrorMiddleware.php lines=207-230\nread addErrorHandler for detail", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "addErrorHandler", "line": 207, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=33-56\nread getRouteCollector for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "getRouteCollector", "line": 33, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=115-138\nread testRouteIsNotStoredOnNotFound for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "testRouteIsNotStoredOnNotFound", "line": 115, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Factory/ServerRequestCreatorFactory.php lines=79-102\nread setServerRequestCreator for detail", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "setServerRequestCreator", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/RoutingMiddlewareTest.php lines=31-54\nread RoutingMiddlewareTest for detail", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "RoutingMiddlewareTest", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Middleware/MethodOverrideMiddlewareTest.php lines=66-89\nread testHeaderPreferred for detail", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "testHeaderPreferred", "line": 66, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "경로를 식별자로 찾아서 해결하는 로직이 잘 작동하는지 검증하는 테스트 코드 어디 있어?", "query": "resolve route test", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lang": "ko", "candidates": [{"text": "File: Slim/Interfaces/ServerRequestCreatorInterface.php\nLine 1: prophesize(ResponseFactoryInterface::class);", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nLine 22: callable $callable,", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/GuzzlePsr17Factory.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Factory/Psr17/GuzzlePsr17Factory.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\nLine 87: *", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteContext.php\nLine 42: /** @var RoutingResults $routingResults */", "file": "Slim/Routing/RouteContext.php", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpUnauthorizedException.php\nLine 13: /** @api */", "file": "Slim/Exception/HttpUnauthorizedException.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\nLine 125: libxml_clear_errors();", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\nLine 18: use function is_array;", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 36: use function explode;", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\nLine 147: public function testUrlForWithMissingSegmentData()", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RoutingResults.php\nLine 29: * The status is one of the constants shown above", "file": "Slim/Routing/RoutingResults.php", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 47: $route = $request->getAttribute(RouteContext::ROUTE);", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/AppFactory.php\nLine 68: $middlewareDispatcher ?? static::$middlewareDispatcher", "file": "Slim/Factory/AppFactory.php", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 51: {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Logger.php\nLine 19: class Logger extends AbstractLogger", "file": "Slim/Logger.php", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "경로를 식별자로 찾아서 해결하는 로직이 잘 작동하는지 검증하는 테스트 코드 어디 있어?", "query": "resolve route test", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lang": "ko", "candidates": [{"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MiddlewareTest.php\n{@inheritdoc}", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php\nelsewhere in the tree", "file": "Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithoutConstructor.php\n@param ServerRequestInterface $request @param RequestHandlerInterface $handler @return ResponseInterface", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/CallableResolver.php\n@template TContainerInterface of (ContainerInterface|null)", "file": "Slim/CallableResolver.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\n@dataProvider provideImplementations @param string $psr17factory @param string $expectedResponseFactoryClass", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/SmallChunksStream.php\nelsewhere in the tree", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/Strategies/RequestHandler.php\nPSR-15 RequestHandler invocation strategy", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpTooManyRequestsException.php\n@api", "file": "Slim/Exception/HttpTooManyRequestsException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorProxyTest.php\nsibling in tests/Routing", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "경로를 식별자로 찾아서 해결하는 로직이 잘 작동하는지 검증하는 테스트 코드 어디 있어?", "query": "resolve route test", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lang": "ko", "candidates": [{"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> Slim", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> RuntimeException", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpMethodNotAllowedException.php -> function", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Psr", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Handlers/Strategies/RequestResponse.php -> Slim", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Psr", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> Slim", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Error", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Slim", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): Slim/Interfaces/MiddlewareDispatcherInterface.php -> Psr", "file": "Slim/Interfaces/MiddlewareDispatcherInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/CallableTest.php -> Slim", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/MiddlewareDispatcher.php -> Closure", "file": "Slim/MiddlewareDispatcher.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> function", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> Psr", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/Psr17/SlimHttpPsr17Factory.php -> Psr", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Psr", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php -> ReflectionClass", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteResolverTest.php -> Prophecy", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Handlers/ErrorHandlerTest.php -> Prophecy", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/PlainTextErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/PlainTextErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/FastRouteDispatcherTest.php -> FastRoute", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/ResponseEmitterTest.php -> ReflectionClass", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "경로를 식별자로 찾아서 해결하는 로직이 잘 작동하는지 검증하는 테스트 코드 어디 있어?", "query": "resolve route test", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lang": "ko", "candidates": [{"text": "Next: read Slim/Exception/HttpException.php lines=39-62\nread getRequest for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getRequest", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=275-298\nread add for detail", "file": "Slim/Routing/Route.php", "symbol": "add", "line": 275, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=334-357\nread testRegisterErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testRegisterErrorRenderer", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=118-141\nread testCreatesRouteCollectorWhenNullWithInjectedContainer for detail", "file": "tests/AppTest.php", "symbol": "testCreatesRouteCollectorWhenNullWithInjectedContainer", "line": 118, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/Strategies/RequestResponseNamedArgs.php lines=30-53\nread __invoke for detail", "file": "Slim/Handlers/Strategies/RequestResponseNamedArgs.php", "symbol": "__invoke", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=141-164\nread delete for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "delete", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RoutingResults.php lines=16-39\nread RoutingResults for detail", "file": "Slim/Routing/RoutingResults.php", "symbol": "RoutingResults", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=182-205\nread testForceContentTypeNullRestoresNegotiation for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testForceContentTypeNullRestoresNegotiation", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=26-49\nread computeRoutingResultsDataProvider for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "computeRoutingResultsDataProvider", "line": 26, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProviderInterface.php lines=61-84\nread createStream for detail", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "createStream", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=127-150\nread determineResponseFactory for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "determineResponseFactory", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteParserInterface.php lines=52-75\nread fullUrlFor for detail", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "fullUrlFor", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/TestCase.php lines=130-153\nread setAccessible for detail", "file": "tests/TestCase.php", "symbol": "setAccessible", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=72-95\nread testResolveRoute for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testResolveRoute", "line": 72, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Factory/Psr17/Psr17Factory.php lines=35-58\nread getResponseFactory for detail", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "getResponseFactory", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=24-47\nread RouteResolverTest for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "RouteResolverTest", "line": 24, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteResolverTest.php lines=43-66\nread testComputeRoutingResults for detail", "file": "tests/Routing/RouteResolverTest.php", "symbol": "testComputeRoutingResults", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Interfaces/Psr17FactoryInterface.php lines=27-50\nread getStreamFactory for detail", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "getStreamFactory", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=85-108\nread isWritable for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "isWritable", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/RouteCollectorInterface.php lines=50-73\nread getBasePath for detail", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "getBasePath", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=115-138\nread getDefaultInvocationStrategy for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getDefaultInvocationStrategy", "line": 115, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "find the method that retrieves a list of permitted http verbs for a specific path", "query": "get allowed methods", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lang": "en", "candidates": [{"text": "File: Slim/Routing/Dispatcher.php\nLine 73: public function getAllowedMethods(string $uri): array", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 73, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 18: use Psr\\Http\\Server\\RequestHandlerInterface;", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 20: class MockMiddlewareWithConstructor implements MiddlewareInterface", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/RoutingMiddleware.php\nLine 80: $exception->setAllowedMethods($routingResults->getAllowedMethods());", "file": "Slim/Middleware/RoutingMiddleware.php", "symbol": "", "line": 80, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nLine 304: $allowedMethods = implode(', ', $this->exception->getAllowedMethods());", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 304, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockAction.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/XmlErrorRenderer.php\nLine 30: if ($displayErrorDetails) {", "file": "Slim/Error/Renderers/XmlErrorRenderer.php", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/HtmlErrorRenderer.php\nLine 4: * Slim Framework (https://slimframework.com)", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\nLine 50: {", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteParserInterface.php\nLine 25: * @param array> $queryParams Optional query string parameters", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteParser.php\nLine 126: }", "file": "Slim/Routing/RouteParser.php", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nLine 7: */", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Dispatcher.php\nLine 48: /** @var FastRouteDispatcher $dispatcher */", "file": "Slim/Routing/Dispatcher.php", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nLine 18: use Slim\\Http\\ServerRequest;", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpMethodNotAllowedException.php\nLine 38: public function getAllowedMethods(): array", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "", "line": 38, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\nLine 6: * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nLine 17: use Slim\\Middleware\\OutputBufferingMiddleware;", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nLine 27: public function getAllowedMethods(string $uri): array;", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/TestCase.php\nLine 46: protected function getResponseFactory(): ResponseFactoryInterface", "file": "tests/TestCase.php", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/FastRouteDispatcher.php\nLine 54: if (!empty($this->getAllowedMethods($uri))) {", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "", "line": 54, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Providers/PSR7ObjectProviderInterface.php\nLine 14: use Psr\\Http\\Message\\ResponseInterface;", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 102: $request = $this->createServerRequest('/foo/baz/');", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\nLine 105: $results = $dispatcher->getAllowedMethods($uri);", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 105, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Routing/RouteCollector.php\nLine 209: return $route;", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 209, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "slim", "task": "find the method that retrieves a list of permitted http verbs for a specific path", "query": "get allowed methods", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lang": "en", "candidates": [{"text": "File: Slim/Interfaces/RouteResolverInterface.php\n@param string $uri Should be ServerRequestInterface::getUri()->getPath()", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php\nelsewhere in the tree", "file": "tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/Psr17FactoryTest.php\nelsewhere in the tree", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpPsr17Factory.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Factory/Psr17/SlimHttpPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteRunnerTest.php\nelsewhere in the tree", "file": "tests/Routing/RouteRunnerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nClass PSR7ObjectProvider @package Slim\\Tests\\Providers", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/DispatcherInterface.php\nGet routing results for a given request method and uri", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Mocks/MockAction.php\nelsewhere in the tree", "file": "tests/Mocks/MockAction.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteCollectorInterface.php\n@api", "file": "Slim/Interfaces/RouteCollectorInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Exception/HttpSpecializedException.php\n@param ServerRequestInterface $request @param string|null $message @param Throwable|null $previous", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteGroupInterface.php\n@api", "file": "Slim/Interfaces/RouteGroupInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/ResponseEmitterTest.php\nelsewhere in the tree", "file": "tests/ResponseEmitterTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/Psr17FactoryInterface.php\n@throws RuntimeException when the factory could not be instantiated", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Interfaces/RouteCollectorProxyInterface.php\n@api @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/InvokableTest.php\nelsewhere in the tree", "file": "tests/Mocks/InvokableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpInternalServerErrorException.php\n@api", "file": "Slim/Exception/HttpInternalServerErrorException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/SlimHttpServerRequestCreator.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/AdvancedCallableResolverInterface.php\nResolve $toResolve into a callable @param callable|array{class-string, string}|string $toResolve", "file": "Slim/Interfaces/AdvancedCallableResolverInterface.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Error/Renderers/JsonErrorRenderer.php\nDefault Slim application JSON Error Renderer", "file": "Slim/Error/Renderers/JsonErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/RequestHandlerTest.php\nelsewhere in the tree", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\n@param ContainerInterface|null $container", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/App.php\n@api @template TContainerInterface of (ContainerInterface|null) @template-extends RouteCollectorProxy", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "find the method that retrieves a list of permitted http verbs for a specific path", "query": "get allowed methods", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> Exception", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> RuntimeException", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Slim", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Slim", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> Psr", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Slim", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Exception", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/ContentLengthMiddlewareTest.php -> Psr", "file": "tests/Middleware/ContentLengthMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> InvalidArgumentException", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MiddlewareTest.php -> Psr", "file": "tests/Mocks/MiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> Slim", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteTest.php -> Closure", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Mocks/MockCustomException.php -> Exception", "file": "tests/Mocks/MockCustomException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> RuntimeException", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/MethodOverrideMiddlewareTest.php -> Psr", "file": "tests/Middleware/MethodOverrideMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/Psr17FactoryInterface.php -> Psr", "file": "Slim/Interfaces/Psr17FactoryInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/OutputBufferingMiddlewareTest.php -> InvalidArgumentException", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/BodyParsingMiddlewareTest.php -> Psr", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteParserInterface.php -> Psr", "file": "Slim/Interfaces/RouteParserInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpException.php -> RuntimeException", "file": "Slim/Exception/HttpException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/DispatcherInterface.php -> Slim", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): Slim/Factory/ServerRequestCreatorFactory.php -> RuntimeException", "file": "Slim/Factory/ServerRequestCreatorFactory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "find the method that retrieves a list of permitted http verbs for a specific path", "query": "get allowed methods", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lang": "en", "candidates": [{"text": "Next: read Slim/Exception/HttpMethodNotAllowedException.php lines=46-69\nread setAllowedMethods for detail", "file": "Slim/Exception/HttpMethodNotAllowedException.php", "symbol": "setAllowedMethods", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/MockMiddlewareWithoutConstructor.php lines=18-41\nread MockMiddlewareWithoutConstructor for detail", "file": "tests/Mocks/MockMiddlewareWithoutConstructor.php", "symbol": "MockMiddlewareWithoutConstructor", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/ResponseEmitterTest.php lines=184-207\nread testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse for detail", "file": "tests/ResponseEmitterTest.php", "symbol": "testIsResponseEmptyDoesNotReadAllDataFromNonEmptySeekableResponse", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Exception/HttpException.php lines=55-78\nread getDescription for detail", "file": "Slim/Exception/HttpException.php", "symbol": "getDescription", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=143-166\nread getCallableResolver for detail", "file": "Slim/Routing/Route.php", "symbol": "getCallableResolver", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SmallChunksStream.php lines=60-83\nread getMetadata for detail", "file": "tests/Mocks/SmallChunksStream.php", "symbol": "getMetadata", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Handlers/ErrorHandler.php lines=233-256\nread registerErrorRenderer for detail", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "registerErrorRenderer", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=20-43\nread RouteGroup for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "RouteGroup", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=280-303\nread handle for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "handle", "line": 280, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/Psr17/SlimHttpServerRequestCreator.php lines=52-75\nread isServerRequestDecoratorAvailable for detail", "file": "Slim/Factory/Psr17/SlimHttpServerRequestCreator.php", "symbol": "isServerRequestDecoratorAvailable", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteParserTest.php lines=125-148\nread testUrlForWithBasePath for detail", "file": "tests/Routing/RouteParserTest.php", "symbol": "testUrlForWithBasePath", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/CallableResolver.php lines=187-210\nread prepareToResolve for detail", "file": "Slim/CallableResolver.php", "symbol": "prepareToResolve", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=20-43\nread dispatch for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "dispatch", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=89-112\nread getResponseFactory for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "getResponseFactory", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/AppTest.php lines=577-600\nread testRouteGroupPattern for detail", "file": "tests/AppTest.php", "symbol": "testRouteGroupPattern", "line": 577, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=161-184\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 161, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/FastRouteDispatcher.php lines=33-56\nread dispatch for detail", "file": "Slim/Routing/FastRouteDispatcher.php", "symbol": "dispatch", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/BodyParsingMiddlewareTest.php lines=179-202\nread testParsingFailsWhenAnInvalidTypeIsReturned for detail", "file": "tests/Middleware/BodyParsingMiddlewareTest.php", "symbol": "testParsingFailsWhenAnInvalidTypeIsReturned", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteParser.php lines=31-54\nread __construct for detail", "file": "Slim/Routing/RouteParser.php", "symbol": "__construct", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=219-242\nread lookupRoute for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "lookupRoute", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/SlowPokeStream.php lines=98-121\nread rewind for detail", "file": "tests/Mocks/SlowPokeStream.php", "symbol": "rewind", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=15-38\nread DispatcherInterface for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "DispatcherInterface", "line": 15, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/Strategies/RequestResponseNamedArgsTest.php lines=50-73\nread testCallingWithKnownArguments for detail", "file": "tests/Handlers/Strategies/RequestResponseNamedArgsTest.php", "symbol": "testCallingWithKnownArguments", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "slim", "task": "Check that the newly created RouteCollector instance returns the exact InvocationStrategyInterface instance passed to its constructor when getDefaultInvocationStrategy() is called.", "query": "RouteCollector default strategy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lang": "en", "candidates": [{"text": "File: tests/AppTest.php\nLine 1160: $app = new App($responseFactoryProphecy->reveal());", "file": "tests/AppTest.php", "symbol": "", "line": 1160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/ServerRequestCreator.php\nLine 26: /**", "file": "Slim/Factory/Psr17/ServerRequestCreator.php", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/MockMiddlewareWithConstructor.php\nLine 7: */", "file": "tests/Mocks/MockMiddlewareWithConstructor.php", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/AppFactoryTest.php\nLine 241: );", "file": "tests/Factory/AppFactoryTest.php", "symbol": "", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 1: createServerRequest('/');", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 457, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 82: ->getResponseFactory()", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Exception/HttpExceptionTest.php\nLine 18: class HttpExceptionTest extends TestCase", "file": "tests/Exception/HttpExceptionTest.php", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ErrorMiddleware.php\nLine 54: * @var ErrorHandlerInterface|callable|string|null", "file": "Slim/Middleware/ErrorMiddleware.php", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 3: /**", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Providers/PSR7ObjectProvider.php\nLine 25: /**", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Interfaces/RouteResolverInterface.php\nLine 13: */", "file": "Slim/Interfaces/RouteResolverInterface.php", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\nLine 47: }", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/Route.php\nLine 181: /**", "file": "Slim/Routing/Route.php", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\nLine 66: }", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/RoutingMiddlewareTest.php\nLine 70: $this->createMock(RequestHandlerInterface::class),", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Middleware/ErrorMiddlewareTest.php\nLine 318: }", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/ContentLengthMiddleware.php\nLine 31: return $response;", "file": "Slim/Middleware/ContentLengthMiddleware.php", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpBadRequestException.php\nLine 11: namespace Slim\\Exception;", "file": "Slim/Exception/HttpBadRequestException.php", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollectorProxy.php\nLine 50: $this->container = $container;", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nLine 92: public function testGetRouteInvocationStrategy()", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "slim", "task": "Check that the newly created RouteCollector instance returns the exact InvocationStrategyInterface instance passed to its constructor when getDefaultInvocationStrategy() is called.", "query": "RouteCollector default strategy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lang": "en", "candidates": [{"text": "File: Slim/Handlers/Strategies/RequestResponseArgs.php\nRoute callback strategy with route parameters as individual arguments. @api", "file": "Slim/Handlers/Strategies/RequestResponseArgs.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/ResponseEmitter.php\nSend the response the client", "file": "Slim/ResponseEmitter.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php\nWe need to reset the static property of SlimHttpServerRequestCreator back to its original value Otherwise other tests will fail", "file": "tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteGroup.php\n@param callable|string $callable @param RouteCollectorProxyInterface<\\Psr\\Container\\ContainerInterface|null> $routeCollectorProxy", "file": "Slim/Routing/RouteGroup.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteResolverTest.php\n@dataProvider computeRoutingResultsDataProvider @param string $method The request method @param string $uri The request uri @param string $expectedUri The expected uri after transformati", "file": "tests/Routing/RouteResolverTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php\nelsewhere in the tree", "file": "tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteTest.php\n@param string|array $methods @param string $pattern @param Closure|string|null $callable @return Route", "file": "tests/Routing/RouteTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Middleware/MethodOverrideMiddleware.php\n@api", "file": "Slim/Middleware/MethodOverrideMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Handlers/Strategies/RequestResponse.php\nDefault route callback strategy with route parameters as an array of arguments.", "file": "Slim/Handlers/Strategies/RequestResponse.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Mocks/CallableTest.php\nelsewhere in the tree", "file": "tests/Mocks/CallableTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/NyholmPsr17Factory.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/NyholmPsr17Factory.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Routing/RouteCollector.php\nRouteCollector is used to collect routes and route groups as well as generate paths and URLs relative to its environment @template TContainerInterface of (ContainerInterface|null)", "file": "Slim/Routing/RouteCollector.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/FastRouteDispatcherTest.php\n@dataProvider provideFoundDispatchCases", "file": "tests/Routing/FastRouteDispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: Slim/Handlers/ErrorHandler.php\nDefault Slim application error handler It outputs the error message and diagnostic information in one of the following formats: JSON, XML, Plain Text or HTML based on the Accept header. @api", "file": "Slim/Handlers/ErrorHandler.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Factory/Psr17/Psr17FactoryProvider.php\n{@inheritdoc}", "file": "Slim/Factory/Psr17/Psr17FactoryProvider.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Assets/HeaderStack.php\nStore output artifacts", "file": "tests/Assets/HeaderStack.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteParserTest.php\n@param $withBasePath @param $pattern @param $arguments @param $queryParams @param $expectedResult", "file": "tests/Routing/RouteParserTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Routing/RouteContextTest.php\n@dataProvider requiredRouteContextRequestAttributes @param string $attribute", "file": "tests/Routing/RouteContextTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Error/AbstractErrorRendererTest.php\nelsewhere in the tree", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Exception/HttpGoneException.php\n@api", "file": "Slim/Exception/HttpGoneException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: Slim/Middleware/BodyParsingMiddleware.php\n@api", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: tests/Routing/RouteCollectorTest.php\nTest cache file exists but is not writable", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: tests/Routing/DispatcherTest.php\nTest cached routes file is created & that it holds our routes.", "file": "tests/Routing/DispatcherTest.php", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: tests/Middleware/OutputBufferingMiddlewareTest.php\nelsewhere in the tree", "file": "tests/Middleware/OutputBufferingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_imports", "repo": "slim", "task": "Check that the newly created RouteCollector instance returns the exact InvocationStrategyInterface instance passed to its constructor when getDefaultInvocationStrategy() is called.", "query": "RouteCollector default strategy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lang": "en", "candidates": [{"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> Prophecy", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Slim", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Providers/PSR7ObjectProviderInterface.php -> Psr", "file": "tests/Providers/PSR7ObjectProviderInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Slim", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Psr", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> ReflectionClass", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> RuntimeException", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Psr", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorProxyTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorProxyTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Middleware/RoutingMiddlewareTest.php -> FastRoute", "file": "tests/Middleware/RoutingMiddlewareTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Psr", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryProviderTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryProviderTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Exception/HttpSpecializedException.php -> Throwable", "file": "Slim/Exception/HttpSpecializedException.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Slim", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> function", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> Prophecy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "Import (outbound): tests/Routing/RouteCollectorTest.php -> RuntimeException", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "", "line": 0, "lexical": 3.0, "target": false, "label": 3}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> Slim", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Factory/Psr17/Psr17FactoryTest.php -> RuntimeException", "file": "tests/Factory/Psr17/Psr17FactoryTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/App.php -> Psr", "file": "Slim/App.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Error/Renderers/HtmlErrorRenderer.php -> Throwable", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Interfaces/RouteCollectorProxyInterface.php -> Psr", "file": "Slim/Interfaces/RouteCollectorProxyInterface.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): Slim/Middleware/BodyParsingMiddleware.php -> Psr", "file": "Slim/Middleware/BodyParsingMiddleware.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "Import (outbound): tests/Error/AbstractErrorRendererTest.php -> Exception", "file": "tests/Error/AbstractErrorRendererTest.php", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "slim", "task": "Check that the newly created RouteCollector instance returns the exact InvocationStrategyInterface instance passed to its constructor when getDefaultInvocationStrategy() is called.", "query": "RouteCollector default strategy", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lang": "en", "candidates": [{"text": "Next: read tests/Mocks/CallableTest.php lines=21-44\nread __construct for detail", "file": "tests/Mocks/CallableTest.php", "symbol": "__construct", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Interfaces/DispatcherInterface.php lines=27-50\nread getAllowedMethods for detail", "file": "Slim/Interfaces/DispatcherInterface.php", "symbol": "getAllowedMethods", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=69-92\nread testMapPrependsGroupPattern for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMapPrependsGroupPattern", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteTest.php lines=740-763\nread testChangingCallableWithNoContainer for detail", "file": "tests/Routing/RouteTest.php", "symbol": "testChangingCallableWithNoContainer", "line": 740, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/MiddlewareDispatcher.php lines=121-144\nread __construct for detail", "file": "Slim/MiddlewareDispatcher.php", "symbol": "__construct", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteResolver.php lines=25-48\nread RouteResolver for detail", "file": "Slim/Routing/RouteResolver.php", "symbol": "RouteResolver", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteCollector.php lines=129-152\nread getCacheFile for detail", "file": "Slim/Routing/RouteCollector.php", "symbol": "getCacheFile", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Mocks/RequestHandlerTest.php lines=20-43\nread RequestHandlerTest for detail", "file": "tests/Mocks/RequestHandlerTest.php", "symbol": "RequestHandlerTest", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=56-79\nread testMap for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testMap", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Handlers/ErrorHandlerTest.php lines=479-502\nread testLogErrorRenderer for detail", "file": "tests/Handlers/ErrorHandlerTest.php", "symbol": "testLogErrorRenderer", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Error/Renderers/HtmlErrorRenderer.php lines=29-52\nread __invoke for detail", "file": "Slim/Error/Renderers/HtmlErrorRenderer.php", "symbol": "__invoke", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/RouteGroup.php lines=60-83\nread collectRoutes for detail", "file": "Slim/Routing/RouteGroup.php", "symbol": "collectRoutes", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=29-52\nread RouteCollectorTest for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "RouteCollectorTest", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read Slim/Handlers/Strategies/RequestHandler.php lines=20-43\nread RequestHandler for detail", "file": "Slim/Handlers/Strategies/RequestHandler.php", "symbol": "RequestHandler", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/CallableResolverTest.php lines=387-410\nread testMiddlewareObjMiddlewareClass for detail", "file": "tests/CallableResolverTest.php", "symbol": "testMiddlewareObjMiddlewareClass", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Factory/AppFactory.php lines=173-196\nread setPsr17FactoryProvider for detail", "file": "Slim/Factory/AppFactory.php", "symbol": "setPsr17FactoryProvider", "line": 173, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read Slim/Routing/Route.php lines=120-143\nread __construct for detail", "file": "Slim/Routing/Route.php", "symbol": "__construct", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Providers/PSR7ObjectProvider.php lines=79-102\nread createResponse for detail", "file": "tests/Providers/PSR7ObjectProvider.php", "symbol": "createResponse", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Middleware/ErrorMiddlewareTest.php lines=35-58\nread testSetErrorHandler for detail", "file": "tests/Middleware/ErrorMiddlewareTest.php", "symbol": "testSetErrorHandler", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=36-59\nread tearDown for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "tearDown", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/AppTest.php lines=174-197\nread testGetPostPutPatchDeleteOptionsMethods for detail", "file": "tests/AppTest.php", "symbol": "testGetPostPutPatchDeleteOptionsMethods", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=43-66\nread testGetSetBasePath for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetSetBasePath", "line": 43, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read tests/Routing/RouteCollectorTest.php lines=92-115\nread testGetRouteInvocationStrategy for detail", "file": "tests/Routing/RouteCollectorTest.php", "symbol": "testGetRouteInvocationStrategy", "line": 92, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read Slim/Routing/RouteCollectorProxy.php lines=75-98\nread getContainer for detail", "file": "Slim/Routing/RouteCollectorProxy.php", "symbol": "getContainer", "line": 75, "lexical": 0.0, "target": false, "label": 0}]}