• hello – i am seeing these lint errors (below). i am very tempted to just edit the files and remove the word “new” but i dont like messing with plugin source code if i can help it.

    is 3.15.1 supposed to be compatible with php 7.2?

    PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in ./wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/visual_test.php on line 43
    
    Errors parsing ./wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/visual_test.php
    
    PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in ./wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/parse_error_test.php on line 6
    
    Errors parsing ./wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/parse_error_test.php
    
    PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in ./wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/eclipse_test.php on line 15
    
    Errors parsing ./wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/eclipse_test.php

    complete list:

    wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/visual_test.php
    wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/parse_error_test.php
    wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/test/eclipse_test.php
    wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/eclipse.php
    wpsc-components/merchant-core-v3/gateways/php-merchant/tests/simpletest/detached.ph
    • This topic was modified 4 years, 2 months ago by edwardsmark.
    • This topic was modified 4 years, 2 months ago by edwardsmark.
  • The topic ‘lint test errors with 3.15.1 and php 7.2’ is closed to new replies.