-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved plugin using differrent interface for required file and dir …
…lists ref yawik/standard#4
- Loading branch information
Showing
6 changed files
with
60 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Yawik project. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Yawik\Composer; | ||
|
||
use Core\Options\ModuleOptions as CoreOptions; | ||
|
||
interface RequireDirectoryPermissionInterface | ||
{ | ||
/** | ||
* Lists of directories that permissions need to be fixed | ||
* | ||
* @param CoreOptions $options A CoreOptions object to use | ||
* @return array A list of files | ||
*/ | ||
public function getRequiredDirectoryLists(CoreOptions $options); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,21 +19,13 @@ | |
* @author Anthonius Munthi <[email protected]> | ||
* @since 0.32.0 | ||
*/ | ||
interface PermissionsFixerModuleInterface | ||
interface RequireFilePermissionInterface | ||
{ | ||
/** | ||
* Lists of files that permissions need to be fixed | ||
* | ||
* @param CoreOptions $options A CoreOptions object to use | ||
* @return array A list of files | ||
*/ | ||
public function getFilePermissionLists(CoreOptions $options); | ||
|
||
/** | ||
* Lists of directories that permissions need to be fixed | ||
* | ||
* @param CoreOptions $options A CoreOptions object to use | ||
* @return array A list of files | ||
*/ | ||
public function getDirectoryPermissionLists(CoreOptions $options); | ||
public function getRequiredFileLists(CoreOptions $options); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters