bug #22364 [Dotenv] Throwing an error when loading nothing (sanpii)
bug #22364 [Dotenv] Throwing an error when loading nothing (sanpii)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[Dotenv] Throwing an error when loading nothing

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

This is a quick fix to prevent anoying when you follow a tutorial using another dotenv component. For example, this code uses [vlucas/phpdotenv](https://packagist.org/packages/vlucas/phpdotenv):

```php
$dotenv = new Dotenv\Dotenv(__DIR__.'/../');
$dotenv->load();
```

Silently failed with symfony/dotenv.

Commits
-------

911bc68991 [Dotenv] Throwing an error when loading nothing

curry684/symfony,joelwurtz/symfony,docteurklein/symfony,kbond/symfony,dmaicher/symfony,frankdejonge/symfony,teohhanhui/symfony,dunglas/symfony,Pierstoval/symfony,lepiaf/symfony,bendavies/symfony,Taluu/symfony,derrabus/symfony,derrabus/symfony,dunglas/symfony,Taluu/symfony,iltar/symfony,docteurklein/symfony,d-ph/symfony,Slamdunk/symfony,neemzy/symfony,ragboyjr/symfony,jvasseur/symfony,Einenlum/symfony,aeoris/symfony,sgehrig/symfony,sroze/symfony,yceruto/symfony,iltar/symfony,vincentaubert/symfony,ogizanagi/symfony,chalasr/symfony,bendavies/symfony,jakzal/symfony,paradajozsef/symfony,bendavies/symfony,pierredup/symfony,pamil/symfony,c960657/symfony,joelwurtz/symfony,jean-gui/symfony,lyrixx/symfony,jvasseur/symfony,michaelperrin/symfony,kbond/symfony,ajgarlag/symfony,localheinz/symfony,hason/symfony,c960657/symfony,josephdpurcell/symfony,mweimerskirch/symfony,OskarStark/symfony,Koc/symfony,ro0NL/symfony,HeahDude/symfony,andreia/symfony,Engerim/symfony,csarrazi/symfony,symfony/symfony,HeahDude/symfony,xabbuh/symfony,hason/symfony,damienalexandre/symfony,Taluu/symfony,Simperfit/symfony,gimler/symfony,gonzalovilaseca/symfony,aeoris/symfony,garak/symfony,gencer/symfony,DavidGarciaCat/symfony,DavidGarciaCat/symfony,tgalopin/symfony,kbond/symfony,stof/symfony,Nyholm/symfony,Amo/symfony,sroze/symfony,localheinz/symfony,Pierstoval/symfony,fabpot/symfony,gnat42/symfony,lepiaf/symfony,maidmaid/symfony,mpdude/symfony,mnapoli/symfony,ogizanagi/symfony,alekitto/symfony,Tobion/symfony,neemzy/symfony,arjenm/symfony,Koc/symfony,zorn-v/symfony,docteurklein/symfony,Einenlum/symfony,Tobion/symfony,Amo/symfony,hason/symfony,pierredup/symfony,HeahDude/symfony,oleg-andreyev/symfony,voronkovich/symfony,lstrojny/symfony,Deamon/symfony,joelwurtz/symfony,teohhanhui/symfony,alekitto/symfony,sgehrig/symfony,Slamdunk/symfony,pamil/symfony,paradajozsef/symfony,MatTheCat/symfony,tucksaun/symfony,stof/symfony,c960657/symfony,Simperfit/symfony,sgehrig/symfony,garak/symfony,mnapoli/symfony,michaelperrin/symfony,kbond/symfony,mpdude/symfony,Simperfit/symfony,Simperfit/symfony,Amo/symfony,WhiteEagle88/symfony,MatTheCat/symfony,docteurklein/symfony,WhiteEagle88/symfony,csarrazi/symfony,ajgarlag/symfony,smatyas/symfony,sroze/symfony,smatyas/symfony,curry684/symfony,docteurklein/symfony,Nyholm/symfony,voronkovich/symfony,jvasseur/symfony,pyrech/symfony,alekitto/symfony,phramz/symfony,tgalopin/symfony,mweimerskirch/symfony,phramz/symfony,vincentaubert/symfony,garak/symfony,gnat42/symfony,xabbuh/symfony,tucksaun/symfony,voronkovich/symfony,Triiistan/symfony,mnapoli/symfony,chalasr/symfony,Koc/symfony,nasimnabavi/symfony,lyrixx/symfony,arjenm/symfony,ro0NL/symfony,Deamon/symfony,Einenlum/symfony,mpdude/symfony,yceruto/symfony,csarrazi/symfony,Einenlum/symfony,e-moe/symfony,shieldo/symfony,jzawadzki/symfony,dmaicher/symfony,mweimerskirch/symfony,tucksaun/symfony,pierredup/symfony,teohhanhui/symfony,Pierstoval/symfony,romaricdrigon/symfony,gnat42/symfony,deguif/symfony,jean-gui/symfony,maidmaid/symfony,zorn-v/symfony,mweimerskirch/symfony,garak/symfony,Taluu/symfony,backbone87/symfony,OskarStark/symfony,OskarStark/symfony,ragboyjr/symfony,fabpot/symfony,gonzalovilaseca/symfony,frankdejonge/symfony,josephdpurcell/symfony,stof/symfony,hhamon/symfony,paradajozsef/symfony,dmaicher/symfony,MatTheCat/symfony,tgalopin/symfony,ro0NL/symfony,gnat42/symfony,jderusse/symfony,gencer/symfony,chalasr/symfony,Deamon/symfony,weaverryan/symfony,Triiistan/symfony,iltar/symfony,Deamon/symfony,neemzy/symfony,derrabus/symfony,smatyas/symfony,localheinz/symfony,lepiaf/symfony,pyrech/symfony,localheinz/symfony,ogizanagi/symfony,damienalexandre/symfony,Strate/symfony,jakzal/symfony,pamil/symfony,smatyas/symfony,ro0NL/symfony,nicolas-grekas/symfony,zcodes/symfony,ajgarlag/symfony,1ed/symfony,zcodes/symfony,andrerom/symfony,pyrech/symfony,oleg-andreyev/symfony,andrerom/symfony,yceruto/symfony,stof/symfony,jakzal/symfony,frankdejonge/symfony,backbone87/symfony,gimler/symfony,weaverryan/symfony,jvasseur/symfony,Koc/symfony,ajgarlag/symfony,vincentaubert/symfony,hhamon/symfony,tucksaun/symfony,shieldo/symfony,mnapoli/symfony,hacfi/symfony,zerkms/symfony,c960657/symfony,mweimerskirch/symfony,vincentaubert/symfony,hhamon/symfony,xabbuh/symfony,lyrixx/symfony,hhamon/symfony,apetitpa/symfony,OskarStark/symfony,fabpot/symfony,fabpot/symfony,1ed/symfony,iltar/symfony,weaverryan/symfony,symfony/symfony,backbone87/symfony,jderusse/symfony,michaelperrin/symfony,sgehrig/symfony,WhiteEagle88/symfony,Triiistan/symfony,jean-gui/symfony,codeclimate-testing/symfony,romaricdrigon/symfony,romaricdrigon/symfony,Strate/symfony,hacfi/symfony,Triiistan/symfony,tgalopin/symfony,mnapoli/symfony,symfony/symfony,jderusse/symfony,phramz/symfony,nicolas-grekas/symfony,dmaicher/symfony,okdana/symfony,zcodes/symfony,codeclimate-testing/symfony,d-ph/symfony,Nyholm/symfony,arjenm/symfony,michaelperrin/symfony,damienalexandre/symfony,oleg-andreyev/symfony,nasimnabavi/symfony,gonzalovilaseca/symfony,gimler/symfony,gimler/symfony,andrerom/symfony,chalasr/symfony,deguif/symfony,lstrojny/symfony,aeoris/symfony,curry684/symfony,nicolas-grekas/symfony,sroze/symfony,yceruto/symfony,teohhanhui/symfony,zerkms/symfony,codeclimate-testing/symfony,lyrixx/symfony,Amo/symfony,Aliance/symfony,Slamdunk/symfony,apetitpa/symfony,pyrech/symfony,zerkms/symfony,zerkms/symfony,oleg-andreyev/symfony,Engerim/symfony,mpdude/symfony,e-moe/symfony,Aliance/symfony,jakzal/symfony,Tobion/symfony,pamil/symfony,joelwurtz/symfony,zorn-v/symfony,gencer/symfony,d-ph/symfony,maidmaid/symfony,gonzalovilaseca/symfony,deguif/symfony,bendavies/symfony,lstrojny/symfony,e-moe/symfony,Pierstoval/symfony,frankdejonge/symfony,DavidGarciaCat/symfony,Triiistan/symfony,Simperfit/symfony,josephdpurcell/symfony,deguif/symfony,romaricdrigon/symfony,shieldo/symfony,symfony/symfony,pierredup/symfony,Aliance/symfony,jzawadzki/symfony,Tobion/symfony,HeahDude/symfony,andreia/symfony,smatyas/symfony,maidmaid/symfony,jzawadzki/symfony,ogizanagi/symfony,okdana/symfony,e-moe/symfony,arjenm/symfony,Amo/symfony,jean-gui/symfony,okdana/symfony,apetitpa/symfony,Slamdunk/symfony,Engerim/symfony,derrabus/symfony,codeclimate-testing/symfony,nasimnabavi/symfony,1ed/symfony,phramz/symfony,ragboyjr/symfony,damienalexandre/symfony,1ed/symfony,voronkovich/symfony,andreia/symfony,nasimnabavi/symfony,curry684/symfony,weaverryan/symfony,nicolas-grekas/symfony,paradajozsef/symfony,andreia/symfony,alekitto/symfony,ragboyjr/symfony,d-ph/symfony,apetitpa/symfony,zorn-v/symfony,shieldo/symfony,Deamon/symfony,xabbuh/symfony,MatTheCat/symfony,jderusse/symfony,dunglas/symfony,hacfi/symfony,andrerom/symfony,zcodes/symfony,Strate/symfony,Nyholm/symfony