Skip to content

Commit 90bccf0

Browse files
author
github-actions
committed
bump to v3.80.0
1 parent 9543215 commit 90bccf0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,18 @@ <h2>Supported PHP Versions<a class="headerlink" href="#supported-php-versions" t
6969
<li><p>PHP 8.1</p></li>
7070
<li><p>PHP 8.2</p></li>
7171
<li><p>PHP 8.3</p></li>
72+
<li><p>PHP 8.4</p></li>
7273
</ul>
7374
</section>
7475
<section id="documentation">
7576
<h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this heading"></a></h2>
7677
<section id="installation">
7778
<h3>Installation<a class="headerlink" href="#installation" title="Permalink to this heading"></a></h3>
7879
<p>The recommended way to install PHP CS Fixer is to use
79-
<a class="reference external" href="https://getcomposer.org/download/">Composer</a> in a dedicated <code class="docutils literal notranslate"><span class="pre">composer.json</span></code> file in your project, for example in
80-
the <code class="docutils literal notranslate"><span class="pre">tools/php-cs-fixer</span></code> directory:</p>
81-
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>mkdir<span class="w"> </span>--parents<span class="w"> </span>tools/php-cs-fixer
82-
<span class="gp">$ </span>composer<span class="w"> </span>require<span class="w"> </span>--working-dir<span class="o">=</span>tools/php-cs-fixer<span class="w"> </span>friendsofphp/php-cs-fixer
80+
<a class="reference external" href="https://getcomposer.org/download/">Composer</a>:</p>
81+
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>composer<span class="w"> </span>require<span class="w"> </span>--dev<span class="w"> </span>friendsofphp/php-cs-fixer
82+
<span class="gp">$ </span><span class="c1">## or when facing conflicts in dependencies:</span>
83+
<span class="gp">$ </span>composer<span class="w"> </span>require<span class="w"> </span>--dev<span class="w"> </span>php-cs-fixer/shim
8384
</pre></div>
8485
</div>
8586
<p>For more details and other installation methods, see <a class="reference internal" href="doc/installation.html"><span class="doc">installation instructions</span></a>.</p>
@@ -90,16 +91,16 @@ <h3>Run with Docker<a class="headerlink" href="#run-with-docker" title="Permalin
9091
<p>You can use pre-built Docker images to run <code class="docutils literal notranslate"><span class="pre">php-cs-fixer</span></code>.</p>
9192
<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>
9293
<ul class="simple">
93-
<li><p><code class="docutils literal notranslate"><span class="pre">3.47.0-php7.4</span></code></p></li>
94-
<li><p><code class="docutils literal notranslate"><span class="pre">3.47-php8.0</span></code></p></li>
95-
<li><p><code class="docutils literal notranslate"><span class="pre">3-php8.3</span></code></p></li>
94+
<li><p><code class="docutils literal notranslate"><span class="pre">3.80.0-php8.4</span></code></p></li>
95+
<li><p><code class="docutils literal notranslate"><span class="pre">3.80-php8.4</span></code></p></li>
96+
<li><p><code class="docutils literal notranslate"><span class="pre">3-php8.4</span></code></p></li>
9697
</ul>
9798
</section>
9899
<section id="usage">
99100
<h3>Usage<a class="headerlink" href="#usage" title="Permalink to this heading"></a></h3>
100101
<p>Assuming you installed PHP CS Fixer as instructed above, you can run
101102
the following command to fix the files PHP files in the <code class="docutils literal notranslate"><span class="pre">src</span></code> directory:</p>
102-
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>tools/php-cs-fixer/vendor/bin/php-cs-fixer<span class="w"> </span>fix<span class="w"> </span>src
103+
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>./vendor/bin/php-cs-fixer<span class="w"> </span>fix<span class="w"> </span>src
103104
</pre></div>
104105
</div>
105106
<p>See <a class="reference internal" href="doc/usage.html"><span class="doc">usage</span></a>, list of <a class="reference internal" href="doc/rules/index.html"><span class="doc">built-in rules</span></a>, list of <a class="reference internal" href="doc/ruleSets/index.html"><span class="doc">rule sets</span></a> and <a class="reference internal" href="doc/config.html"><span class="doc">configuration file</span></a> documentation for more

0 commit comments

Comments
 (0)