# |
Jul 18th 2018, 14:41 |
unclezoot |
afternoon, i have 2 shells with the same function name in each (general). How do I create a shell alias (i.e. solve this error "2018-07-18 15:37:31 Debug: command 'general' in plugin 'Languages' was not aliased, conflicts with 'Uploads'") |
# |
Jul 18th 2018, 14:40 |
dereuromark |
As $helpers shouldnt be used and AppView doesnt have much plugin hooks, does it? |
# |
Jul 18th 2018, 14:40 |
dereuromark |
Do we have a concept that on how to inject helpers here for plugin views without controller (deprecated)? It seems to me we are missing some key concepts here. |
# |
Jul 18th 2018, 14:40 |
dereuromark |
Ah, might need some helper config there |
# |
Jul 18th 2018, 14:39 |
josbeir |
@dereuromark getting when i start a controller test Cake \ View \ Exception \ MissingHelperException (500) Helper class FormatHelper could not be found. |
# |
Jul 18th 2018, 14:37 |
josbeir |
i'll follow |
# |
Jul 18th 2018, 14:37 |
flavius |
@dereuromark i'll try it right now, aint got anything better to do anyway |
# |
Jul 18th 2018, 14:36 |
josbeir |
@deu |
# |
Jul 18th 2018, 14:35 |
inoas |
is there even a sane way to do it? |
# |
Jul 18th 2018, 14:33 |
inoas |
using https://book.cakephp.org/3.0/en/core-libraries/form.html ... I want to validat a list of objects (aka a bunch of devices with fields like manufacturer per device9 |
# |
Jul 18th 2018, 14:32 |
dereuromark |
Did anyone try https://github.com/dereuromark/cakephp-test-helper yet? Generate tests or click-generate coverage etc? If it does work easily for other apps than mine? |
# |
Jul 18th 2018, 14:12 |
admad |
adminer |
# |
Jul 18th 2018, 14:12 |
flavius |
phpminiadmin? http://phpminiadmin.sourceforge.net |
# |
Jul 18th 2018, 14:11 |
neon1024 |
Now I just need a nice MySQL tool for Ubuntu, as the Cola one is kinda lame, and MySQL Workbench is a behemoth |
# |
Jul 18th 2018, 14:09 |
neon1024 |
PHP Storm can be a bit heavy for it bless it’s little mobile cpu |
# |
Jul 18th 2018, 14:09 |
neon1024 |
Nice to have an alternative editor which is a bit lighter for my Ubuntu laptop :slightly_smiling_face: |
# |
Jul 18th 2018, 14:06 |
admad |
and yes that ^ |
# |
Jul 18th 2018, 14:05 |
neon1024 |
Yeah, dirty `__call()` lurking! |
# |
Jul 18th 2018, 14:05 |
admad |
slugging in view is rarely needed. In most cases you save slugs to db to use it to generate clean file names |
# |
Jul 18th 2018, 14:05 |
neon1024 |
Ah, it does. Must be some magic |
# |
Jul 18th 2018, 14:04 |
neon1024 |
Why doesn’t the Text helper implement the slug() method? It uses the Text clas |
# |
Jul 18th 2018, 14:03 |
neon1024 |
Neat way to install plugins. I found that kinda annoying in Atom, and I’ve just had to get used to it in Sublime Text |
# |
Jul 18th 2018, 14:01 |
admad |
the php intellisense extension will give you decent auto completing after adding annotations using euromark's ide plugin |
# |
Jul 18th 2018, 13:59 |
neon1024 |
@admad Thanks for suggesting VS Code, I’m checking it out now. Seems kinda neat |
# |
Jul 18th 2018, 13:47 |
josbeir |
right i'm sorry |
# |
Jul 18th 2018, 13:46 |
flavius |
https://www.youtube.com/watch?v=hpigjnKl7nI |
# |
Jul 18th 2018, 13:46 |
flavius |
watch your profanity :) |
# |
Jul 18th 2018, 13:45 |
josbeir |
fuck adobe ! |
# |
Jul 18th 2018, 13:44 |
josbeir |
wanst brackets abondend ? |
# |
Jul 18th 2018, 13:44 |
josbeir |
@mr.mjsm a nice upgrade would be visual studio code |
# |
Jul 18th 2018, 13:44 |
admad |
@mr.mjsm brackets is more designer centric. Switch to vscode |
# |
Jul 18th 2018, 13:44 |
josbeir |
oh wait |
# |
Jul 18th 2018, 13:43 |
mr.mjsm |
@admad I am using brackets editor :,) |
# |
Jul 18th 2018, 13:43 |
josbeir |
hey.. if the code is readable.. |
# |
Jul 18th 2018, 13:43 |
flavius |
just like me <3 |
# |
Jul 18th 2018, 13:43 |
flavius |
ha, i knew it, you're a rebel |
# |
Jul 18th 2018, 13:42 |
mr.mjsm |
Totally agree @flavius |
# |
Jul 18th 2018, 13:42 |
josbeir |
:) :) :) |
# |
Jul 18th 2018, 13:42 |
flavius |
PS: standards are for BORING people, am i right? @mr.mjsm |
# |
Jul 18th 2018, 13:42 |
josbeir |
@mr.mjsm remove the last line out of the else block, 'company' should not be set conditionally |
# |
Jul 18th 2018, 13:42 |
admad |
@mr.mjsm use an editor with auto formatter feature or one which runs phpcs in background and highlights mis-formatted code |