# |
Nov 20th 2019, 12:26 |
birdy247 |
is anyone using xdebug with vagrant? |
# |
Nov 20th 2019, 12:17 |
michal.ferak |
Should I instead not use _serialize and write a custom view? |
# |
Nov 20th 2019, 12:16 |
michal.ferak |
I assume this is not the correct way of doing this, as I’m getting a 500 - “Namespace Error” |
# |
Nov 20th 2019, 12:16 |
slackebot |
'http://www.w3.org/1999/xhtml', 'url' => $urls, '_serialize' => ['@xmlns', '@xmlns:xhtml', 'url'] ])``` |
# |
Nov 20th 2019, 12:16 |
michal.ferak |
Hi! I’m trying to generate a sitemap using XML view using _serialize (following the instructions in docu). However, for my needs I also need to add xml:link to each <loc> - this needs registering xmlns:xhtml in the document root. This is what my set methods look like: ```$this->set('_rootNode', 'urlset'); $this->set([ '@xmlns' => 'http://www.sitemaps.org/schemas/sitemap/0.9', '@xmlns:xhtml' => |
# |
Nov 20th 2019, 11:07 |
jotpe |
ah yeah, reading chat logs is skill to master ;) |
# |
Nov 20th 2019, 10:54 |
dereuromark |
you didnt follow the conversation here probably. |
# |
Nov 20th 2019, 10:51 |
jotpe |
is there kind of a upgrade tool to migrate cake3x apps? I guess my app should work more or less, but i don't want to migrate the app by hand |
# |
Nov 20th 2019, 10:21 |
dereuromark |
yeah the more feedback the better. |
# |
Nov 20th 2019, 10:20 |
neon1024 |
@challgren The number of RC releases will depend on how extensively the community test the releases |
# |
Nov 20th 2019, 10:14 |
Martin` |
I think almost all my depecrations are gone in my project |
# |
Nov 20th 2019, 10:13 |
Martin` |
ok, nothing to worry about this year :P |
# |
Nov 20th 2019, 10:13 |
challgren |
My guess 1-2 months |
# |
Nov 20th 2019, 10:12 |
Martin` |
When is planned release of cake 4.0 ? |
# |
Nov 20th 2019, 10:05 |
challgren |
How many RCs will 4.x have? |
# |
Nov 20th 2019, 10:05 |
dereuromark |
we will all have to work overtime the next weeks :slightly_smiling_face: |
# |
Nov 20th 2019, 10:03 |
challgren |
I have a feeling if I upgrade my major app its going to require me to update a bunch of plugins |
# |
Nov 20th 2019, 10:00 |
neon1024 |
I’ll try and find some time to build a new app with the 4.0.0-RC1 I think |
# |
Nov 20th 2019, 09:57 |
neon1024 |
Does the 4.x branch of `cakephp/upgrade` work okay now? |
# |
Nov 20th 2019, 09:48 |
dereuromark |
my old one had a "skeleton" command, that might be missing in the core one still. |
# |
Nov 20th 2019, 09:48 |
dereuromark |
no pulling IMO, the upgrade tooling ideally should at some point provide all necessities |
# |
Nov 20th 2019, 09:46 |
challgren |
new branch, pull cakephp/app? run composer update, run upgrade tooling? |
# |
Nov 20th 2019, 09:45 |
dereuromark |
a new branch and some of the upgrade tooling run should usually suffice. |
# |
Nov 20th 2019, 09:45 |
neon1024 |
I probably won’t port my apps to 4.x until a few releases |
# |
Nov 20th 2019, 09:44 |
challgren |
Might hold off on 4.x |
# |
Nov 20th 2019, 09:44 |
challgren |
Yeah Im thinking the best route |
# |
Nov 20th 2019, 09:43 |
neon1024 |
I guess you could make a new branch and move all your templates around and all that stuff |
# |
Nov 20th 2019, 09:41 |
neon1024 |
> We would greatly appreciate it if you temporarily upgraded your application, and ran your tests |
# |
Nov 20th 2019, 09:41 |
neon1024 |
Seems so, which runs contrary to the release notes |
# |
Nov 20th 2019, 09:41 |
challgren |
So vibe I’m getting is if your upgrading to 4.x its best to use a new skeleton |
# |
Nov 20th 2019, 09:07 |
jotpe |
Morning |
# |
Nov 20th 2019, 08:40 |
neon1024 |
Morning all |
# |
Nov 20th 2019, 06:35 |
conehead |
@brian.french ```<?xml version="1.0"?> <ruleset name="Custom Standard"> <rule ref="PSR12"/> </ruleset>`#``` |
# |
Nov 20th 2019, 00:49 |
dereuromark |
sure, just reference it there. |
# |
Nov 20th 2019, 00:43 |
brian.french |
@dereuromark Codesniff question. Do you know if there is a way to import/extend a ruleset into your own local ruleset.xml? googlefooing isn't producing any answers. |
# |
Nov 19th 2019, 17:49 |
jotpe |
Hm okay, so thanks @admad. Maybe I'll try upgrading/testing later then. |
# |
Nov 19th 2019, 17:46 |
jotpe |
_Since this skeleton is a starting point for your application and various files would have been modified as per your needs, there isn't a way to provide automated upgrades, so you have to do any updates manually._ :face_with_rolling_eyes: |
# |
Nov 19th 2019, 17:44 |
admad |
best create a new app if you want to try 4 https://github.com/cakephp/app/tree/4.x |
# |
Nov 19th 2019, 17:43 |
admad |
simply bumping up core for existing 3.x app skeleton isnt going to work anyway |
# |
Nov 19th 2019, 17:43 |
jotpe |
should I change to ^4.0 and then composer update? |
# |
Nov 19th 2019, 17:42 |
jotpe |
3.8.* |