Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

cacheDir cannot be omitted

オープン
#181 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
32/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
testing

調査の方向性

README.md の cacheDir セクションから始め、その設定なしでテストを実行して報告された失敗を再現します。文書化されたオプション動作と、Go! AOP のキャッシュディレクトリエラーが発生する設定経路を比較します。cacheDir を省略できるかどうかについて、動作とドキュメントの内容が一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

It's stated in documentation that cacheDir setting can be skipped: https://github.com/Codeception/AspectMock/blob/master/README.md


  • cacheDir a dir where updated source PHP files can be stored. If this directory is not set, proxie classes will be built on each run. Otherwise all PHP files used in tests will be updated with aspect injections and stored into cacheDir path.

Although when I don't specify it, I getting the error running the tests:

Fatal error: Uncaught RuntimeException: You need to provide valid cache directory for Go! AOP framework.

What do I do wrong? Or if it's really required and cannot be omitted, the documentation should be updated.

主要言語
PHP
スター
784
フォーク
132
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Codeception/AspectMock のほかの issue

Codeception/AspectMock の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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