<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kiyo510</author_name>
  <author_url>https://blog.hatena.ne.jp/Kiyo510/</author_url>
  <blog_title>Yappli Tech Blog</blog_title>
  <blog_url>https://tech.yappli.io/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>PHPStan</anon>
  </categories>
  <description>はじめに カスタムルールを作成した背景 作成したカスタムルール 補足 一旦変数に入れられるケース インスタンス化直後にメソッドチェーンされないケース カスタムルールのテスト MustCallExpireAfterRuleTest.php NoMissingExpireAfter.php MethodCallWithoutOverlapping.php MissingExpireAfter.php まとめ さいごに はじめに こんにちは。サーバーサイドエンジニアの佐野きよ（@Kiyo_Karl2）です。 今回とある理由で、特定のメソッド内で特定のメソッドを呼んでいるかチェックするPHPStanの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.yappli.io%2Fentry%2Fphpstan-custom-rule-function&quot; title=&quot;特定のメソッド内で特定のメソッドを呼んでいるかチェックするPHPStanのカスタムルールを作成する方法 - Yappli Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-31 19:08:27</published>
  <title>特定のメソッド内で特定のメソッドを呼んでいるかチェックするPHPStanのカスタムルールを作成する方法</title>
  <type>rich</type>
  <url>https://tech.yappli.io/entry/phpstan-custom-rule-function</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
