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
5 changed files
with
33 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,7 +139,7 @@ public function close() | |
*/ | ||
public function read($id) | ||
{ | ||
return; | ||
return ''; | ||
} | ||
|
||
/** | ||
|
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Joomla"> | ||
|
||
<arg name="report" value="full"/> | ||
<arg name="tab-width" value="4"/> | ||
<arg name="encoding" value="utf-8"/> | ||
<arg value="sp"/> | ||
<arg name="colors" /> | ||
|
||
<!-- Exclude folders not containing production code --> | ||
<exclude-pattern>*/.github/*</exclude-pattern> | ||
<exclude-pattern>*/.travis/*</exclude-pattern> | ||
|
||
<!-- Exclude 3rd party libraries. --> | ||
<exclude-pattern>*/vendor/*</exclude-pattern> | ||
|
||
<rule ref="Joomla"> | ||
<!-- Variables inherited from the PHP SessionHandlerInterface definition are named in snake case --> | ||
<exclude name="Joomla.NamingConventions.ValidVariableName"/> | ||
<!-- Required due to legacy methods being named with a leading underscore, should be fixed in 2.0 --> | ||
<exclude name="Joomla.NamingConventions.ValidFunctionName.MethodUnderscore"/> | ||
</rule> | ||
</ruleset> |