Skip to content

[Export] Added batching export of resources data#5

Merged
mpysiak merged 3 commits intoSylius:mainfrom
NoResponseMate:SYL-5115/batch-processing
Jul 7, 2025
Merged

[Export] Added batching export of resources data#5
mpysiak merged 3 commits intoSylius:mainfrom
NoResponseMate:SYL-5115/batch-processing

Conversation

@NoResponseMate
Copy link
Contributor

No description provided.

@NoResponseMate NoResponseMate force-pushed the SYL-5115/batch-processing branch 2 times, most recently from 6f701e9 to ac6507b Compare July 2, 2025 12:16
@NoResponseMate NoResponseMate marked this pull request as draft July 2, 2025 13:23
@NoResponseMate NoResponseMate force-pushed the SYL-5115/batch-processing branch 2 times, most recently from ae882ac to 747bfb3 Compare July 4, 2025 10:37
@NoResponseMate NoResponseMate force-pushed the SYL-5115/batch-processing branch from 747bfb3 to 2652e52 Compare July 4, 2025 10:41
@NoResponseMate NoResponseMate marked this pull request as ready for review July 4, 2025 10:44
}

foreach ($this->getFilesIn($storage) as $file) {
unlink($storage . '/' . $file);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
unlink($storage . '/' . $file);
if (file_exists($storage . '/' . $file)) {
unlink($storage . '/' . $file);
}

);
}

file_put_contents(
Copy link
Member

Choose a reason for hiding this comment

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

this can fail without any exception

@mpysiak mpysiak merged commit 08461d5 into Sylius:main Jul 7, 2025
3 checks passed
@NoResponseMate NoResponseMate deleted the SYL-5115/batch-processing branch July 7, 2025 07:05
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.

2 participants