Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection][Routing] add files used in FileResource objects#17672
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
Starting with Symfony 3.1, the constructor of the `FileResource` classwill throw an exception when the passed file does not exist.
xabbuh commentedFeb 4, 2016
ping @symfony/deciders (we need this to make the test suite pass again for all branches on Travis) |
nicolas-grekas commentedFeb 4, 2016
Thank you@xabbuh. |
…rce objects (xabbuh)This PR was merged into the 2.3 branch.Discussion----------[DependencyInjection][Routing] add files used in FileResource objects| Q | A| ------------- | ---| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#17598 (comment)| License | MIT| Doc PR |Starting with Symfony 3.1, the constructor of the `FileResource` classwill throw an exception when the passed file does not exist.Commits-------4f865c7 add files used in FileResource objects
SimonSimCity commentedAug 23, 2016
Just to add this as a side-note: I also had a problem that was fixed by these lines here. My usecase was like following: I had a class in my self-written extension, that extended a native PHP class. Thereby the parent-class hasn't had a valid includable file. The result now was, that the cache, containing the dependencies merged in a single file, was rebuild all the time, because the timestamp of that file couldn't be checked. |
Starting with Symfony 3.1, the constructor of the
FileResourceclasswill throw an exception when the passed file does not exist.