Skip to content

Commit 4623f1b

Browse files
committed
remove require_once, use only autoloader
1 parent 6500c97 commit 4623f1b

File tree

7 files changed

+0
-11
lines changed

7 files changed

+0
-11
lines changed

lib/jblond/Diff.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ public function getGroupedOpcodes()
178178
return $this->groupedCodes;
179179
}
180180

181-
require_once dirname(__FILE__).'/Diff/SequenceMatcher.php';
182181
$sequenceMatcher = new SequenceMatcher($this->a, $this->b, $this->options, null);
183182
$this->groupedCodes = $sequenceMatcher->getGroupedOpcodes($this->options['context']);
184183
return $this->groupedCodes;

lib/jblond/Diff/Renderer/Html/Array.php renamed to lib/jblond/Diff/Renderer/Html/HtmlArray.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
* @link https://github.com/JBlond/php-diff
4545
*/
4646

47-
require_once dirname(__FILE__).'/../Abstract.php';
48-
4947
/**
5048
* Class Diff_Renderer_Html_Array
5149
*/

lib/jblond/Diff/Renderer/Html/Inline.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
* @link https://github.com/JBlond/php-diff
4343
*/
4444

45-
require_once dirname(__FILE__).'/Array.php';
46-
4745
/**
4846
* Class Diff_Renderer_Html_Inline
4947
*/

lib/jblond/Diff/Renderer/Html/SideBySide.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
* @link https://github.com/JBlond/php-diff
4343
*/
4444

45-
require_once dirname(__FILE__).'/Array.php';
46-
4745
/**
4846
* Class Diff_Renderer_Html_SideBySide
4947
*/

lib/jblond/Diff/Renderer/Text/Context.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
* @link https://github.com/JBlond/php-diff
4545
*/
4646

47-
require_once dirname(__FILE__).'/../Abstract.php';
48-
4947
/**
5048
* Class Diff_Renderer_Text_Context
5149
*/

lib/jblond/Diff/Renderer/Text/Unified.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
* @link https://github.com/JBlond/php-diff
4545
*/
4646

47-
require_once dirname(__FILE__).'/../Abstract.php';
48-
4947
/**
5048
* Class Diff_Renderer_Text_Unified
5149
*/

0 commit comments

Comments
 (0)