Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #1

Merged
merged 1 commit into from
Nov 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Provider/CentralBankOfRepublicTurkeyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Central Bank of Republic of Turkey (CBRT) provider.
*
* @link http://tcmb.gov.tr
* @see http://tcmb.gov.tr
*
* @author Uğur Erkan <[email protected]>
*/
Expand Down
1 change: 1 addition & 0 deletions src/Util/StringUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static function jsonToArray($string)

if (JSON_ERROR_NONE !== json_last_error()) {
$last = json_last_error();

throw new \RuntimeException(
'Unable to parse JSON data: '
.(isset($jsonErrors[$last]) ? $jsonErrors[$last] : 'Unknown error')
Expand Down
1 change: 1 addition & 0 deletions tests/Tests/Provider/CurrencyLayerProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Swap\Tests\Provider;

use Swap\Model\CurrencyPair;
Expand Down