Martin Århof

Results 30 comments of Martin Århof

@yceruto as in #778 `doctrine:fixtures:load` should not be available in production mode, due to best practices.

@bocharsky-bw well, its actually better using migration than fixtures in production imo And yes, migrations can also have fixtures @jkufner This will still work, due to the sqlite database is...

@yceruto `doctrine:fixtures:load` is a "destructive" command, and it will reset your database completely, and therefor it should not be available in production mode. (or append data, but this will in...

That depends on what "demo" should be. Is is just a show case of random data and clicking around (front wise), or is it to show best practice from symfony,...

In my mind its using migrations. (though in this demo) its not actually data, but more like test data. Like in a fresh wordpress installation you would not start with...

I have waited pretty long for a project where I could use it actually - and now it came. Though its just for internal fun, for our "send a email...

@willdurand ohh, I forgot that it was the subject that have trouble with ISO-8859-1 > UTF-8 ``` protected $subject => string(37) "Heja med =?UTF-8?B?w6bDuMOlIGRpZw==?=" ``` (should be) Heja med æøå...

``` # services.yaml gesdinet.jwtrefreshtoken.refresh_token_manager: class: App\Security\RefreshTokenManager ``` ```

``` use Symfony\Component\HttpFoundation\Response; use Gesdinet\JWTRefreshTokenBundle\Service\RefreshToken; public function refresh(RefreshToken $refreshToken, Request $request): Response { return $refreshToken->refresh($request); } ``` This is how I do it, so I get a nice documentation into...

Found the problem, its because the PDF file was saved with capital letters. And its hosted on a microsoft server, thats why the preg_match says the file as not found,...