Skip to content

Add test case for caching $rectorConfig->rules() changed#4903

Merged
samsonasik merged 19 commits intomainfrom
add-test-case
Sep 4, 2023
Merged

Add test case for caching $rectorConfig->rules() changed#4903
samsonasik merged 19 commits intomainfrom
add-test-case

Conversation

@samsonasik
Copy link
Copy Markdown
Member

Based on your PR:

this is failing test case that rules should be changed the hash insteaf of equal

@samsonasik
Copy link
Copy Markdown
Member Author

@TomasVotruba I debugged SimpleParameterProvider::hash(), the self::$parameters is empty arrray.

@samsonasik
Copy link
Copy Markdown
Member Author

@TomasVotruba using AbstractLazyTestCase seems got non-empty array, but still equal...

@samsonasik
Copy link
Copy Markdown
Member Author

@TomasVotruba @staabm I got test case working ok now, ready for merge 👍

@samsonasik samsonasik changed the title Add failing test case for $rectorConfig->rules() changed Add test case for caching $rectorConfig->rules() changed Sep 3, 2023
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba left a comment

Choose a reason for hiding this comment

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

Thank you, go for merge when ready 👍

@samsonasik samsonasik merged commit dca3e9d into main Sep 4, 2023
@samsonasik samsonasik deleted the add-test-case branch September 4, 2023 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants