Skip to content

Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash#3396

Merged
samsonasik merged 9 commits intomainfrom
fix-bleeding-edge-include-purifier-randomize
Feb 21, 2023
Merged

Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash#3396
samsonasik merged 9 commits intomainfrom
fix-bleeding-edge-include-purifier-randomize

Conversation

@samsonasik
Copy link
Copy Markdown
Member

No description provided.

@samsonasik
Copy link
Copy Markdown
Member Author

samsonasik commented Feb 21, 2023

New PHPStan 1.10.0 https://github.com/phpstan/phpstan/releases/tag/1.10.0 seems cause some notice, I ignored on phpstan.neon

@samsonasik
Copy link
Copy Markdown
Member Author

New test error is due to new phpstan 1.10:

There was 1 failure:

1) Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddMethodCallBasedStrictParamTypeRector\IntersectionTest::test with data set #1
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
         return [];
     }
 
-    private function removeEmptyValues($input): array
+    private function removeEmptyValues(array $input): array

@samsonasik
Copy link
Copy Markdown
Member Author

Fixed 🎉 by check recursive call b8d4dcd

@samsonasik
Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba I think it is ready.

@TomasVotruba
Copy link
Copy Markdown
Member

Go for merge when ready 👍

@samsonasik samsonasik merged commit 648a2f5 into main Feb 21, 2023
@samsonasik samsonasik deleted the fix-bleeding-edge-include-purifier-randomize branch February 21, 2023 17: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.

3 participants