Skip to content

Commit

Permalink
Merge pull request #5465 from 3liz/backport-5461-to-release_3_9
Browse files Browse the repository at this point in the history
[Backport release_3_9] Change the PHP namespace for JSON Machine
  • Loading branch information
Gustry authored Feb 25, 2025
2 parents 954c7cb + 19b1976 commit 86e548f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lizmap/modules/dataviz/classes/datavizPlot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

use GuzzleHttp\Psr7;
use JsonMachine;
use JsonMachine as Json;
use Lizmap\Project\Project;
use Lizmap\Project\UnknownLizmapProjectException;
use Lizmap\Request\WFSRequest;
Expand Down Expand Up @@ -514,7 +514,7 @@ public function fetchData($method = 'wfs', $exp_filter = '')

// Features as iterator
$featureStream = Psr7\StreamWrapper::getResource($wfsresponse->getBodyAsStream());
$features = JsonMachine\Items::fromStream($featureStream, array('pointer' => '/features'));
$features = Json\Items::fromStream($featureStream, array('pointer' => '/features'));

$f1 = null;
$traceBuilders = array();
Expand Down

0 comments on commit 86e548f

Please sign in to comment.