Skip to content

Commit

Permalink
Ruleset: init PHP 8.3-8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Dec 6, 2024
1 parent 3d797a6 commit 08cd9fd
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ruleset-8.2.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Contributte" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>Contributte Coding Standards - for PHP 8.1</description>
<description>Contributte Coding Standards - for PHP 8.2</description>

<!-- ################################################################### -->

<config name="php_version" value="80100"/>
<config name="php_version" value="80200"/>

<rule ref="./ruleset.xml"/>

Expand Down
13 changes: 13 additions & 0 deletions ruleset-8.3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Contributte" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>Contributte Coding Standards - for PHP 8.3</description>

<!-- ################################################################### -->

<config name="php_version" value="80300"/>

<rule ref="./ruleset.xml"/>

<!-- ################################################################### -->

</ruleset>
13 changes: 13 additions & 0 deletions ruleset-8.4.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Contributte" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>Contributte Coding Standards - for PHP 8.4</description>

<!-- ################################################################### -->

<config name="php_version" value="80400"/>

<rule ref="./ruleset.xml"/>

<!-- ################################################################### -->

</ruleset>
2 changes: 1 addition & 1 deletion ruleset-next.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<!-- ################################################################### -->

<config name="php_version" value="80200"/>
<config name="php_version" value="80400"/>

<rule ref="./ruleset.xml"/>

Expand Down

0 comments on commit 08cd9fd

Please sign in to comment.