Codeception / Codeception/c3

Could not write error to log file

オープン
#41 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
73
フォーク
46
PR マージ指標
30日以内にマージされた PR はありません

説明

While debugging for this issue https://github.com/Codeception/Codeception/issues/4871, I keep getting message `Could not write error to log file`.
When I traced the cause, it's from here.

https://github.com/Codeception/c3/blob/c7348bbc82da82834fe237c5fb754003ac0fe782/c3.php#L36-L43

Apparently the `c3tmp` directory is always emptied by `__c3_clear()` when the test is executed.

https://github.com/Codeception/c3/blob/c7348bbc82da82834fe237c5fb754003ac0fe782/c3.php#L288-L291

This cause problem because `is_writable` returns true if the file exists and is writable.

http://php.net/manual/en/function.is-writable.php

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。