-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update namespace * Using namespace Neo4j\Neo4jBundle
- Loading branch information
Showing
20 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
declare(strict_types=1); | ||
|
||
namespace Neo4jCommunity\Neo4jBundle\DependencyInjection; | ||
namespace Neo4j\Neo4jBundle\DependencyInjection; | ||
|
||
use GraphAware\Neo4j\Client\Connection\Connection; | ||
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; | ||
|
@@ -17,7 +17,7 @@ | |
/** | ||
* @author Tobias Nyholm <[email protected]> | ||
*/ | ||
class CommunityNeo4jExtension extends Extension | ||
class Neo4jExtension extends Extension | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
|
@@ -181,6 +181,6 @@ public function getConfiguration(array $config, ContainerBuilder $container): Co | |
|
||
public function getAlias(): string | ||
{ | ||
return 'community_neo4j'; | ||
return 'neo4j'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
|
||
declare(strict_types=1); | ||
|
||
namespace Neo4jCommunity\Neo4jBundle\Factory; | ||
namespace Neo4j\Neo4jBundle\Factory; | ||
|
||
use GraphAware\Neo4j\Client\ClientBuilder; | ||
use GraphAware\Neo4j\Client\ClientInterface; | ||
use GraphAware\Neo4j\Client\Event\FailureEvent; | ||
use GraphAware\Neo4j\Client\Event\PostRunEvent; | ||
use GraphAware\Neo4j\Client\Event\PreRunEvent; | ||
use GraphAware\Neo4j\Client\Neo4jClientEvents; | ||
use Neo4jCommunity\Neo4jBundle\Collector\DebugLogger; | ||
use Neo4j\Neo4jBundle\Collector\DebugLogger; | ||
|
||
/** | ||
* @author Tobias Nyholm <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace Neo4j\Neo4jBundle; | ||
|
||
use Neo4j\Neo4jBundle\DependencyInjection\Neo4jExtension; | ||
use Symfony\Component\HttpKernel\Bundle\Bundle; | ||
|
||
/** | ||
* @author Tobias Nyholm <[email protected]> | ||
*/ | ||
class Neo4jBundle extends Bundle | ||
{ | ||
public function getContainerExtension() | ||
{ | ||
return new Neo4jExtension(); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<?php | ||
|
||
namespace Neo4jCommunity\Neo4jBundle\Tests\Unit\Collector; | ||
namespace Neo4j\Neo4jBundle\Tests\Unit\Collector; | ||
|
||
use GraphAware\Bolt\Result\Result; | ||
use GraphAware\Common\Cypher\Statement; | ||
use GraphAware\Neo4j\Client\Exception\Neo4jException; | ||
use Neo4jCommunity\Neo4jBundle\Collector\DebugLogger; | ||
use Neo4j\Neo4jBundle\Collector\DebugLogger; | ||
|
||
/** | ||
* @author Tobias Nyholm <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?php | ||
|
||
namespace Neo4jCommunity\Neo4jBundle\Tests\Unit\Collector\Twig; | ||
namespace Neo4j\Neo4jBundle\Tests\Unit\Collector\Twig; | ||
|
||
use GraphAware\Neo4j\Client\Formatter\Type\Node; | ||
use Neo4jCommunity\Neo4jBundle\Collector\Twig\Neo4jResultExtension; | ||
use Neo4j\Neo4jBundle\Collector\Twig\Neo4jResultExtension; | ||
|
||
/** | ||
* @author Tobias Nyholm <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?php | ||
|
||
namespace Neo4jCommunity\Neo4jBundle\Tests\Unit\DependencyInjection; | ||
namespace Neo4j\Neo4jBundle\Tests\Unit\DependencyInjection; | ||
|
||
use Neo4jCommunity\Neo4jBundle\DependencyInjection\CommunityNeo4jExtension; | ||
use Neo4j\Neo4jBundle\DependencyInjection\Neo4jExtension; | ||
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase; | ||
|
||
/** | ||
* @author Tobias Nyholm <[email protected]> | ||
*/ | ||
class CommunityNeo4jExtensionTest extends AbstractExtensionTestCase | ||
class Neo4jExtensionTest extends AbstractExtensionTestCase | ||
{ | ||
protected function getMinimalConfiguration() | ||
{ | ||
|
@@ -22,7 +22,7 @@ public function testDataCollectorLoaded() | |
$this->setParameter('kernel.debug', true); | ||
$this->load(); | ||
|
||
$this->assertContainerBuilderHasService('neo4j.collector.debug_collector', 'Neo4jCommunity\Neo4jBundle\Collector\Neo4jDataCollector'); | ||
$this->assertContainerBuilderHasService('neo4j.collector.debug_collector', 'Neo4j\Neo4jBundle\Collector\Neo4jDataCollector'); | ||
} | ||
|
||
public function testDataCollectorNotLoadedInNonDebug() | ||
|
@@ -44,7 +44,7 @@ public function testDataCollectorNotLoadedWhenDisabled() | |
protected function getContainerExtensions() | ||
{ | ||
return [ | ||
new CommunityNeo4jExtension(), | ||
new Neo4jExtension(), | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters