liberu-genealogy / php-gedcom

Gedcom reading and writing for PHP 8.3
https://www.liberu.co.uk
MIT License
74 stars 39 forks source link

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

Closed sweep-ai[bot] closed 3 months ago

sweep-ai[bot] commented 3 months ago

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:

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.

sweep-ai[bot] commented 3 months ago

Rollback Files For Sweep

This is an automated message generated by Sweep AI.

sweep-ai[bot] commented 3 months ago

Sweep: PR Review

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