mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 19:38:40 +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));
|
$this->assetsDir->put($file, implode("\n", $output));
|
||||||
|
|
||||||
$mapTemp = tempnam(storage_path('tmp'), $mapFile);
|
$mapTemp = @tempnam(storage_path('tmp'), $mapFile);
|
||||||
$map->save($mapTemp);
|
$map->save($mapTemp);
|
||||||
$this->assetsDir->put($mapFile, file_get_contents($mapTemp));
|
$this->assetsDir->put($mapFile, file_get_contents($mapTemp));
|
||||||
@unlink($mapTemp);
|
@unlink($mapTemp);
|
||||||
|
0
tests/integration/tmp/storage/views/.gitkeep
Normal file
0
tests/integration/tmp/storage/views/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user