Skip to content
Snippets Groups Projects
Unverified Commit c11c2957 authored by Klaus Purer's avatar Klaus Purer Committed by GitHub
Browse files

fix(autoload): Move autoloading to more unique file name to workaround PHPCS...

fix(autoload): Move autoloading to more unique file name to workaround PHPCS relative path confusion
parent 326c945c
Branches
Tags
No related merge requests found
......@@ -3,6 +3,8 @@
/**
* Includes classes which are not detected by PHP_CodeSniffer's autoloader.
*
* This file has a weird name on purpose because of https://github.com/squizlabs/PHP_CodeSniffer/pull/2751
*
* @category PHP
* @package PHP_CodeSniffer
* @link http://pear.php.net/package/PHP_CodeSniffer
......
......@@ -5,7 +5,7 @@
<!-- All Drupal code files must be UTF-8 encoded and we treat them as such. -->
<arg name="encoding" value="utf-8"/>
<autoload>autoload.php</autoload>
<autoload>./coder_unique_autoload_phpcs_bug_2751.php</autoload>
<rule ref="Internal.NoCodeFound">
<!-- Empty files are fine, might be used for testing. -->
......
......@@ -5,7 +5,7 @@
<!-- All Drupal code files must be UTF-8 encoded and we treat them as such. -->
<arg name="encoding" value="utf-8"/>
<autoload>../Drupal/autoload.php</autoload>
<autoload>../Drupal/coder_unique_autoload_phpcs_bug_2751.php</autoload>
<rule ref="Internal.NoCodeFound">
<!-- Empty files are fine, might be used for testing. -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment