Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Update directory structure #36

Closed

Conversation

weierophinney
Copy link
Member

Per zendframework/zend-expressive#176#issuecomment-160106303, this patch does the following:

  • Creates a src/App/ subdirectory, and moves src/Action/ and src/Composer beneath them.
  • Creates a test/AppTest/ subdirectory, and moves test/Action/ beneath it.
  • Updates the autoload and autoload-dev entries for App and AppTest, respectively, to reference the new paths.
  • Updates the App\Composer\OptionalPackages class to reference src/App/Action instead of src/Action/ when specifying the directory to remove during a minimal installation. It also ensures that the default tests are removed during minimal installation (which wasn't handled previously, and spotted when making the directory changes).

I'll be creating a corresponding update to the documentation, which I will link to this issue.

Per zendframework/zend-expressive#176 (comment),
this patch does the following:

- Creates a `src/App/` subdirectory, and moves `src/Action/` and `src/Composer`
  beneath them.
- Creates a `test/AppTest/` subdirectory, and moves `test/Action/` beneath it.
- Updates the `autoload` and `autoload-dev` entries for `App` and `AppTest`,
  respectively, to reference the new paths.
- Updates the `App\Composer\OptionalPackages` class to reference
  `src/App/Action` instead of `src/Action/` when specifying the directory to
  remove during a minimal installation. It also ensures that the default tests
  are removed during minimal installation (which wasn't handled previously, and
  spotted when making the directory changes).
@weierophinney weierophinney added this to the 1.0.0rc4 milestone Dec 9, 2015
@weierophinney
Copy link
Member Author

Closing; branched from develop instead of master.

@weierophinney weierophinney deleted the hotfix/src-structure branch December 9, 2015 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant