Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mnapoli
Copy link
Member

@mnapoli mnapoli commented Jan 19, 2018

Fixes #567

]);
$builder->enableCompilation(self::COMPILATION_DIR, self::generateCompiledClassName());
$builder->build();
}

Choose a reason for hiding this comment

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

The test name says throw an error - but there is no @expectedException annotation. Since the test passed, I guess no error is actually triggered in this case.
Am I just missing the point?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh wait… You are right I iterated several times on the solution and in the end it's not working as expected, thanks for catching that!

Copy link
Member Author

Choose a reason for hiding this comment

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

It should be good now.

By checking already compiled entries only, an entry *planned* to be compiled but not compiled yet would be overwritten. Its status would change from "it's an entry defined in the configuration" to "it's an entry we found through references in autowired entries", which would break one test.
@mnapoli mnapoli merged commit e4c85d7 into master Jan 20, 2018
@mnapoli mnapoli deleted the 567-silence-some-errors-at-compilation branch January 20, 2018 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants