cancel
Showing results for 
Search instead for 
Did you mean: 

Run MEQP on Magento 2.3.1 with PHP 7.1

Run MEQP on Magento 2.3.1 with PHP 7.1

I want to run MEQP tool on Magento 2.3.1 project and the PHP version is 7.1. We used some of the 7.1 supported syntax so the MEQP tool is throwing the errors. Please help to overcome this.

3 REPLIES 3

Re: Run MEQP on Magento 2.3 with PHP 7.3

Hi @kalyanchakri 

 

Have you checked for this solution? Or You there is any issue with PHP 7.3 that you are facing can you please share if any?

 

Thanks

Re: Run MEQP on Magento 2.3 with PHP 7.3

Hi @PankajS_Magento 

 

Sorry I just updated my question. Magento version is 2.3.1 and PHP version is 7.1. 


The suggested post will not help because it is totally different error. I was able to generate the report and report has the syntax errors which are actually allowed in php 7.1

Tool: https://github.com/magento/magento-coding-standard

This is the PHP syntax error I got in the report:

syntax error, unexpected ':', expecting ';' or '{'

Relevant Magento line:

public function setExtensionFromData(Order $order): Order 

 

Re: Run MEQP on Magento 2.3 with PHP 7.3

Actually there is some mis-configuration with PHP. I resolved it. Thanks.