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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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. -->
+1 −1
Original line number Diff line number Diff line
@@ -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. -->