Skip to content

Commit

Permalink
Use standard directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire authored and Grégoire Paris committed Jun 16, 2016
1 parent c89bbc4 commit 41f9379
Show file tree
Hide file tree
Showing 31 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion UPGRADE-1.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ UPGRADE 1.x

## Changes in directory structure

The directory structure of `lib` and `test` no longer follows `PSR-0`, but `PSR-4`.
The `lib` directory has been renamed to the more standard `src`.

Also, the directory structure of `src` and `test` no longer follows `PSR-0`, but `PSR-4`.
This should not change anything for users since this library is meant to be used with Composer autoloading only.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"autoload": {
"psr-4": {
"Exporter\\": "lib/"
"Exporter\\": "src/"
}
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<filter>
<whitelist>
<directory suffix=".php">./lib/</directory>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
</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.

0 comments on commit 41f9379

Please sign in to comment.