Skip to content

Commit

Permalink
autoload in tests only
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Nov 23, 2017
1 parent ae77625 commit 5ff3da5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions client.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php
require_once __DIR__.'/vendor/autoload.php';

if (!class_exists('LightningStrikeClient')):

class LightningStrikeClient {
Expand Down
2 changes: 1 addition & 1 deletion test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require_once __DIR__.'/vendor/autoload.php';
require_once 'vendor/autoload.php';

class LightningStrikeClientTest extends \PHPUnit\Framework\TestCase {

Expand Down

0 comments on commit 5ff3da5

Please sign in to comment.