Skip to content

Commit 7dee25b

Browse files
author
github-actions
committed
bump to v3.95.2
1 parent 11a59e7 commit 7dee25b

414 files changed

Lines changed: 1029 additions & 1029 deletions

File tree

Some content is hidden

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

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<div class="clearfix">
3838
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3939
<h1 class="title_header">
40-
<strong>Adalbertus (v3.95.1)</strong> edition
40+
<strong>Adalbertus (v3.95.2)</strong> edition
4141
</h1>
4242
</div>
4343
<nav class="nav">

doc/config.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">
@@ -77,7 +77,7 @@ <h2>No config<a class="headerlink" href="#no-config" title="Permalink to this he
7777
</div>
7878
<p>While it is possible to provide command line options to configure rules,
7979
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.
80-
The file must return an instance of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/ConfigInterface.php">PhpCsFixer\ConfigInterface</a>,
80+
The file must return an instance of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/ConfigInterface.php">PhpCsFixer\ConfigInterface</a>,
8181
which lets you configure the rules, finder (the files and directories that
8282
need to be analysed), select output format and even configure path to <code class="docutils literal notranslate"><span class="pre">PHP</span></code>.</p>
8383
<p>You may also create <code class="docutils literal notranslate"><span class="pre">.php-cs-fixer.php</span></code> file, which is

