Skip to content

Commit 1156480

Browse files
committed
Move the source code in a src/ folder
1 parent 271c4c6 commit 1156480

File tree

254 files changed

+14
-20
lines changed

Some content is hidden

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

254 files changed

+14
-20
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
/.gitattributes export-ignore
33
/.gitignore export-ignore
44
/.php-cs-fixer.dist.php export-ignore
5-
/.travis.yml export-ignore
65
/Changelog.md export-ignore
76
/Makefile export-ignore
87
/README.md export-ignore
9-
/Tests export-ignore
8+
/tests/ export-ignore
109
/Upgrade.md export-ignore
1110
/phpunit.xml.dist export-ignore

composer.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,12 @@
6666
},
6767
"autoload": {
6868
"psr-4": {
69-
"FOS\\UserBundle\\": ""
70-
},
71-
"exclude-from-classmap": [
72-
"/Tests/"
73-
]
69+
"FOS\\UserBundle\\": "src"
70+
}
7471
},
7572
"autoload-dev": {
7673
"psr-4": {
77-
"FOS\\UserBundle\\Tests\\": "/Tests/"
74+
"FOS\\UserBundle\\Tests\\": "tests"
7875
}
7976
},
8077
"support": {

phpunit.xml.dist

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<phpunit bootstrap="./Tests/bootstrap.php" colors="true">
3+
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
44

55
<testsuites>
66
<testsuite name="FOSUserBundle test suite">
7-
<directory suffix="Test.php">./Tests</directory>
7+
<directory suffix="Test.php">./tests</directory>
88
</testsuite>
99
</testsuites>
1010

1111
<filter>
1212
<whitelist>
13-
<directory>./</directory>
13+
<directory>src/</directory>
1414
<exclude>
15-
<directory>./Resources</directory>
16-
<directory>./Tests</directory>
17-
<directory>./vendor</directory>
15+
<directory>src/Resources</directory>
1816
</exclude>
1917
</whitelist>
2018
</filter>
2119

2220
<php>
23-
<env name="SYMFONY_DEPRECATIONS_HELPER" value="ignoreFile=Tests/ignored-deprecations.txt&amp;max[total]=0" />
21+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="ignoreFile=tests/ignored-deprecations.txt&amp;max[total]=0" />
2422
</php>
2523
</phpunit>

0 commit comments

Comments
 (0)