Lizmap-web-client: Undefined variables in lizmapWMSRequest

Created on 20 Nov 2020  路  2Comments  路  Source: 3liz/lizmap-web-client

What is the bug?

There is 3 undefined variables in lizmap/modules/lizmap/classes/lizmapWMSRequest.class.php on master branch.

line 188 : $data
line 470 : $gfiparams
line 808 : $xmldata

bug

All 2 comments

@alagroy-42 I'm not a PHP dev. Do you know if it's possible to add this extension in PHP-CS-Fixer or similar CLI tools ? https://blog.fox21.at/2016/08/26/php-detect-undefined-variables.html or similar tool ?

@Gustry IMHO, we should add a dedicated tool for this kind of detection.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

21Damien picture 21Damien  路  4Comments

robibrazze picture robibrazze  路  5Comments

cocro picture cocro  路  7Comments

tethysgeco picture tethysgeco  路  8Comments

pcav picture pcav  路  5Comments