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

Dev #34

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Dev #34

merged 3 commits into from
Apr 18, 2024

Conversation

mahmoodahmad100
Copy link
Member

No description provided.

Copy link
Member Author

@mahmoodahmad100 mahmoodahmad100 left a comment

Choose a reason for hiding this comment

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

this pr mainly is for adding support for plugins + other minor changes. for sure the codebase needs some refactoring.

@@ -11,6 +11,7 @@
| 8.x |
| 9.x |
| 10.x |
| 11.x |
Copy link
Member Author

Choose a reason for hiding this comment

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

v11.x not fully tested, it needs to be fully tested.

'module_dir' => $this->module_dir,
'module_collection' => $this->module_collection,
'unit_collection' => $this->unit_collection,
'selected_directory' => $this->args[3] ? 'Plugins' : 'Core',
Copy link
Member Author

Choose a reason for hiding this comment

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

a duplicate

]
];

$replace = [
'file' => ['php', '', '', $this->unit_collection['studly']],
'content' => [
$this->unit_collection['studly'],
$this->module_collection['studly']
$this->module_collection['studly'],
$this->args[3] ? 'Plugins' : 'Core',
Copy link
Member Author

Choose a reason for hiding this comment

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

same as above (duplicate)

* @param string $destination_dir
* @param integer $mode
*/
public static function generateDir($destination_dir, $mode = 0775) : void
Copy link
Member Author

Choose a reason for hiding this comment

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

do we need this function?

@mahmoodahmad100 mahmoodahmad100 merged commit 1140f52 into main Apr 18, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant