Skip to content

Fix phpcs step#291

Merged
jeffpaul merged 8 commits intodevelopfrom
fix/lint
May 23, 2022
Merged

Fix phpcs step#291
jeffpaul merged 8 commits intodevelopfrom
fix/lint

Conversation

@cadic
Copy link
Copy Markdown
Contributor

@cadic cadic commented May 20, 2022

Description of the Change

Fixed PHPCS job, fixed linting issues, added unit test for SophiWP\Utils\get_number_of_embedded_images

Closes #290

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Changelog Entry

Credits

Props @

@cadic cadic requested a review from jeffpaul May 20, 2022 15:44
@cadic cadic marked this pull request as ready for review May 20, 2022 15:44
@cadic cadic added this to the 1.1.3 milestone May 20, 2022
@jeffpaul
Copy link
Copy Markdown
Contributor

@cadic after merging in the fix for the empty post saving, looks like a phpcs warning there to resolve

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@cadic
Copy link
Copy Markdown
Contributor Author

cadic commented May 22, 2022

@jeffpaul right, the merge produce a conflict with 6bf3e46

Resolved, added small adjustment to unit test, all green now

@jeffpaul jeffpaul merged commit 3ba2d49 into develop May 23, 2022
@jeffpaul jeffpaul deleted the fix/lint branch May 23, 2022 02:02
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.

GitHub Actions PHPCS job

2 participants