-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Minor fixes for 3.2 #20870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor fixes for 3.2 #20870
Conversation
@@ -31,8 +31,8 @@ public static function castStub(Stub $c, array $a, Stub $stub, $isNested) | |||
$stub->attr = $c->attr; | |||
|
|||
if (Stub::TYPE_REF === $c->type && !$c->class && is_string($c->value) && !preg_match('//u', $c->value)) { | |||
$stub->type = self::TYPE_STRING; | |||
$stub->class = self::STRING_BINARY; | |||
$stub->type = Stub::TYPE_STRING; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one looks like an actual bug fix however.
Ping @nicolas-grekas: I didn't see any related test covering this. 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
👍 |
👍 Status: Reviewed. |
👍 |
Thank you @ogizanagi. |
This PR was merged into the 3.2 branch. Discussion ---------- Minor fixes for 3.2 | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A This only fix minor issues in the codebase introduced in 3.2. Refs: - YamlEncoder 9366a7d - File helper: d9a8499 - VarDumper ClassStub: 788f7e8 - Cache tag based invalidation 19764af - CacheWarmer for Serializer: 810f469 - SymfonyStyle simplified test: 85e5060 - Workflow Definition builder: ffaeba3 --- There are other issues in older branches, but I guess it's not worth it for them, as it'll only add more conflicts. But for 3.2, it should be feasible. Commits ------- 7bdfc84 Minor fixes for 3.2
This only fix minor issues in the codebase introduced in 3.2.
Refs:
YamlEncoder 9366a7d
File helper: d9a8499
VarDumper ClassStub: 788f7e8
Cache tag based invalidation 19764af
CacheWarmer for Serializer: 810f469
SymfonyStyle simplified test: 85e5060
Workflow Definition builder: ffaeba3
There are other issues in older branches, but I guess it's not worth it for them, as it'll only add more conflicts. But for 3.2, it should be feasible.