Skip to content

Conversation

@haszi
Copy link
Contributor

@haszi haszi commented Dec 12, 2025

Fixes #225 by preventing the serialization and deserialization of non-serializable properties. This could have been achieved with a reflection based approach but using a simple list is a good enough solution.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Sure, I didn't even know you could save PhD state.

public string $phpwebSourcesFilename = '';
public string $phpwebHistoryFilename = '';

private const NON_SERIALIZABLE_PROPERTIES = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
private const NON_SERIALIZABLE_PROPERTIES = [
private const array NON_SERIALIZABLE_PROPERTIES = [

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.

phd.config.php readonly property copyright not filtered

3 participants