Skip to content

Conversation

@artengin
Copy link
Contributor

Refs: #67

@coveralls
Copy link

coveralls commented Oct 17, 2025

Pull Request Test Coverage Report for Build 18742545706

Details

  • 194 of 199 (97.49%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 96.581%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Commands/InitCommand.php 169 174 97.13%
Totals Coverage Status
Change from base Build 18737921966: 0.3%
Covered Lines: 339
Relevant Lines: 351

💛 - Coveralls

@DenTray DenTray requested a review from Copilot October 20, 2025 06:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the InitCommand class by extracting README generation logic into a dedicated ReadmeGenerator class, improving code organization and maintainability.

Key Changes:

  • Introduced ReadmeGenerator class to handle all README-related operations
  • Reorganized InitCommand properties and methods for better logical grouping
  • Updated test mocks to reflect the new separation of concerns

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
src/Generators/ReadmeGenerator.php New class extracting README generation logic from InitCommand
src/Commands/InitCommand.php Refactored to use ReadmeGenerator and reorganized method/property order
tests/InitCommandTest.php Updated mocks to separate InitCommand and ReadmeGenerator namespace calls

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

DenTray and others added 5 commits October 23, 2025 09:58
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DenTray
Copy link
Collaborator

DenTray commented Oct 23, 2025

@artengin let's proceed with this after the first stage will be merged

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.

4 participants