mirror of
https://github.com/flarum/framework.git
synced 2025-02-17 02:02:47 +08:00
fixed tests on master, missing views directory and suppressing notices from tempnam when storing files in tmp
This commit is contained in:
parent
fe558eb0ba
commit
935a968257
|
@ -58,7 +58,7 @@ class JsCompiler extends RevisionCompiler
|
|||
|
||||
$this->assetsDir->put($file, implode("\n", $output));
|
||||
|
||||
$mapTemp = tempnam(storage_path('tmp'), $mapFile);
|
||||
$mapTemp = @tempnam(storage_path('tmp'), $mapFile);
|
||||
$map->save($mapTemp);
|
||||
$this->assetsDir->put($mapFile, file_get_contents($mapTemp));
|
||||
@unlink($mapTemp);
|
||||
|
|
0
tests/integration/tmp/storage/views/.gitkeep
Normal file
0
tests/integration/tmp/storage/views/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user