Skip to content

Conversation

moay
Copy link

@moay moay commented Feb 28, 2018

I added git clean to the repo functionality and fixed the Comments to have them declare the proper exception throwing. As both files are in the same namespace, the thrown error should be either \Cz\Git\GitException or just GitException, is chose the latter.

Copy link
Contributor

@janpecha janpecha left a comment

Choose a reason for hiding this comment

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

Hi, thanks for PR. Currently I am on vacation, I will look at it later (in next week). For now I wrote some review comments.

/**
* Clean repo.
* `git clean`
* @param bool $cleanDirectories
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove $cleanDirectories part

* @throws GitException
* @return self
*/
public function clean($cleanDirectories = true, $force = true)
Copy link
Contributor

Choose a reason for hiding this comment

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

Change all true/false/null to uppercase TRUE/FALSE/NULL

/**
* @param string
*/
/**
Copy link
Contributor

Choose a reason for hiding this comment

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

Please fix indentation from spaces to tabs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants