spekulatius / PHPScraper

A universal web-util for PHP.
https://phpscraper.de
GNU General Public License v3.0
527 stars 74 forks source link

Syntax Error when i tried using PHP 7.3 #180

Closed ryanjauhari closed 1 year ago

ryanjauhari commented 1 year ago

PHP thrown and error like this

Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')' in /www/wwwroot/mydomain.com/dist/tools_box/vendor/spekulatius/phpscraper/src/UsesFileParsers.php on line 24
spekulatius commented 1 year ago

Hello @ryanjauhari

oh, okay. Sounds like 7.3 (and 7.4) should go out anyways: https://www.php.net/supported-versions.php I'll get it on the way.

Cheers, Peter

spekulatius commented 1 year ago

The fix is merged into master and will be released soon as v2. Feel free to test the current master to see if everything works for you @ryanjauhari

spekulatius commented 1 year ago

Hey @ryanjauhari

I've tagged a new release that should cover this issue.

Cheers, Peter