Fixed includes/class-wc-session-handler.php PHPCS violations
This commit is contained in:
parent
24cc589fd5
commit
8a31755b8c
|
@ -8,16 +8,12 @@
|
|||
* @class WC_Session_Handler
|
||||
* @version 2.5.0
|
||||
* @package WooCommerce/Classes
|
||||
* @category Class
|
||||
* @author Automattic
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
/**
|
||||
* WC_Session_Handler
|
||||
* Session handler class.
|
||||
*/
|
||||
class WC_Session_Handler extends WC_Session {
|
||||
|
||||
|
|
|
@ -24,8 +24,9 @@
|
|||
<!-- Rules -->
|
||||
<rule ref="WooCommerce-Core" />
|
||||
<rule ref="PHPCompatibility">
|
||||
<exclude name="PHPCompatibility.PHP.NewKeywords.t_namespaceFound" />
|
||||
<exclude name="PHPCompatibility.PHP.NewFunctions.hash_equalsFound" />
|
||||
<exclude name="PHPCompatibility.PHP.NewInterfaces.jsonserializableFound" />
|
||||
<exclude name="PHPCompatibility.PHP.NewKeywords.t_namespaceFound" />
|
||||
<exclude-pattern>tests/</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
|
|
Loading…
Reference in New Issue