Comments for Love Your Code https://carstenwindler.de Don't just code - develop with passion Tue, 16 Oct 2018 21:32:36 +0000 hourly 1 https://wordpress.org/?v=4.9.8 Comment on Automated bad practice by Carsten Windler https://carstenwindler.de/php/automated-bad-practice/#comment-43387 Tue, 16 Oct 2018 21:32:36 +0000 http://carstenwindler.de/?p=853#comment-43387 I agree they are helpful. However they kind of “pollute” the global namespace, and if you look at the helpers more in detail, you’ll find they often just wrap calls to classes like Str or Arr (which e.g. again uses Collection – I stopped digging deeper at that point) or instantiate objects like Optional.

So be aware that you might need to copy quite some logic in the worst case ­čśë

]]>
Comment on Mocking magic methods with PHPUnit by Viktor Robev https://carstenwindler.de/php/mocking-magic-methods-with-phpunit/#comment-43368 Mon, 15 Oct 2018 11:35:31 +0000 http://carstenwindler.de/?p=400#comment-43368 +1 for that
Looks more reasonable than mocking __call

]]>
Comment on Automated bad practice by Gareth https://carstenwindler.de/php/automated-bad-practice/#comment-43317 Mon, 08 Oct 2018 01:29:24 +0000 http://carstenwindler.de/?p=853#comment-43317 What about Laravel helpers? I found them quite useful. And if you decide to move to another framework in worst case scenario you can copy implementation:-)

]]>
Comment on Automated bad practice by EllisGL https://carstenwindler.de/php/automated-bad-practice/#comment-42430 Thu, 07 Jun 2018 13:52:17 +0000 http://carstenwindler.de/?p=853#comment-42430 One of the “features” that someone one might go “That’s neat”, is that the Request class object also includes validation methods. Definitely breaks the first rule of fight club, er SOLID.

]]>
Comment on How to use the MySQL GUI client HeidiSQL with a remote DB server by Bacs https://carstenwindler.de/php/use-the-mysql-gui-client-heidisql-with-a-remote-db-server/#comment-40046 Tue, 05 Dec 2017 14:39:44 +0000 http://www.loveyourcode.de/?p=162#comment-40046 Thanks a lot! It’s works for me

]]>
Comment on Debug your Codeception tests with Xdebug and PhpStorm by Ivan https://carstenwindler.de/php/debug-your-codeception-tests-with-xdebug-and-phpstorm/#comment-40045 Tue, 05 Dec 2017 13:52:13 +0000 http://carstenwindler.de/?p=713#comment-40045 Thank you! It works

]]>
Comment on File uploads not working with PhantomJS by PhantomJS is discontinued – Love Your Code https://carstenwindler.de/php/file-uploads-not-working-with-phantomjs/#comment-37719 Sun, 18 Jun 2017 22:01:52 +0000 http://carstenwindler.de/?p=887#comment-37719 […] File uploads not working with PhantomJS […]

]]>
Comment on cwmobileredirect and cwenvbanner finally available for Typo3 7 LTS by Dominik Banduch https://carstenwindler.de/typo3/cwmobileredirect-and-cwenvbanner-finally-available-for-typo3-7-lts/#comment-36901 Tue, 11 Apr 2017 12:20:08 +0000 http://carstenwindler.de/?p=781#comment-36901 Erst einmal danke dir f├╝r die schnelle R├╝ckmeldung und den Tipp ­čśÇ Ja das ist mir auch aufgefallen, dass die Class nicht geladen wird.

Super Danke dir habe es jetzt eingebunden ├╝ber Composer mit deinem Repo bei github ­čśë

]]>
Comment on Automated bad practice by Carsten Windler https://carstenwindler.de/php/automated-bad-practice/#comment-36888 Mon, 10 Apr 2017 20:52:36 +0000 http://carstenwindler.de/?p=853#comment-36888 Right, that’s exactly what I meant.

Of course projects can be done proper with Laravel, but it’s tempting to do it quick. That is cool for prototypes, but if you plan to maintain a project over a longer time, better invest a bit more effort and don’t use facades.

]]>
Comment on cwmobileredirect and cwenvbanner finally available for Typo3 7 LTS by Carsten Windler https://carstenwindler.de/typo3/cwmobileredirect-and-cwenvbanner-finally-available-for-typo3-7-lts/#comment-36887 Mon, 10 Apr 2017 20:43:21 +0000 http://carstenwindler.de/?p=781#comment-36887 Danke f├╝r Dein Feedback, Dominik! Ja, die Extension ist schon ziemlich alt…

Bez├╝glich Deines Problems, vor kurzem (naja, auch schon wieder 2 Monate her) wurde ein Bug bez├╝glich der User-Functions gefixt, ich denke das sollte Dir helfen:

https://github.com/carstenwindler/cwmobileredirect/issues/4

Ich habe allerdings, wie ich gestehen muss, noch keine Zeit gefunden, diesen Bugfix also neue Version im TER zu ver├Âffentlichen, also m├╝sstest Du bitte den letzten commit vom master branch nehmen.

]]>