doc/cookbook_fixers.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">
@@ -82,8 +82,8 @@ <h2>Background<a class="headerlink" href="#background" title="Permalink to this
8282
discouraged - it is meant only to give more people more chance to
8383
contribute, and to detect bugs (<a class="reference external" href="https://en.wikipedia.org/wiki/Linus%27s_Law">Linus’s Law</a>).</p>
8484
<p>If possible, try to get acquainted with the public interface for the
85-
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Tokenizer/Tokens.php">PhpCsFixer\Tokenizer\Tokens</a> and
86-
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Tokenizer/Token.php">PhpCsFixer\Tokenizer\Token</a> classes.</p>
85+
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Tokenizer/Tokens.php">PhpCsFixer\Tokenizer\Tokens</a> and
86+
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Tokenizer/Token.php">PhpCsFixer\Tokenizer\Token</a> classes.</p>
8787
</section>
8888
<section id="assumptions">
8989
<h2>Assumptions<a class="headerlink" href="#assumptions" title="Permalink to this heading"></a></h2>
@@ -97,8 +97,8 @@ <h2>Assumptions<a class="headerlink" href="#assumptions" title="Permalink to thi
9797
</ul>
9898
<p>In case you want to create a custom fixer for your own use, you can
9999
follow this guide as well, but you will need to apply some changes on the go,
100-
for example use <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>
101-
instead of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a> (which is internal
100+
for example use <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>
101+
instead of <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a> (which is internal
102102
and not covered with BC promise).</p>
103103
</section>
104104
<section id="step-by-step">
@@ -153,8 +153,8 @@ <h3>Step 1 - Creating files<a class="headerlink" href="#step-1-creating-files" t
153153
</pre></div>
154154
</div>
155155
<p>Note how the class and file name match. Also keep in mind that all
156-
fixers must implement <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>. In this case, the fixer is
157-
inheriting from <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a>, which fulfills the interface with some
156+
fixers must implement <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>. In this case, the fixer is
157+
inheriting from <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/AbstractFixer.php">PhpCsFixer\AbstractFixer</a>, which fulfills the interface with some
158158
default behaviour.</p>
159159
<p>Now let us create the test file at
160160
<code class="docutils literal notranslate"><span class="pre">tests/Fixer/Comment/RemoveCommentsFixerTest.php</span></code>. Put this content inside:</p>
@@ -544,10 +544,10 @@ <h2>Q&amp;A<a class="headerlink" href="#q-a" title="Permalink to this heading">
544544
you use <code class="docutils literal notranslate"><span class="pre">getPrevMeaningfulToken()</span></code>, no matter if you have got a comment
545545
or a whitespace, the returned token will always be <code class="docutils literal notranslate"><span class="pre">-&gt;</span></code>.</p>
546546
</dd>
547-
<dt>Why am I asked to iterate <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Tokenizer/Tokens.php">PhpCsFixer\Tokenizer\Tokens</a> backward?</dt><dd><p>If you add new tokens to the collection, and iterating the collection going forward, you will mismatch the index/not add the items properly.</p>
547+
<dt>Why am I asked to iterate <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Tokenizer/Tokens.php">PhpCsFixer\Tokenizer\Tokens</a> backward?</dt><dd><p>If you add new tokens to the collection, and iterating the collection going forward, you will mismatch the index/not add the items properly.</p>
548548
<p>See <a class="reference external" href="https://3v4l.org/sP9s0#v8.5.1">https://3v4l.org/sP9s0#v8.5.1</a>.</p>
549549
</dd>
550-
<dt>How shall I decide on default option values for rules configurable via <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Fixer/ConfigurableFixerInterface.php">PhpCsFixer\Fixer\ConfigurableFixerInterface</a>?</dt><dd><p>Default value should reflect default style of following standard, in order:</p>
550+
<dt>How shall I decide on default option values for rules configurable via <a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Fixer/ConfigurableFixerInterface.php">PhpCsFixer\Fixer\ConfigurableFixerInterface</a>?</dt><dd><p>Default value should reflect default style of following standard, in order:</p>
551551
<ul class="simple">
552552
<li><p><a class="reference external" href="https://www.php-fig.org/per/coding-style/">PER-CS</a>,</p></li>
553553
<li><p>if not specified - <a class="reference external" href="https://symfony.com/doc/current/contributing/code/standards.html">Symfony Coding Standards</a> or PHPUnit best practices,</p></li>

doc/custom_rules.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">
@@ -71,7 +71,7 @@ <h1>Creating custom rules<a class="headerlink" href="#creating-custom-rules" tit
7171
<p>If you need to enforce some specific code style rules, you can implement your
7272
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>
7373
<p>For each rule you want to add, create a class that implements
74-
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>.
74+
<a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Fixer/FixerInterface.php">PhpCsFixer\Fixer\FixerInterface</a>.
7575
Note that there is a specific constraint
7676
regarding custom rules names: they must match the pattern
7777
<code class="docutils literal notranslate"><span class="pre">/^[A-Z][a-zA-Z0-9]*\/[a-z][a-z0-9_]*$/</span></code>.</p>
@@ -94,9 +94,9 @@ <h1>Creating custom rules<a class="headerlink" href="#creating-custom-rules" tit
9494
</div>
9595
<p>There are several interfaces that your fixers can also implement if needed:</p>
9696
<ul class="simple">
97-
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Fixer/WhitespacesAwareFixerInterface.php">PhpCsFixer\Fixer\WhitespacesAwareFixerInterface</a>: for fixers that need to know the configured indentation and line endings;</p></li>
98-
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Fixer/ConfigurableFixerInterface.php">PhpCsFixer\Fixer\ConfigurableFixerInterface</a>: to create a configurable fixer;</p></li>
99-
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.1/src/Fixer/DeprecatedFixerInterface.php">PhpCsFixer\Fixer\DeprecatedFixerInterface</a>: to deprecate a fixer.</p></li>
97+
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Fixer/WhitespacesAwareFixerInterface.php">PhpCsFixer\Fixer\WhitespacesAwareFixerInterface</a>: for fixers that need to know the configured indentation and line endings;</p></li>
98+
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Fixer/ConfigurableFixerInterface.php">PhpCsFixer\Fixer\ConfigurableFixerInterface</a>: to create a configurable fixer;</p></li>
99+
<li><p><a class="reference external" href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.95.2/src/Fixer/DeprecatedFixerInterface.php">PhpCsFixer\Fixer\DeprecatedFixerInterface</a>: to deprecate a fixer.</p></li>
100100
</ul>
101101
</section>
102102

doc/installation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">

doc/ruleSets/Auto.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">

doc/ruleSets/AutoPHPMigration.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">

doc/ruleSets/AutoPHPMigrationRisky.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">

doc/ruleSets/AutoPHPUnitMigrationRisky.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">

doc/ruleSets/AutoRisky.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="clearfix">
3434
<div class="logo_header"><a href="/">PHP Coding Standards Fixer</a></div>
3535
<h1 class="title_header">
36-
<strong>Adalbertus (v3.95.1)</strong> edition
36+
<strong>Adalbertus (v3.95.2)</strong> edition
3737
</h1>
3838
</div>
3939
<nav class="nav">

0 commit comments

Comments
 (0)