Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Jul 27, 2016
1 parent 17b5650 commit c2f7565
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/Adapters/Snipplr.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Embed\Adapters;

use Embed\Request;
use Embed\Utils;

/**
* Adapter to generate embed code from snipplr.com.
Expand Down
2 changes: 1 addition & 1 deletion src/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public static function iframe($src, $width = 0, $height = 0, $styles = '')
/**
* Creates an <script> element.
*
* @param string $src The src attribute
* @param string $src The src attribute
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/IdeoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testOne()
'type' => 'rich',
'providerName' => 'Ideone.com',
'providerUrl' => 'http://ideone.com',
'code' => '<script src="http://ideone.com/e.js/Whjntg"></script>'
'code' => '<script src="http://ideone.com/e.js/Whjntg"></script>',
]
);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/JsbinTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testOne()
'type' => 'rich',
'providerName' => 'jsbin',
'providerUrl' => 'http://jsbin.com',
'code' => '<iframe src="http://jsbin.com/vonesu/10/embed" width="640" height="480" frameborder="0"></iframe>'
'code' => '<iframe src="http://jsbin.com/vonesu/10/embed" width="640" height="480" frameborder="0"></iframe>',
]
);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/PastieTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testOne()
'type' => 'rich',
'providerName' => 'pastie',
'providerUrl' => 'http://pastie.org',
'code' => '<script src="http://pastie.org/10916298.js"></script>'
'code' => '<script src="http://pastie.org/10916298.js"></script>',
]
);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/SnipplrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testOne()
'type' => 'rich',
'providerName' => 'snipplr',
'providerUrl' => 'http://snipplr.com',
'code' => '<div id="snipplr_embed_72914" class="snipplr_embed"><a target_"blank" href="http://snipplr.com/view/72914">View this snippet</a> on Snipplr</div><script type="text/javascript" src="http://snipplr.com/js/embed.js"></script><script type="text/javascript" src="http://snipplr.com/json/72914"></script>'
'code' => '<div id="snipplr_embed_72914" class="snipplr_embed"><a target_"blank" href="http://snipplr.com/view/72914">View this snippet</a> on Snipplr</div><script type="text/javascript" src="http://snipplr.com/js/embed.js"></script><script type="text/javascript" src="http://snipplr.com/json/72914"></script>',
]
);
}
Expand Down

0 comments on commit c2f7565

Please sign in to comment.