sonata-project / SonataClassificationBundle

Compare 92cea37 ... +0 ... 2a9582f

Showing 1 of 3 files from the diff.

@@ -74,14 +74,14 @@
Loading
74 74
75 75
    public function treeAction(Request $request): Response
76 76
    {
77 -
        $categoryManager = $this->get('sonata.classification.manager.category');
77 +
        $categoryManager = $this->container->get('sonata.classification.manager.category');
78 78
        \assert($categoryManager instanceof CategoryManagerInterface);
79 79
80 80
        $currentContext = null;
81 81
82 82
        $contextId = $request->get('context');
83 83
        if (null !== $contextId) {
84 -
            $contextManager = $this->get('sonata.classification.manager.context');
84 +
            $contextManager = $this->container->get('sonata.classification.manager.context');
85 85
            \assert($contextManager instanceof ContextManagerInterface);
86 86
87 87
            $currentContext = $contextManager->find($contextId);

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Complexity Coverage
src/Admin/CategoryAdmin.php ø 0.00%
src/Admin/CollectionAdmin.php ø 0.00%
src/Admin/ContextAdmin.php ø 0.00%
src/Admin/ContextAwareAdmin.php ø 32.35%
src/Admin/Filter/CategoryFilter.php ø 59.52%
src/Admin/Filter/CollectionFilter.php ø 52.94%
src/Admin/TagAdmin.php ø 0.00%
src/Block/Service/AbstractCategoriesBlockService.php ø 44.29%
src/Block/Service/AbstractClassificationBlockService.php ø 20.00%
src/Block/Service/AbstractCollectionsBlockService.php ø 43.06%
src/Block/Service/AbstractTagsBlockService.php ø 43.06%
src/Command/FixContextCommand.php ø 0.00%
src/Controller/CategoryAdminController.php ø 94.34%
src/DependencyInjection/Configuration.php ø 100.00%
src/DependencyInjection/SonataClassificationExtension.php ø 61.64%
src/Document/BaseContext.php ø 0.00%
src/Document/BaseTag.php ø 0.00%
src/Document/CategoryManager.php ø 0.00%
src/Document/CollectionManager.php ø 0.00%
src/Document/TagManager.php ø 0.00%
src/Entity/BaseContext.php ø 0.00%
src/Entity/BaseTag.php ø 0.00%
src/Entity/CategoryManager.php ø 68.93%
src/Entity/CollectionManager.php ø 100.00%
src/Entity/TagManager.php ø 100.00%
src/Form/ChoiceList/CategoryChoiceLoader.php ø 80.00%
src/Form/Type/CategorySelectorType.php ø 24.32%
src/Model/Category.php ø 89.41%
src/Model/Collection.php ø 100.00%
src/Model/Context.php ø 100.00%
src/Model/Tag.php ø 100.00%
src/Resources/config/admin.php ø 100.00%
src/Resources/config/command.php ø 100.00%
src/Resources/config/controllers.php ø 100.00%
src/Resources/config/form.php ø 100.00%
src/Resources/config/orm.php ø 100.00%
Project Totals (36 files) 348 55.37%
Loading