Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweep: Refactor Indi class to comply with PSR-4 autoloading standard #46

Closed
wants to merge 2 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Jun 14, 2024

Purpose

This pull request addresses the issue that the Gedcom\Record\Indi class does not comply with the PSR-4 autoloading standard.

Description

The changes in this pull request include:

  1. Updated the composer.json file to include a new PSR-4 namespace Record that maps to the src/Record/ directory.
  2. Moved the Indi class from src/Gedcom/Record/Indi.php to src/Record/Indi.php to match the new namespace structure.
  3. Updated all references to the Indi class throughout the codebase to use the new namespace Record\Indi instead of Gedcom\Record\Indi.

Summary

The key changes in this pull request are:

  • Updated composer.json to add a new Record namespace
  • Moved Indi class to src/Record/Indi.php
  • Updated all references to Indi class to use the new Record\Indi namespace

Fixes #45.


Tip

To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

This is an automated message generated by Sweep AI.

Copy link
Contributor Author

sweep-ai bot commented Jun 14, 2024

Rollback Files For Sweep

  • Rollback changes to src/Gedcom.php
  • Rollback changes to composer.json
  • Rollback changes to src/Record/Indi.php
  • Rollback changes to src/Parser/Indi.php

This is an automated message generated by Sweep AI.

@sweep-ai sweep-ai bot added the sweep Sweep your software chores label Jun 14, 2024
@sweep-ai sweep-ai bot mentioned this pull request Jun 14, 2024
Copy link
Contributor Author

sweep-ai bot commented Jun 14, 2024

Sweep: PR Review

Author: sweep-ai[bot]
The Pull Request looks good! Sweep did not find any new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep Sweep your software chores
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: psr4
1 participant