Skip to content

Commit

Permalink
1.2.3: «Use of echo language construct is discouraged»: mage2pro/core#28
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 27, 2017
1 parent 774d590 commit 0921744
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions T/Basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function t01() {
xdebug_break();
// Google Maps API Reference:
// https://developers.google.com/maps/documentation/geocoding/intro#Types
echo df_dump([
print_r(df_dump([
'city' => $a->getAdminLevels()->first()->getName()
// 2017-04-24
// In my case: «BR».
Expand Down Expand Up @@ -64,15 +64,15 @@ function t01() {
// Each sublocality level is a civil entity.
// Larger numbers indicate a smaller geographic area.».
,'sublocality' => $a->getSubLocality()
]);
]));
}
}

/** @test 2017-07-20 */
function t02() {
/** @var A $a */
$a = df_geo(self::$K, 'pt-BR', 'br')->p('fasfesedf Rio de Janeiro 201111111');
echo df_json_encode($a->toArray());
print_r(df_json_encode($a->toArray()));
}

/**
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/geo"
,"version": "1.2.2"
,"version": "1.2.3"
,"description": "A geocoding library for my Magento 2 extensions."
,"type": "magento2-module"
,"homepage": "https://github.com/mage2pro/geo"
Expand All @@ -11,6 +11,6 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.11.8", "willdurand/geocoder": "3.3.0"}
,"require": {"mage2pro/core": ">=2.12.21", "willdurand/geocoder": "3.3.0"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Df\\Geo\\": ""}}
}

0 comments on commit 0921744

Please sign in to comment.