<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>devillikeaangel</author_name>
  <author_url>https://blog.hatena.ne.jp/devillikeaangel/</author_url>
  <blog_title>kikukawa's diary</blog_title>
  <blog_url>https://kkkw.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>毎回調べているのでメモ phpでciを回すのによく使うものに PHP CodeSniffer PHP Mess Detector PHPUnit があります。 php7ならphanもですね。 これを、composerのrun-script 経由で叩けるようにしておくと、 毎回オプションなどを指定しなくて済むので楽です。 書き方を毎回調べているのでメモ的に残します。 composer.json(抜粋) &quot;scripts&quot;: { &quot;l&quot;: &quot;php -l ./src&quot;, &quot;test&quot;: &quot;./vendor/bin/phpunit -c ./phpunit.xml&quot;, &quot;cs&quot;: &quot;./vendor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkkkw.hatenablog.jp%2Fentry%2Fphp%2Fcomposer-run-scripts-memo&quot; title=&quot;composer scriptでphpのci周りを登録する - kikukawa&amp;#39;s diary&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>2017-09-22 08:00:00</published>
  <title>composer scriptでphpのci周りを登録する</title>
  <type>rich</type>
  <url>https://kkkw.hatenablog.jp/entry/php/composer-run-scripts-memo</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
