Skip to content

Fix Syntax Error in PersonAnciFactory#1156

Merged
curtisdelicata merged 1 commit intomainfrom
sweep/Fix-Syntax-Error-in-PersonAnciFactory
May 10, 2025
Merged

Fix Syntax Error in PersonAnciFactory#1156
curtisdelicata merged 1 commit intomainfrom
sweep/Fix-Syntax-Error-in-PersonAnciFactory

Conversation

@sweep-ai-deprecated
Copy link
Copy Markdown
Contributor

This pull request was created by Sweep to resolve the following request by @curtisdelicata:

php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 139
[root@web1 genealogy-laravel]#

Continue chatting at https://app.sweep.dev/c/14e0f329-1008-4dd2-a3f7-a9bb3fc32a71.

Purpose

This pull request fixes a syntax error in the PersonAnciFactory class by removing an extra closing brace that was causing issues with the factory definition.

Description

The change removes a redundant closing brace at the end of the PersonAnciFactory.php file that was causing a syntax error. This fix ensures that the factory can be properly used for creating test data and maintains the correct PHP class structure.

The factory is used for creating test instances of the PersonAnci model, which is important for testing functionality related to ancestor data in the genealogy application.

Summary

  • Removed extra } from database/factories/PersonAnciFactory.php
  • Fixed syntax error that would prevent proper factory usage
  • Maintains correct PHP class structure for the factory definition
  • Improves code quality and prevents potential test failures

@curtisdelicata curtisdelicata merged commit 50fba57 into main May 10, 2025
1 of 7 checks passed
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.

1 participant