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 <?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
{ {

View file

@ -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": {

View file

@ -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>

View file

@ -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;

View file

@ -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 }

View file

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

View file

@ -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;

View file

@ -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;