# |
Sep 11th 2019, 09:06 |
neon1024 |
Not sure how you feel about Docker, but it might make a collection of tools / pipeline more mobile in a container |
# |
Sep 11th 2019, 09:05 |
neon1024 |
@dereuromark Did you see this? https://github.com/adamculp/php-code-quality |
# |
Sep 11th 2019, 09:05 |
dereuromark |
we are using that mainly company internal for pre-release review, but I want to also leverage some tooling for my plugins mainly. especially with the 4.x upgrade of 20+ apps. |
# |
Sep 11th 2019, 09:04 |
dereuromark |
I am working on some automation tooling in general, including phpstan, cs, and other things to be wrapped for plugin or app analysis. |
# |
Sep 11th 2019, 09:02 |
neon1024 |
Or if I get really bored today, I might look at a PR to add HTML output |
# |
Sep 11th 2019, 09:02 |
neon1024 |
Nevermind, I’ll just put up with the `compact` output on the CLI and do it a file at a time |
# |
Sep 11th 2019, 09:01 |
neon1024 |
;) |
# |
Sep 11th 2019, 09:01 |
neon1024 |
Do you have a plugin for this? |
# |
Sep 11th 2019, 09:01 |
neon1024 |
What frontend? |
# |
Sep 11th 2019, 09:01 |
neon1024 |
queue? |
# |
Sep 11th 2019, 09:01 |
neon1024 |
exec json? |
# |
Sep 11th 2019, 09:01 |
neon1024 |
wat |
# |
Sep 11th 2019, 08:59 |
dereuromark |
you can then also nicely group and stuff :slightly_smiling_face: |
# |
Sep 11th 2019, 08:59 |
dereuromark |
what I meant is wrap the json output as exec() queue task and give it to frontend via GUI frontend |
# |
Sep 11th 2019, 08:58 |
neon1024 |
Presumably it’s “Pull requests welcome” |
# |
Sep 11th 2019, 08:58 |
neon1024 |
I’m looking for something like html code coverage |
# |
Sep 11th 2019, 08:58 |
neon1024 |
Json doesn’t qualify, in my opinion, as visually appealing |
# |
Sep 11th 2019, 08:57 |
neon1024 |
> parse one it’s outputs into something more visually appealing |
# |
Sep 11th 2019, 08:56 |
neon1024 |
Yes, which gui is that? |
# |
Sep 11th 2019, 08:55 |
dereuromark |
@neon1024 You can create one :slightly_smiling_face: --format=json and into a GUI for display |
# |
Sep 11th 2019, 08:55 |
johnwayne |
thx @neon1024 |
# |
Sep 11th 2019, 08:46 |
neon1024 |
…or know a tool which could parse one it’s outputs into something more visually appealing |
# |
Sep 11th 2019, 08:45 |
neon1024 |
Anyone know if Psalm can generate a nice HTML? |
# |
Sep 11th 2019, 08:44 |
neon1024 |
When I set the cookie lifetime using the ini setting here, it reduced the timeout to mere minutes. Removing it has fixed my session timeout |
# |
Sep 11th 2019, 08:44 |
slackebot |
<neon1024> |
# |
Sep 11th 2019, 08:44 |
neon1024 |
@johnwayne I just added a timeout config for my session |
# |
Sep 11th 2019, 08:38 |
dereuromark |
session and especially cookie life time increase |
# |
Sep 11th 2019, 08:36 |
johnwayne |
Morning, is there any way to increase time for automatic logout during inactivity time? Now, if the user is `15+` min is inactive, he is automatically logged out and getting info `You are not authorized to access that location` |
# |
Sep 11th 2019, 08:18 |
neon1024 |
@val `save()` returns the entity, so you’d get the id from the entity `$entity->get('id')` |
# |
Sep 11th 2019, 08:15 |
neon1024 |
Morning all :wave: |
# |
Sep 11th 2019, 07:42 |
javier.villanueva |
if($this->ModalName->save($newEntity) { $id = $newEntity->id; } |
# |
Sep 11th 2019, 07:13 |
valerij.bancer |
Hi, what is the alternative to `getLastInsertID()` model method in 3.x? |
# |
Sep 11th 2019, 06:43 |
alexdd55976 |
morning all |
# |
Sep 11th 2019, 05:17 |
admad |
@rchavik thanks for the heads up |
# |
Sep 11th 2019, 05:03 |
javier.villanueva |
morning all |
# |
Sep 11th 2019, 02:17 |
admad |
You can read the manual :slightly_smiling_face: |
# |
Sep 11th 2019, 00:57 |
arai.mio.i |
Hi. I think `saveMany` method will issue insert query _n_ times. When I want to issue `bulk insert` SQL, what I can do is to use query builder? |
# |
Sep 10th 2019, 20:25 |
hollistergraham123 |
Thanks so much man |
# |
Sep 10th 2019, 20:25 |
hollistergraham123 |
I didn’t know about the preserving key |
# |
Sep 10th 2019, 20:24 |
hollistergraham123 |
That makes sense |
# |
Sep 10th 2019, 20:21 |
ndm |
@hollistergraham123 Because you have duplicate keys, use `toList()` or `toArray(false)` instead. See also the note at the bottom of https://book.cakephp.org/3.0/en/core-libraries/collections.html#expanding-collections |