Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Validator] Fix init of YamlFileLoader::$classes for empty files#20828
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedDec 8, 2016
| Q | A |
|---|---|
| Branch? | 2.7 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #20761 |
| License | MIT |
| Doc PR | - |
stof commentedDec 8, 2016
Would it be possible to write a test covering the actual bug (i.e. checking that |
nicolas-grekas commentedDec 8, 2016
The property is protected, so it's a "public" side effect, which means the test is good :) |
nicolas-grekas commentedDec 8, 2016
@stof is this PR ok for you? |
nicolas-grekas commentedDec 8, 2016
Note that this PR is against 2.7. |
stof commentedDec 8, 2016
👍 |
… files (nicolas-grekas)This PR was merged into the 2.7 branch.Discussion----------[Validator] Fix init of YamlFileLoader::$classes for empty files| Q | A| ------------- | ---| Branch? | 2.7| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#20761| License | MIT| Doc PR | -Commits-------073a1da [Validator] Fix init of YamlFileLoader::$classes for empty files