ExcelBundle icon indicating copy to clipboard operation
ExcelBundle copied to clipboard

Prepare for symfony 4 #SymfonyConHackday2017

Open Jan0707 opened this issue 7 years ago • 14 comments

Minor edits to enable installation with symfony 4

Jan0707 avatar Nov 18 '17 09:11 Jan0707

@Jan0707 Please also update the service definition to use the FQCN's. :grin:

ghost avatar Dec 04 '17 13:12 ghost

@Jan0707 any plans on fixing the mentioned issues in the near future?

ireznik avatar Dec 06 '17 09:12 ireznik

Sorry folks, I was travelling. I renamed the service, but added a legacy alias, so that we do not break all the installations out there ;)

Jan0707 avatar Dec 08 '17 09:12 Jan0707

Please create a new release when this is fixed @Jan0707.

ghost avatar Dec 11 '17 13:12 ghost

Not really sure what to do about the memory issue here ...

Jan0707 avatar Dec 12 '17 13:12 Jan0707

Hey, I have added some tweaks to this changes: https://github.com/Jan0707/ExcelBundle/pull/1 https://travis-ci.org/adiq/ExcelBundle/builds/324158521

This fixes:

  • memory issue by injecting php ini file with memory_limit=-1
  • some build issues by correcting symfony versions
  • readme tweaks to use the new service name

Now, it all comes down to what versions of symfony/php would you want to support. From what I discovered symfony versions <3.2 have an issue when running tests due to var-dumper package not been loaded (see https://github.com/symfony/symfony/issues/20201 and https://github.com/symfony/symfony/pull/21491).

Maybe some compromise would be just to release v3 version as the users of older symfony versions would not benefit from this changes IMHO and it would be easier to maintain ;-)

adiq avatar Jan 02 '18 15:01 adiq

Could we at least manage to support 3.4 as LTS ?

Jan0707 avatar Jan 02 '18 20:01 Jan0707

That's the question to the maintainer. Newest 3.X version is included in tests and is passing successfully

adiq avatar Jan 02 '18 21:01 adiq

@adiq I just merged your pr into my pr.

Jan0707 avatar Jan 04 '18 20:01 Jan0707

@liuggio can you please merge this and tag a new release? Or is there any issue with the pr?

Tomsgu avatar Jan 19 '18 09:01 Tomsgu

Hello people. I taked a look into travis test and the test doesn't finish well becuase composer can't be dowloaded. I newbie at this time contribuying to some repository but I want to make use of the bundle over symfony's 4 version.

Can I do something to run travis test again to gain that someone aprove this PR?

Cheers. Jaime.

mrljaime avatar Jan 23 '18 17:01 mrljaime

@mrljaime as PhpExcel lib in this bundle is deprecated and maintainer doesn't want to support this, it's recommended to use https://github.com/roromix/SpreadsheetBundle instead. It's using new, maintained lib, is compatible with newer versions of Symfony and is similar in use to this bundle ;-)

adiq avatar Jan 23 '18 17:01 adiq

Thank's a lot @adiq

I will use it right now.

mrljaime avatar Jan 23 '18 17:01 mrljaime

@liuggio Are you planning on checking out this PR or is it time that we use a different bundle?

ghost avatar Jan 29 '18 11:01 ghost