Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Added a verification to ensure the group tables are not empty#111

Open
joris-ati4 wants to merge 1 commit intoelgentos:masterfrom
joris-ati4:fix/gitub-109-ignore-group-without-tables
Open

Added a verification to ensure the group tables are not empty#111
joris-ati4 wants to merge 1 commit intoelgentos:masterfrom
joris-ati4:fix/gitub-109-ignore-group-without-tables

Conversation

@joris-ati4
Copy link
Copy Markdown

@joris-ati4 joris-ati4 commented Aug 7, 2023

When trying to skip a configuration file without tables as stated in the docuemention https://github.com/elgentos/masquerade#customization. A warning is triggered

PHP Warning:  Invalid argument supplied for foreach() in masquerade.phar/src/Elgentos/Masquerade/Console/RunCommand.php on line 131

To prevent this and solve the issue #109, I added a verification to ensure tables is not empty

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant