Move Talks bundle
This commit is contained in:
parent
ac6f42095a
commit
bfccea0312
|
@ -1,12 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use FormatTalksBundle\SculpinFormatTalksBundle;
|
use App\Talks\SculpinTalksBundle;
|
||||||
use Opdavies\Sculpin\Bundle\ContentGeneratorBundle\SculpinContentGeneratorBundle;
|
use Opdavies\Sculpin\Bundle\ContentGeneratorBundle\SculpinContentGeneratorBundle;
|
||||||
use Opdavies\Sculpin\Bundle\GistEmbedBundle\SculpinGistEmbedBundle;
|
use Opdavies\Sculpin\Bundle\GistEmbedBundle\SculpinGistEmbedBundle;
|
||||||
use Opdavies\Sculpin\Bundle\TwigMarkdownBundle\SculpinTwigMarkdownBundle;
|
use Opdavies\Sculpin\Bundle\TwigMarkdownBundle\SculpinTwigMarkdownBundle;
|
||||||
use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;
|
use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;
|
||||||
use TalksBundle\SculpinTalksBundle;
|
|
||||||
use WebsiteBundle\SculpinWebsiteBundle;
|
|
||||||
|
|
||||||
class SculpinKernel extends AbstractKernel
|
class SculpinKernel extends AbstractKernel
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,12 +38,12 @@
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"TalksBundle\\": "src/TalksBundle"
|
"App\\Talks\\": "src/Talks/src"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Tests\\": "tests"
|
"App\\Tests\\Talks\\": "src/Talks/tests"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
convertWarningsToExceptions="true"
|
convertWarningsToExceptions="true"
|
||||||
stopOnFailure="true">
|
stopOnFailure="true">
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Bundles">
|
<testsuite name="Talks">
|
||||||
<directory suffix="Test.php">tests</directory>
|
<directory suffix="Test.php">src/Talks/tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace TalksBundle\DependencyInjection;
|
namespace App\Talks\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
|
@ -1,5 +1,5 @@
|
||||||
services:
|
services:
|
||||||
twig.format_talks:
|
twig.format_talks:
|
||||||
class: 'TalksBundle\TwigExtension\TalksExtension'
|
class: 'App\Talks\TwigExtension\TalksExtension'
|
||||||
tags:
|
tags:
|
||||||
- { name: twig.extension }
|
- { name: twig.extension }
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace TalksBundle;
|
namespace App\Talks;
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace TalksBundle\TwigExtension;
|
namespace App\Talks\TwigExtension;
|
||||||
|
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
use Sculpin\Contrib\ProxySourceCollection\ProxySourceCollection;
|
use Sculpin\Contrib\ProxySourceCollection\ProxySourceCollection;
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Tests\FormatTalksBundle\TwigExtension;
|
namespace App\Tests\Talks\TwigExtension;
|
||||||
|
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use TalksBundle\TwigExtension\TalksExtension;
|
use App\Talks\TwigExtension\TalksExtension;
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
Reference in a new issue