Skip to content

Commit

Permalink
Reorganize the repository
Browse files Browse the repository at this point in the history
Source code is now in src/ rather than at the root, following common
conventions.
  • Loading branch information
stof committed Mar 5, 2021
1 parent 2a79415 commit d860694
Show file tree
Hide file tree
Showing 33 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/Tests export-ignore
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.github export-ignore
/.travis.yml export-ignore
/docs export-ignore
/phpunit.xml.dist export-ignore
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
composer.lock
vendor/*
/phpunit.xml
/.phpunit.result.cache
File renamed without changes.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
"symfony/mime": "To use the Mime component integration for Uploadable"
},
"autoload": {
"psr-4": { "Stof\\DoctrineExtensionsBundle\\": "" }
"psr-4": { "Stof\\DoctrineExtensionsBundle\\": "src" }
},
"autoload-dev": {
"psr-4": { "Stof\\DoctrineExtensionsBundle\\Tests\\": "tests" }
},
"extra": {
"branch-alias": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 3 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@

<testsuites>
<testsuite name="StofDoctrineExtensionsBundle test suite">
<directory suffix="Test.php">./Tests</directory>
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>./</directory>
<directory>src</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
<directory>src/Resources</directory>
</exclude>
</whitelist>
</filter>
Expand Down
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.

0 comments on commit d860694

Please sign in to comment.