Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Use the new bundle structure
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and dbu committed Dec 12, 2016
1 parent 6cc0b8e commit ae3220b
Show file tree
Hide file tree
Showing 107 changed files with 10 additions and 7 deletions.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@
},
"autoload":{
"psr-4":{
"Symfony\\Cmf\\Bundle\\BlockBundle\\": ""
"Symfony\\Cmf\\Bundle\\BlockBundle\\": "src/"
}
},
"autoload-dev":{
"psr-4":{
"Symfony\\Cmf\\Bundle\\BlockBundle\\Tests\\": "tests/"
}
},
"extra": {
Expand Down
8 changes: 3 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,21 @@
>
<testsuites>
<testsuite name="Symfony CmfBlockBundle Test Suite">
<directory>./Tests/</directory>
<directory>./tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory>./</directory>
<directory>src/</directory>
<exclude>
<directory>Resources/</directory>
<directory>Tests/</directory>
<directory>vendor/</directory>
</exclude>
</whitelist>
</filter>

<php>
<server name="KERNEL_DIR" value="Tests/Resources/app" />
<server name="KERNEL_DIR" value="tests/Resources/app" />
</php>

</phpunit>
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.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public function testSchema()
'config2.xml',
));

$this->assertSchemaAcceptsXml($xmlFiles, __DIR__.'/../../../Resources/config/schema/block-1.0.xsd');
$this->assertSchemaAcceptsXml($xmlFiles, __DIR__.'/../../../src/Resources/config/schema/block-1.0.xsd');
}
}

0 comments on commit ae3220b

Please sign in to comment.