Skip to content

Commit 9e25d01

Browse files
author
github-actions
committed
bump to v3.86.0
1 parent 116e125 commit 9e25d01

File tree

1 file changed

+13
-33
lines changed

1 file changed

+13
-33
lines changed

index.html

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,20 @@ <h1 class="title_header">
5252

5353
<section id="php-coding-standards-fixer">
5454
<h1>PHP Coding Standards Fixer<a class="headerlink" href="#php-coding-standards-fixer" title="Permalink to this heading"></a></h1>
55-
<p>The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow standards;
56-
whether you want to follow PHP coding standards as defined by <a class="reference external" href="https://www.php-fig.org/per/coding-style/">PER Coding Style</a>,
57-
or other community driven ones like the Symfony one.
58-
You can <strong>also</strong> define your (team’s) style through configuration.</p>
59-
<p>It can modernize your code (like converting the <code class="docutils literal notranslate"><span class="pre">pow</span></code> function to the <code class="docutils literal notranslate"><span class="pre">**</span></code> operator on PHP 5.6)
60-
and (micro) optimize it.</p>
55+
<p>The PHP Coding Standards Fixer (PHP CS Fixer) fixes your code to follow the standards.</p>
6156
<p>If you are already using a linter to identify coding standards problems in your
6257
code, you know that fixing them by hand is tedious, especially on large
63-
projects. This tool does not only detect them, but also fixes them for you.</p>
58+
projects. This tool not only detects them, but also fixes them for you.</p>
59+
<p>PHP CS Fixer has built-in rule sets, whether you want to follow PHP coding standards as defined by <a class="reference external" href="https://www.php-fig.org/per/coding-style/">PHP-FIG’s PER Coding Style</a>,
60+
a wide community like the <a class="reference external" href="https://symfony.com/doc/current/contributing/code/standards.html">Symfony</a>,
61+
or <a class="reference internal" href="doc/ruleSets/PhpCsFixer.html"><span class="doc">our opinionated one</span></a>.
62+
You can <strong>also</strong> define your (team’s) style through the <a class="reference internal" href="doc/config.html"><span class="doc">configuration file</span></a>.</p>
63+
<p>PHP CS Fixer can not only unify the style of your code, but also help to modernize your codebase towards
64+
newer PHP (e.g. <span class="xref std std-doc">&#64;PHP85Migration</span>) and newer PHPUnit (e.g. <a class="reference internal" href="doc/ruleSets/PHPUnit91MigrationRisky.html"><span class="doc">&#64;PHPUnit91Migration:risky</span></a>).</p>
6465
<section id="supported-php-versions">
6566
<h2>Supported PHP Versions<a class="headerlink" href="#supported-php-versions" title="Permalink to this heading"></a></h2>
6667
<ul class="simple">
67-
<li><p>PHP 7.4</p></li>
68-
<li><p>PHP 8.0</p></li>
69-
<li><p>PHP 8.1</p></li>
70-
<li><p>PHP 8.2</p></li>
71-
<li><p>PHP 8.3</p></li>
72-
<li><p>PHP 8.4</p></li>
68+
<li><p>PHP 7.4 - PHP 8.4</p></li>
7369
</ul>
7470
</section>
7571
<section id="documentation">
@@ -83,21 +79,7 @@ <h3>Installation<a class="headerlink" href="#installation" title="Permalink to t
8379
$<span class="w"> </span>composer<span class="w"> </span>require<span class="w"> </span>--dev<span class="w"> </span>php-cs-fixer/shim
8480
</pre></div>
8581
</div>
86-
<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>
87-
</section>
88-
<section id="run-with-docker">
89-
<h3>Run with Docker<a class="headerlink" href="#run-with-docker" title="Permalink to this heading"></a></h3>
90-
<p>PHP CS Fixer can be run in a Docker container.</p>
91-
<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-sh notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>docker<span class="w"> </span>run<span class="w"> </span>-v<span class="w"> </span><span class="k">$(</span><span class="nb">pwd</span><span class="k">)</span>:/code<span class="w"> </span>ghcr.io/php-cs-fixer/php-cs-fixer:<span class="si">${</span><span class="nv">FIXER_VERSION</span><span class="k">:-</span><span class="nv">3</span><span class="p">-php8.3</span><span class="si">}</span><span class="w"> </span>fix<span class="w"> </span>src
93-
</pre></div>
94-
</div>
95-
<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>
96-
<ul class="simple">
97-
<li><p><code class="docutils literal notranslate"><span class="pre">3.80.0-php8.4</span></code></p></li>
98-
<li><p><code class="docutils literal notranslate"><span class="pre">3.80-php8.4</span></code></p></li>
99-
<li><p><code class="docutils literal notranslate"><span class="pre">3-php8.4</span></code></p></li>
100-
</ul>
82+
<p>For more details and other installation methods (also with Docker or behind CI), see <a class="reference internal" href="doc/installation.html"><span class="doc">installation instructions</span></a>.</p>
10183
</section>
10284
<section id="usage">
10385
<h3>Usage<a class="headerlink" href="#usage" title="Permalink to this heading"></a></h3>
@@ -127,12 +109,10 @@ <h2>Editor Integration<a class="headerlink" href="#editor-integration" title="Pe
127109
</section>
128110
<section id="community">
129111
<h2>Community<a class="headerlink" href="#community" title="Permalink to this heading"></a></h2>
130-
<p>The PHP CS Fixer is maintained on GitHub at
131-
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer</a>.
132-
Bug reports and ideas about new features are welcome there.</p>
112+
<p>The PHP CS Fixer is maintained on GitHub at <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer</a>.
113+
Contributions, bug reports and ideas about new features are welcome there.</p>
133114
<p>You can reach us at <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/discussions">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/discussions</a> about the
134-
project, configuration, possible improvements, ideas and questions, please
135-
visit us!</p>
115+
project, configuration, possible improvements, ideas and questions.</p>
136116
</section>
137117
<section id="who-is-behind-the-php-coding-standards-fixer">
138118
<h2>Who is behind the PHP Coding Standards Fixer?<a class="headerlink" href="#who-is-behind-the-php-coding-standards-fixer" title="Permalink to this heading"></a></h2>

0 commit comments

Comments
 (0)