Subversion Repositories currency_converter

Compare Revisions

No changes between revisions

Regard whitespace Rev 20 → Rev 21

/trunk/PHP/currency_calc.inc.php
75,7 → 75,7
 
if ((!isset($data['success'])) || ($data['success'] !== true)) {
if ($raise_exception) {
if (isset($test_data['error'])) throw new CurrencyLayerException($test_data['error']['code'] . ' : ' . $test_data['error']['info']);
if (isset($data['error'])) throw new CurrencyLayerException($data['error']['code'] . ' : ' . $data['error']['info']);
throw new CurCalcException('JSON file '.$this->jsonfile.' does not contain valid request data. Please download it again.');
} else {
return false;
/trunk/phpstan.neon.dist
0,0 → 1,15
parameters:
level: 5
fileExtensions:
- php
- phps
paths:
- .
excludePaths:
analyseAndScan:
- .phpstan.tmp
tmpDir: .phpstan.tmp
ignoreErrors:
#- '#is always (true|false)\.#'
#- '#Call to function assert\(\) with false will always evaluate to false\.#'
#- '#with no typehint specified\.#'
/trunk/.
Property changes:
Modified: svn:ignore
*.identcache
*.stat
Output
+.phpstan.tmp
+phpstan.neon
+