Skip to content

Remove trailing comma for php <=7.2 compatibility#10

Merged
swissspidy merged 1 commit intowp-cli:mainfrom
wojsmol:patch-1
Mar 26, 2026
Merged

Remove trailing comma for php <=7.2 compatibility#10
swissspidy merged 1 commit intowp-cli:mainfrom
wojsmol:patch-1

Conversation

@wojsmol
Copy link
Copy Markdown
Contributor

@wojsmol wojsmol commented Mar 26, 2026

@github-actions
Copy link
Copy Markdown
Contributor

Hello! 👋

Thanks for opening this pull request! Please check out our contributing guidelines. We appreciate you taking the initiative to contribute to this project.

Contributing isn't limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.

Here are some useful Composer commands to get you started:

  • composer install: Install dependencies.
  • composer test: Run the full test suite.
  • composer phpcs: Check for code style violations.
  • composer phpcbf: Automatically fix code style violations.
  • composer phpunit: Run unit tests.
  • composer behat: Run behavior-driven tests.

To run a single Behat test, you can use the following command:

# Run all tests in a single file
composer behat features/some-feature.feature

# Run only a specific scenario (where 123 is the line number of the "Scenario:" title)
composer behat features/some-feature.feature:123

You can find a list of all available Behat steps in our handbook.

@github-actions github-actions bot added the scope:distribution Related to distribution label Mar 26, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request modifies src/AI_Command.php to remove a trailing comma in the generate_text method's argument list. There are no review comments to address, and I have no further feedback to provide.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/AI_Command.php 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@wojsmol wojsmol changed the title remove trailing comma for php less then 7.2 compatatibility Remove trailing comma for php <=7.2 compatibility Mar 26, 2026
Copy link
Copy Markdown
Member

@swissspidy swissspidy left a comment

Choose a reason for hiding this comment

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

Thanks!

@swissspidy swissspidy merged commit 628b38f into wp-cli:main Mar 26, 2026
58 of 59 checks passed
@swissspidy swissspidy added this to the 1.0.0 milestone Mar 26, 2026
@wojsmol wojsmol deleted the patch-1 branch March 26, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:distribution Related to distribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants