Skip to content

Commit

Permalink
prepush codesniffer hook deactivated. Will not working with durpal-de…
Browse files Browse the repository at this point in the history
…vbox
  • Loading branch information
juergen-pecher committed Sep 9, 2016
1 parent 0c00023 commit 032648a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.properties.dist
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ phpcs.prepush.enable = 0

# The source and destination paths of the git pre-push hook.
phpcs.prepush.source = ${project.basedir}/phpcs-pre-push/pre-push
phpcs.prepush.destination = ${project.basedir}/../.git/hooks/pre-push
phpcs.prepush.destination = ${project.basedir}/.git/hooks/pre-push


# PHPUnit configuration
Expand Down
4 changes: 1 addition & 3 deletions scripts/composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ public static function createRequiredFiles(Event $event) {
umask($oldmask);
$event->getIO()->write("Create a sites/simpletests directory with chmod 0777");
}
// Chown the project directory to the www-data user
$fs->chown($project_root, "www-data:www-data", TRUE);
$fs->chmod($project_root, "www-data:www-data", 0775);

}

/**
Expand Down

0 comments on commit 032648a

Please sign in to comment.