Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit bec8f07

Browse files
committed
Made the bundle PHPCR only
1 parent dc1ccaa commit bec8f07

File tree

103 files changed

+281
-283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+281
-283
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Symfony CMF Sonata Admin Bundle
1+
# Symfony CMF Sonata Phpcr Admin Bundle
22

33
[![Build Status](https://travis-ci.org/symfony-cmf/sonata-admin-integration-bundle.svg?branch=master)](https://travis-ci.org/symfony-cmf/sonata-admin-integration-bundle)
44
[![StyleCI](https://styleci.io/repos/60730554/shield?style=plastic)](https://styleci.io/repos/60730554)

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "symfony-cmf/sonata-admin-integration-bundle",
2+
"name": "symfony-cmf/sonata-phpcr-admin-integration-bundle",
33
"type": "symfony-bundle",
44
"description": "Symfony CMF sonata admin implementations",
55
"keywords": ["Symfony CMF", "Sonata", "Admin"],
@@ -43,8 +43,8 @@
4343
},
4444
"autoload": {
4545
"psr-4": {
46-
"Symfony\\Cmf\\Bundle\\SonataAdminIntegrationBundle\\": "src/",
47-
"Symfony\\Cmf\\Bundle\\SonataAdminIntegrationBundle\\Tests\\": "tests/"
46+
"Symfony\\Cmf\\Bundle\\SonataPhpcrAdminIntegrationBundle\\": "src/",
47+
"Symfony\\Cmf\\Bundle\\SonataPhpcrAdminIntegrationBundle\\Tests\\": "tests/"
4848
}
4949
},
5050
"extra": {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
>
66

77
<testsuites>
8-
<testsuite name="Cmf SonataAdminIntegrationBundle Test Suite">
8+
<testsuite name="Cmf SonataPhpcrAdminIntegrationBundle Test Suite">
99
<directory>./tests/Unit</directory>
1010
</testsuite>
1111

src/Admin/AbstractAdmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin;
3+
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin;
44

55
use Doctrine\Bundle\PHPCRBundle\Form\DataTransformer\DocumentToPathTransformer;
66
use Sonata\DoctrinePHPCRAdminBundle\Admin\Admin;

src/Admin/Block/AbstractBlockAdmin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block;
12+
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block;
1313

1414
use Sonata\AdminBundle\Form\FormMapper;
15-
use Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\AbstractAdmin;
15+
use Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\AbstractAdmin;
1616
use Symfony\Cmf\Bundle\TreeBrowserBundle\Form\Type\TreeSelectType;
1717
use Symfony\Component\Form\Extension\Core\Type\TextType;
1818

@@ -24,7 +24,7 @@ abstract class AbstractBlockAdmin extends AbstractAdmin
2424
/**
2525
* @var string
2626
*/
27-
protected $translationDomain = 'CmfSonataAdminIntegrationBundle';
27+
protected $translationDomain = 'CmfSonataPhpcrAdminIntegrationBundle';
2828

2929
/**
3030
* {@inheritdoc}

src/Admin/Block/ActionBlockAdmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block;
12+
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block;
1313

1414
use Sonata\AdminBundle\Form\FormMapper;
1515
use Sonata\AdminBundle\Datagrid\DatagridMapper;

src/Admin/Block/ContainerBlockAdmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block;
12+
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block;
1313

1414
use Sonata\AdminBundle\Datagrid\DatagridMapper;
1515
use Sonata\AdminBundle\Datagrid\ListMapper;

src/Admin/Block/Extension/BlockCacheExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block\Extension;
12+
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block\Extension;
1313

1414
use Sonata\AdminBundle\Admin\AbstractAdminExtension;
1515
use Sonata\AdminBundle\Form\FormMapper;
@@ -44,11 +44,11 @@ public function configureFormFields(FormMapper $formMapper)
4444

4545
$formMapper
4646
->tab($this->formTab, 'form.tab_general' === $this->formtab
47-
? ['translation_domain' => 'CmfSonataAdminIntegrationBundle']
47+
? ['translation_domain' => 'CmfSonataPhpcrAdminIntegrationBundle']
4848
: []
4949
)
5050
->with($this->formGroup, 'form.group_metadata' === $this->formGroup
51-
? ['translation_domain' => 'CmfSonataAdminIntegrationBundle']
51+
? ['translation_domain' => 'CmfSonataPhpcrAdminIntegrationBundle']
5252
: []
5353
)
5454
->add('ttl', TextType::class)

src/Admin/Block/Imagine/ImagineBlockAdmin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block\Imagine;
12+
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block\Imagine;
1313

14-
use Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block\AbstractBlockAdmin;
14+
use Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block\AbstractBlockAdmin;
1515
use Sonata\AdminBundle\Form\FormMapper;
1616
use Sonata\AdminBundle\Datagrid\ListMapper;
1717
use Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ImagineBlock;

src/Admin/Block/Imagine/SlideshowBlockAdmin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block\Imagine;
12+
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block\Imagine;
1313

1414
use Sonata\AdminBundle\Form\FormMapper;
1515
use Sonata\AdminBundle\Datagrid\ListMapper;
16-
use Symfony\Cmf\Bundle\SonataAdminIntegrationBundle\Admin\Block\AbstractBlockAdmin;
16+
use Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Admin\Block\AbstractBlockAdmin;
1717
use Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SlideshowBlock;
1818
use Symfony\Component\Form\Extension\Core\Type\TextType;
1919
use Sonata\CoreBundle\Form\Type\CollectionType;

0 commit comments

Comments
 (0)