Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commitc6f7ca6
committed
Fix RuntimeException when an Emacs buffer is modified
When an Emacs buffer is modified, by default Emacs automatically creates atemporary symlink in the same directory as the file being edited (e.g. Controller.php):```.#Controller.php -> user@host.12345:1296583136```where '12345' is Emacs' PID.In this case Symfony breaks with a RuntimeException:```SplFileInfo::getMTime(): stat failed for ...Bundle/Controller/.#APIController.php```invendor/symfony/symfony/src/Symfony/Component/Config/Resource/DirectoryResource.phpat line 89```$newestMTime = max($file->getMTime(), $newestMTime);```1 parenteb750be commitc6f7ca6
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
87 | 94 | | |
88 | | - | |
| 95 | + | |
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
| |||
0 commit comments
Comments
(0)