Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-wpdesk-activation-reminder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Library
wp-wpdesk-activation-reminder
Merge requests
!5
Feature/no dev
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Feature/no dev
feature/no-dev
into
main
Overview
0
Commits
18
Pipelines
1
Changes
3
Merged
Krzysztof Dyszczyk
requested to merge
feature/no-dev
into
main
3 years ago
Overview
0
Commits
18
Pipelines
1
Changes
3
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
f31f67f6
18 commits,
3 years ago
3 files
+
26
−
5
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
src/ActivationReminder/Composer/Plugin.php
+
3
−
1
View file @ f31f67f6
Edit in single-file editor
Open in Web IDE
Show full file
@@ -82,7 +82,9 @@ class Plugin implements PluginInterface, Capable, EventSubscriberInterface {
@@ -82,7 +82,9 @@ class Plugin implements PluginInterface, Capable, EventSubscriberInterface {
* @param Event $event
* @param Event $event
*/
*/
public
function
generateReminder
(
Event
$event
)
{
public
function
generateReminder
(
Event
$event
)
{
passthru
(
"composer prepare-activation-reminder"
);
global
$argv
;
$arg
=
in_array
(
'--no-dev'
,
$argv
,
true
)
?
'--no-dev'
:
''
;
passthru
(
"composer prepare-activation-reminder
$arg
"
);
}
}
}
}
Loading