Move Talks bundle

This commit is contained in:
Oliver Davies 2019-04-14 08:09:24 +01:00
parent ac6f42095a
commit bfccea0312
9 changed files with 11 additions and 13 deletions

View file

@ -1,12 +1,10 @@
<?php
use FormatTalksBundle\SculpinFormatTalksBundle;
use App\Talks\SculpinTalksBundle;
use Opdavies\Sculpin\Bundle\ContentGeneratorBundle\SculpinContentGeneratorBundle;
use Opdavies\Sculpin\Bundle\GistEmbedBundle\SculpinGistEmbedBundle;
use Opdavies\Sculpin\Bundle\TwigMarkdownBundle\SculpinTwigMarkdownBundle;
use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;
use TalksBundle\SculpinTalksBundle;
use WebsiteBundle\SculpinWebsiteBundle;
class SculpinKernel extends AbstractKernel
{

View file

@ -38,12 +38,12 @@
},
"autoload": {
"psr-4": {
"TalksBundle\\": "src/TalksBundle"
"App\\Talks\\": "src/Talks/src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
"App\\Tests\\Talks\\": "src/Talks/tests"
}
},
"extra": {

View file

@ -6,8 +6,8 @@
convertWarningsToExceptions="true"
stopOnFailure="true">
<testsuites>
<testsuite name="Bundles">
<directory suffix="Test.php">tests</directory>
<testsuite name="Talks">
<directory suffix="Test.php">src/Talks/tests</directory>
</testsuite>
</testsuites>
</phpunit>

View file

@ -1,6 +1,6 @@
<?php
namespace TalksBundle\DependencyInjection;
namespace App\Talks\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

View file

@ -1,5 +1,5 @@
services:
twig.format_talks:
class: 'TalksBundle\TwigExtension\TalksExtension'
class: 'App\Talks\TwigExtension\TalksExtension'
tags:
- { name: twig.extension }

View file

@ -1,6 +1,6 @@
<?php
namespace TalksBundle;
namespace App\Talks;
use Symfony\Component\HttpKernel\Bundle\Bundle;

View file

@ -1,6 +1,6 @@
<?php
namespace TalksBundle\TwigExtension;
namespace App\Talks\TwigExtension;
use Illuminate\Support\Collection;
use Sculpin\Contrib\ProxySourceCollection\ProxySourceCollection;

View file

@ -1,9 +1,9 @@
<?php
namespace Tests\FormatTalksBundle\TwigExtension;
namespace App\Tests\Talks\TwigExtension;
use DateTime;
use TalksBundle\TwigExtension\TalksExtension;
use App\Talks\TwigExtension\TalksExtension;
use Illuminate\Support\Collection;
use PHPUnit\Framework\TestCase;