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
Commits
7e7a7652
Commit
7e7a7652
authored
2 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
bugfix(composer): command return value
parent
7d16a152
No related branches found
No related tags found
No related merge requests found
Pipeline
#170586
canceled
2 years ago
Stage: prepare-vendor
Stage: tools
Stage: tests
Stage: deploy
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
composer.json
+4
-1
4 additions, 1 deletion
composer.json
src/ActivationReminder/Composer/PrepareActivationReminderCommand.php
+1
-3
1 addition, 3 deletions
...ionReminder/Composer/PrepareActivationReminderCommand.php
with
9 additions
and
4 deletions
CHANGELOG.md
+
4
−
0
View file @
7e7a7652
## [1.1.7] - 2023-03-13
### Fixed
-
Command return value
## [1.1.6] - 2023-02-20
### Fixed
-
Command return value
...
...
This diff is collapsed.
Click to expand it.
composer.json
+
4
−
1
View file @
7e7a7652
...
...
@@ -11,8 +11,11 @@
"email"
:
"grzegorz@wpdesk.net"
}
],
"platform"
:
{
"php"
:
"7.2"
},
"require"
:
{
"php"
:
">=7.
0
"
,
"php"
:
">=7.
2
"
,
"composer-plugin-api"
:
"^1|^2"
},
"require-dev"
:
{
...
...
This diff is collapsed.
Click to expand it.
src/ActivationReminder/Composer/PrepareActivationReminderCommand.php
+
1
−
3
View file @
7e7a7652
...
...
@@ -3,11 +3,9 @@
namespace
WPDesk\ActivationReminder\Composer
;
use
Composer\Command\BaseCommand
;
use
Symfony\Component\Console\Command\Command
;
use
Symfony\Component\Console\Input\InputInterface
;
use
Symfony\Component\Console\Output\OutputInterface
;
/**
* Can prepare activation reminder for plugin.
*
...
...
@@ -60,7 +58,7 @@ class PrepareActivationReminderCommand extends BaseCommand
$output
->
writeln
(
"Activation reminder created."
);
return
Command
::
SUCCESS
;
return
0
;
}
private
function
create_or_get_target_file_name
(
array
$class_map
,
$random_class
,
$random_letter
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment