Skip to content

Conversation

ogizanagi
Copy link
Contributor

@ogizanagi ogizanagi commented Dec 11, 2016

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:


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.

@@ -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;
Copy link
Contributor Author

@ogizanagi ogizanagi Dec 11, 2016

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. 😕

Copy link
Member

Choose a reason for hiding this comment

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

👍

@nicolas-grekas
Copy link
Member

👍

@nicolas-grekas nicolas-grekas added this to the 3.2 milestone Dec 12, 2016
@Simperfit
Copy link
Contributor

👍

Status: Reviewed.

@stof
Copy link
Member

stof commented Dec 12, 2016

👍

@nicolas-grekas
Copy link
Member

Thank you @ogizanagi.

@nicolas-grekas nicolas-grekas merged commit 7bdfc84 into symfony:3.2 Dec 12, 2016
nicolas-grekas added a commit that referenced this pull request Dec 12, 2016
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
@ogizanagi ogizanagi deleted the fix/3.2/static_code_review branch December 12, 2016 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants