Skip to content

Commit f71ac2e

Browse files
author
github-actions
committed
bump to v3.85.1
1 parent d619d1b commit f71ac2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ <h3>Installation<a class="headerlink" href="#installation" title="Permalink to t
8989
<h3>Run with Docker<a class="headerlink" href="#run-with-docker" title="Permalink to this heading"></a></h3>
9090
<p>PHP CS Fixer can be run in a Docker container.</p>
9191
<p>You can use pre-built Docker images to run <code class="docutils literal notranslate"><span class="pre">php-cs-fixer</span></code>.</p>
92+
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">docker run -v $(pwd):/code ghcr.io/php-cs-fixer/php-cs-fixer:${FIXER_VERSION:-3-php8.3} fix src</span>
93+
</pre></div>
94+
</div>
9295
<p><code class="docutils literal notranslate"><span class="pre">$FIXER_VERSION</span></code> used in example above is an identifier of a release you want to use, which is based on Fixer and PHP versions combined. There are different tags for each Fixer’s SemVer level and PHP version with syntax <code class="docutils literal notranslate"><span class="pre">&lt;php-cs-fixer-version&gt;-php&lt;php-version&gt;</span></code>. For example:</p>
9396
<ul class="simple">
9497
<li><p><code class="docutils literal notranslate"><span class="pre">3.80.0-php8.4</span></code></p></li>

0 commit comments

Comments
 (0)