schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
426 stars 292 forks source link

ExtractTranslationCommand unlink() expects parameter 1 to be a valid path, object given #537

Closed TheRatG closed 4 years ago

TheRatG commented 4 years ago
Q A
Bundle version 1.5, master
Symfony version 4.4
PHP version 7.3

Expected behavior

Unlink translation file

Actual behavior

In Updater.php line 159:

  [TypeError]                                                    
  unlink() expects parameter 1 to be a valid path, object given 

Steps to reproduce

Run command translation:extract two times

./bin/console  --env=test translation:extract --config=app en --no-interaction
./bin/console  --env=test translation:extract --config=app en --no-interaction
goetas commented 4 years ago

fixed in https://github.com/schmittjoh/JMSTranslationBundle/pull/538