Skip to content

Commit

Permalink
1.0.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 37af976 commit a4dca31
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 @@ -7,9 +7,9 @@ final class Basic extends TestCase {
* «How to include related entities to a response on a Web API «get list» request?»
* https://oplatform.club/t/105
*/
function t01_orders() {echo df_json_encode(df_oro_get_list(
function t01_orders() {print_r(df_json_encode(df_oro_get_list(
'orders', ['product' => 1], ['product', 'website'], true
));}
)));}

/** @test */
function t02_orders_stripe() {
Expand All @@ -34,6 +34,6 @@ function t02_orders_stripe() {
];
}
));
echo df_json_encode($websites);
print_r(df_json_encode($websites));
}
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/oro"
,"version": "1.0.2"
,"version": "1.0.3"
,"description": "A custom integration between Magento 2 and Oro Platform."
,"type": "magento2-module"
,"homepage": "https://ocrm.pro"
Expand All @@ -11,6 +11,6 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.8.17"}
,"require": {"mage2pro/core": ">=2.12.21"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Df\\Oro\\": ""}}
}

0 comments on commit a4dca31

Please sign in to comment.