Skip to content

Commit 9c4f23c

Browse files
author
Martin de Keijzer
committed
Move application package code to src folder
1 parent 1f4412e commit 9c4f23c

File tree

115 files changed

+7
-11
lines changed

Some content is hidden

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

115 files changed

+7
-11
lines changed

composer.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
"doctrine/doctrine-migrations-bundle": "Keep track of updated entities in your database"
4242
},
4343
"autoload": {
44-
"psr-4": { "Martin1982\\LiveBroadcastBundle\\": "" }
44+
"psr-4": { "Martin1982\\LiveBroadcastBundle\\": "src/" }
45+
},
46+
"autoload-dev": {
47+
"psr-4": { "Martin1982\\LiveBroadcastBundle\\Tests\\": "tests/" }
4548
},
4649
"config": {
4750
"allow-plugins": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

phpunit.xml.dist

+2-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage>
44
<include>
5-
<directory>./</directory>
5+
<directory>./src</directory>
66
</include>
7-
<exclude>
8-
<directory>./Resources</directory>
9-
<directory>./Tests</directory>
10-
<directory>./vendor</directory>
11-
<directory>./Admin</directory>
12-
</exclude>
137
</coverage>
148
<php>
159
<ini name="xdebug.max_nesting_level" value="200"/>
1610
</php>
1711
<testsuites>
1812
<testsuite name="LiveBroadcastBundle">
19-
<directory>./Tests</directory>
13+
<directory>./tests</directory>
2014
</testsuite>
2115
</testsuites>
2216
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

DependencyInjection/LiveBroadcastExtension.php src/DependencyInjection/LiveBroadcastExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function load(array $configs, ContainerBuilder $container): void
2727
$configuration = new Configuration();
2828
$config = $this->processConfiguration($configuration, $configs);
2929

30-
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
30+
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../../config'));
3131
$loader->load('services.yml');
3232
$loader->load('services-input.yml');
3333
$loader->load('services-output.yml');
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Tests/DependencyInjection/LiveBroadcastExtensionTest.php tests/DependencyInjection/LiveBroadcastExtensionTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public function testConfigLoad(): void
2525
{
2626
$container = new ContainerBuilder();
2727

28-
2928
$config = [
3029
'live_broadcast' => [
3130
'facebook' => [
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)