-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
69 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Joomla"> | ||
<ruleset name="PSR12 with Joomla specific additions"> | ||
<description> | ||
This is a PSR-12 compliant ruleset for Joomla. | ||
</description> | ||
|
||
<file>src</file> | ||
<file>tests</file> | ||
|
||
<arg name="extensions" value="php"/> | ||
<arg name="report" value="full"/> | ||
<arg name="tab-width" value="4"/> | ||
<arg name="encoding" value="utf-8"/> | ||
<arg value="sp"/> | ||
<arg name="colors" /> | ||
<arg value="sp"/> | ||
|
||
<!-- Exclude folders not containing production code --> | ||
<exclude-pattern>*/.github/*</exclude-pattern> | ||
|
||
<!-- Exclude 3rd party libraries. --> | ||
<exclude-pattern>*/vendor/*</exclude-pattern> | ||
|
||
<rule ref="Joomla"> | ||
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/> | ||
</rule> | ||
|
||
<rule ref="Joomla.Classes.InstantiateNewClasses"> | ||
<properties> | ||
<property name="shortArraySyntax" value="true"/> | ||
</properties> | ||
<rule ref="PSR12"> | ||
<exclude name="Generic.Files.LineLength.MaxExceeded"/> | ||
<exclude name="Generic.Files.LineLength.TooLong"/> | ||
</rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php /** @noinspection PhpIllegalPsrClassPathInspection */ | ||
<?php | ||
|
||
// phpcs:ignoreFile | ||
|
||
class JRegistry | ||
{ | ||
|