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

Commit 89d3b26

Browse files
committed
Use new file structure
/fixes #126
1 parent c2a4ace commit 89d3b26

34 files changed

+11
-10
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ The TreeBrowserBundle provides tree navigation for the PHP Content Repository
1717

1818
## Requirements
1919

20-
* Symfony 2.3+
21-
* FOSJsRoutingBundle
22-
* jQuery (SonatajQueryBundle strongly suggested)
20+
* Symfony 2.8+
2321
* See also the `require` section of [composer.json](composer.json)
2422

2523

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@
2222
"prefer-stable": true,
2323
"autoload": {
2424
"psr-4": {
25-
"Symfony\\Cmf\\Bundle\\TreeBrowserBundle\\": ""
25+
"Symfony\\Cmf\\Bundle\\TreeBrowserBundle\\": "src"
26+
}
27+
},
28+
"autoload-dev": {
29+
"psr-4": {
30+
"Symfony\\Cmf\\Bundle\\TreeBrowserBundle\\Tests\\": "tests"
2631
}
2732
},
2833
"extra": {

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = function(config) {
2727
'node_modules/jasmine-ajax/lib/mock-ajax.js',
2828

2929
// specs
30-
'Tests/tests.cmf_tree_browser.js'
30+
'tests/tests.cmf_tree_browser.js'
3131
],
3232

3333

@@ -38,7 +38,7 @@ module.exports = function(config) {
3838
// preprocess matching files before serving them to the browser
3939
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
4040
preprocessors: {
41-
'Tests/tests.cmf_tree_browser.js': ['webpack', 'sourcemap']
41+
'tests/tests.cmf_tree_browser.js': ['webpack', 'sourcemap']
4242
},
4343

4444

phpunit.xml.dist

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@
88

99
<testsuites>
1010
<testsuite name="Symfony CmfTreeBrowserBundleBundle Test Suite">
11-
<directory>./Tests/Unit</directory>
11+
<directory>./tests/Unit</directory>
1212
</testsuite>
1313
</testsuites>
1414

1515
<filter>
1616
<whitelist addUncoveredFilesFromWhitelist="true">
17-
<directory>.</directory>
17+
<directory>src</directory>
1818
<exclude>
1919
<directory>Resources/</directory>
20-
<directory>Tests/</directory>
21-
<directory>vendor/</directory>
2220
</exclude>
2321
</whitelist>
2422
</filter>
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)