Skip to content

Commit c6b842b

Browse files
author
github-actions
committed
bump to v3.89.2
1 parent b52d2c1 commit c6b842b

File tree

401 files changed

+1010
-1010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+1010
-1010
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="clearfix">
3232
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3333
<h1 class="title_header">
34-
<strong>Folding Bike (v3.89.1)</strong> edition
34+
<strong>Folding Bike (v3.89.2)</strong> edition
3535
</h1>
3636
</div>
3737
</div>

doc/config.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>
@@ -60,9 +60,9 @@ <h2>No config<a class="headerlink" href="#no-config" title="Permalink to this he
6060
</div>
6161
<p>It is also possible to provide command line options to customize rules, yet instead of using them,
6262
it’s recommended to save the project configuration in a <code class="docutils literal notranslate"><span class="pre">.php-cs-fixer.dist.php</span></code> file in the root directory of your project.
63-
The file must return an instance of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/ConfigInterface.php">PhpCsFixer\ConfigInterface</a>
63+
The file must return an instance of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/ConfigInterface.php">PhpCsFixer\ConfigInterface</a>
6464
which lets you configure the rules, the files and directories that
65-
need to be analyzed. You may also create <code class="docutils literal notranslate"><span class="pre">.php-cs-fixer.php</span></code> file, which is
65+
need to be analysed. You may also create <code class="docutils literal notranslate"><span class="pre">.php-cs-fixer.php</span></code> file, which is
6666
the local configuration that will be used instead of the project configuration. It
6767
is a good practice to add that file into your <code class="docutils literal notranslate"><span class="pre">.gitignore</span></code> file.
6868
With the <code class="docutils literal notranslate"><span class="pre">--config</span></code> option you can specify the path to the config file.</p>

