def METHOD_NAME(config: Any, items: list[Item]) -> None:
    manager = managers[-1]
    # Register the founds tests on the manager
    manager.items = items
    # Show the extra information if requested
    if config.getoption("list_dependency_names"):
        verbose = config.getoption("verbose") > 1
        manager.print_name_map(verbose)
    if config.getoption("list_processed_dependencies"):
        color = config.getoption("color")
        manager.print_processed_dependencies(color)
    # Reorder the items so that tests run after their dependencies
    items[:] = manager.sorted_items