Skip to content

Commit

Permalink
0.0.7: «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 cd401be commit b88d895
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions T/Basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ function t00() {}
* «You do not need authentication to retrieve the list of versions.»
* https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_versions.htm
*/
function t01_versions() {echo df_json_encode(F::s()->versions());}
function t01_versions() {print_r(df_json_encode(F::s()->versions()));}

/** 2017-07-09 */
function t02_the_latest_version() {echo df_json_prettify(file_get_contents(self::url(
function t02_the_latest_version() {print_r(df_json_prettify(file_get_contents(self::url(
df_last(df_http_json(self::url('services/data')))['url']
)));}
))));}

/** 2017-07-09 */
function t03_invalid() {echo df_json_encode(F::s()->invalid());}
function t03_invalid() {print_r(df_json_encode(F::s()->invalid()));}

/**
* 2017-07-09
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/salesforce"
,"version": "0.0.6"
,"version": "0.0.7"
,"description": "The «Salesforce» extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/salesforce"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.8.10"}
,"require": {"mage2pro/core": ">=2.12.21"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Salesforce\\": ""}}
,"keywords": [
"API"
Expand Down

0 comments on commit b88d895

Please sign in to comment.