doc/cookbook_fixers.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>
@@ -66,8 +66,8 @@ <h2>Background<a class="headerlink" href="#background" title="Permalink to this
6666
discouraged - it is meant only to give more people more chance to
6767
contribute, and to detect bugs (<a class="reference external" href="https://en.wikipedia.org/wiki/Linus%27s_Law">Linus’s Law</a>).</p>
6868
<p>If possible, try to get acquainted with the public interface for the
69-
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Tokenizer/Tokens.php">PhpCsFixer\Tokenizer\Tokens</a> and
70-
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Tokenizer/Token.php">PhpCsFixer\Tokenizer\Token</a> classes.</p>
69+
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Tokenizer/Tokens.php">PhpCsFixer\Tokenizer\Tokens</a> and
70+
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Tokenizer/Token.php">PhpCsFixer\Tokenizer\Token</a> classes.</p>
7171
</section>
7272
<section id="assumptions">
7373
<h2>Assumptions<a class="headerlink" href="#assumptions" title="Permalink to this heading"></a></h2>
@@ -81,8 +81,8 @@ <h2>Assumptions<a class="headerlink" href="#assumptions" title="Permalink to thi
8181
</ul>
8282
<p>In case you want to create a custom fixer for your own use, you can
8383
follow this guide as well, but you will need to apply some changes on the go,
84-
for example use <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>
85-
instead of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a> (which is internal
84+
for example use <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>
85+
instead of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a> (which is internal
8686
and not covered with BC promise).</p>
8787
</section>
8888
<section id="step-by-step">
@@ -137,9 +137,9 @@ <h3>Step 1 - Creating files<a class="headerlink" href="#step-1-creating-files" t
137137
</pre></div>
138138
</div>
139139
<p>Note how the class and file name match. Also keep in mind that all
140-
fixers must implement <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>. In this case, the fixer is
141-
inheriting from <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a>, which fulfills the interface with some
142-
default behavior.</p>
140+
fixers must implement <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>. In this case, the fixer is
141+
inheriting from <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a>, which fulfills the interface with some
142+
default behaviour.</p>
143143
<p>Now let us create the test file at
144144
<code class="docutils literal notranslate"><span class="pre">tests/Fixer/Comment/RemoveCommentsFixerTest.php</span></code>. Put this content inside:</p>
145145
<div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="cp">&lt;?php</span>
@@ -183,10 +183,10 @@ <h3>Step 1 - Creating files<a class="headerlink" href="#step-1-creating-files" t
183183
</pre></div>
184184
</div>
185185
</section>
186-
<section id="step-2-using-tests-to-define-fixers-behavior">
187-
<h3>Step 2 - Using tests to define fixers behavior<a class="headerlink" href="#step-2-using-tests-to-define-fixers-behavior" title="Permalink to this heading"></a></h3>
186+
<section id="step-2-using-tests-to-define-fixers-behaviour">
187+
<h3>Step 2 - Using tests to define fixers behaviour<a class="headerlink" href="#step-2-using-tests-to-define-fixers-behaviour" title="Permalink to this heading"></a></h3>
188188
<p>Now that the files are created, you can start writing tests to define the
189-
behavior of the fixer. You have to do it in two ways: first, ensuring
189+
behaviour of the fixer. You have to do it in two ways: first, ensuring
190190
the fixer changes what it should be changing; second, ensuring that
191191
fixer does not change what is not supposed to change. Thus:</p>
192192
<p>Keeping things as they are:</p>
@@ -270,7 +270,7 @@ <h3>Step 2 - Using tests to define fixers behavior<a class="headerlink" href="#s
270270
</section>
271271
<section id="step-3-implement-your-solution">
272272
<h3>Step 3 - Implement your solution<a class="headerlink" href="#step-3-implement-your-solution" title="Permalink to this heading"></a></h3>
273-
<p>You have defined the behavior of your fixer in tests. Now it is time to
273+
<p>You have defined the behaviour of your fixer in tests. Now it is time to
274274
implement it.</p>
275275
<p>First, we need to create one method to describe what this fixer does:</p>
276276
<div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="cp">&lt;?php</span>
@@ -486,7 +486,7 @@ <h3>Step 5 - Peer review: it is all about code and community building.<a class="
486486
<ol class="arabic simple">
487487
<li><p>People will check your code for common mistakes and logical
488488
caveats. Usually, the person building a fixer is blind about some
489-
behavior mistakes of fixers. Expect to write few more tests to cater for
489+
behaviour mistakes of fixers. Expect to write few more tests to cater for
490490
the reviews.</p></li>
491491
<li><p>People will discuss the relevance of your fixer. If it is
492492
something that goes along with Symfony style standards, or PSR-1/PSR-2

doc/custom_rules.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>
@@ -55,7 +55,7 @@ <h1>Creating custom rules<a class="headerlink" href="#creating-custom-rules" tit
5555
<p>If you need to enforce some specific code style rules, you can implement your
5656
own fixers. There is a <a class="reference internal" href="cookbook_fixers.html"><span class="doc">cookbook</span></a> with basic instructions on how to build a new fixer.</p>
5757
<p>For each rule you want to add, create a class that implements
58-
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>.
58+
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>.
5959
Note that there is a specific constraint
6060
regarding custom rules names: they must match the pattern
6161
<code class="docutils literal notranslate"><span class="pre">/^[A-Z][a-zA-Z0-9]*\/[a-z][a-z0-9_]*$/</span></code>.</p>
@@ -78,9 +78,9 @@ <h1>Creating custom rules<a class="headerlink" href="#creating-custom-rules" tit
7878
</div>
7979
<p>There are several interfaces that your fixers can also implement if needed:</p>
8080
<ul class="simple">
81-
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Fixer/WhitespacesAwareFixerInterface.php">PhpCsFixer\Fixer\WhitespacesAwareFixerInterface</a>: for fixers that need to know the configured indentation and line endings;</p></li>
82-
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Fixer/ConfigurableFixerInterface.php">PhpCsFixer\Fixer\ConfigurableFixerInterface</a>: to create a configurable fixer;</p></li>
83-
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.1/src/Fixer/DeprecatedFixerInterface.php">PhpCsFixer\Fixer\DeprecatedFixerInterface</a>: to deprecate a fixer.</p></li>
81+
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Fixer/WhitespacesAwareFixerInterface.php">PhpCsFixer\Fixer\WhitespacesAwareFixerInterface</a>: for fixers that need to know the configured indentation and line endings;</p></li>
82+
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Fixer/ConfigurableFixerInterface.php">PhpCsFixer\Fixer\ConfigurableFixerInterface</a>: to create a configurable fixer;</p></li>
83+
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.89.2/src/Fixer/DeprecatedFixerInterface.php">PhpCsFixer\Fixer\DeprecatedFixerInterface</a>: to deprecate a fixer.</p></li>
8484
</ul>
8585
</section>
8686

doc/installation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>

doc/ruleSets/Auto.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>

doc/ruleSets/AutoPHPMigration.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>

doc/ruleSets/AutoPHPMigrationRisky.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>

doc/ruleSets/AutoPHPUnitMigrationRisky.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>

doc/ruleSets/AutoRisky.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="clearfix">
2828
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
2929
<h1 class="title_header">
30-
<strong>Folding Bike (v3.89.1)</strong> edition
30+
<strong>Folding Bike (v3.89.2)</strong> edition
3131
</h1>
3232
</div>
3333
</div>

0 commit comments

Comments
 (0)