Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move filesystem interaction to dedicated interface #14

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

boesing
Copy link
Member

@boesing boesing commented Sep 13, 2021

Q A
BC Break yes
New Feature yes

Description

  • Adds internal FilesystemInteractionInterface
  • Removes unit test unlink delay via $GLOBALS reference
  • Marks Filesystem as final and marks protected methods as private where possible
  • Adds native type-hints to private methods

This package only provides LocalFilesystemInteraction as of now but might introduce satellite packages in the future.

Fixes #6

- Adds internal `FilesystemInteractionInterface`
- Removes unit test unlink delay via `$GLOBALS` reference
- Marks `Filesystem` as `final` and marks protected methods as private where possible
- Adds native type-hints to private methods

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing added this to the 2.0.0 milestone Sep 13, 2021
@boesing boesing merged commit c518692 into laminas:2.0.x Sep 13, 2021
@boesing boesing deleted the feature/filesystem-interaction branch September 13, 2021 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with unlink() and chmod() on nonexistent files
1 participant