Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Allow to install Symfony when the directory exists but it's empty #99

Closed
wants to merge 4 commits into from

Conversation

javiereguiluz
Copy link
Member

This fixes #98

* Checks whether the given directory is empty or not.
*
* @param string $dir the path of the directory to check
* @return boolean True if the directory is empty. False otherwise.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be bool.

@Pierstoval
Copy link
Contributor

👍 now :)

* Checks whether the given directory is empty or not.
*
* @param string $dir the path of the directory to check
* @return bool True if the directory is empty. False otherwise.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True if the directory is empty. False otherwise. could be removed. The name of the method already makes the meaning of the boolean clear

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. Removed that redundant explanation.

@javiereguiluz javiereguiluz deleted the allow_empty_directories branch March 2, 2015 10:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to create project in current (Existing) directory just like Django does
4 participants