heimrichhannot / contao-exporter-bundle

A backend module for exporting any contao entity to file.
1 stars 2 forks source link

Add missing variable #17

Closed fritzmg closed 5 months ago

fritzmg commented 5 months ago

The composer.json of the current version still allows PHP 7.4. However, the current version also has code in it that is only compatible with PHP 8 - e.g.:

ParseError:
syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE)

  at vendor\heimrichhannot\contao-exporter-bundle\src\FrontendModule\ModuleFrontendExporter.php:76

(https://wiki.php.net/rfc/non-capturing_catches)

koertho commented 5 months ago

@fritzmg Thanks! :)