OMOSde / contao-om-backend

Additional backend tools for Contao 4.4+
GNU Lesser General Public License v3.0
19 stars 5 forks source link

Update wa72/htmlpagedom dependency (and code if necessary) #63

Closed fritzmg closed 3 years ago

fritzmg commented 3 years ago

Currently this extension requires wa72/htmlpagedom in version ^1.3. However there is one problem: versions 1.3.2 through 1.4.2 (the newest 1.x version) of this package are incompatible with Symfony 4.4 or higher. Thus only version 1.3.1 of this package can be installed in Contao 4.9 and up. This makes it more difficult to install this extension in Contao 4.11, because wa72/htmlpagedom would need to be downgraded.

There is however a version 2.x, which supports a better range of Symfony versions.

OMOSde commented 3 years ago

I have looked at the problem and found that the library is only used in one place in the code. I think the best thing will be to modify the code so that the dependency can be removed.

OMOSde commented 3 years ago

Changed in b8d7b244b89bf20d2308cf904ff46b0e14608f5c