Log message #4184597

# At Username Text
# Apr 25th 2019, 15:29 neon1024 It’s like trying to learn Sass without knowing CSS otherwise
# Apr 25th 2019, 15:28 neon1024 Yeah, do PHP first, and Cake second
# Apr 25th 2019, 15:28 this.impetus I'm getting the hang of it; often it's jsut the presumption that there's a cakey or cake-specific way thigns ought to be done that stumps me
# Apr 25th 2019, 15:28 neon1024 Well, pretty much all package managers are really ;)
# Apr 25th 2019, 15:28 neon1024 But if you’ve used `npm` or `yarn` then `composer` is very similar
# Apr 25th 2019, 15:28 this.impetus Which is where I hitherto lived. Thanks for your patience and assistance.
# Apr 25th 2019, 15:27 neon1024 ..but that’s more front-end developer territory imho
# Apr 25th 2019, 15:27 neon1024 Not with PHP at least, no. CSS mastery might slide into backend through Javascript, Node.js and Webpack
# Apr 25th 2019, 15:27 neon1024 https://packagist.org/packages/cakephp/bake
# Apr 25th 2019, 15:26 this.impetus That is terribly obvious. ok. thanks. CSS mastery really doesn't translate to the back end, hey?
# Apr 25th 2019, 15:26 neon1024 I’d probably just do `composer clearcache andand composer update cakephp/bake`
# Apr 25th 2019, 15:26 neon1024 The package is `twig/twig`
# Apr 25th 2019, 15:26 neon1024 You’re missing the vendor
# Apr 25th 2019, 15:25 this.impetus @neon1024 `composer update twig` prompts `Package "twig" listed for update is not installed. Ignoring.` This is true for all the listed twig packages. How are these packages managed if I do wish to update them?
# Apr 25th 2019, 15:15 J98hasjd Does someone know how to pass a variable from Controller into a costum ExceptionRenderer? I'd like to pass validation Errors and JSON them for API users.
# Apr 25th 2019, 15:15 neon1024 I was sure that bake was onto 2.x releases by now :thinking_face:
# Apr 25th 2019, 15:15 neon1024 Hm, nope. https://semver.mwl.be/#?package=cakephp%2Fbakeandversion=~1.0andminimum-stability=stable
# Apr 25th 2019, 15:14 neon1024 However! I don’t think cakephp/bake ~1.0 would pull the Twig changes. I think they’re more recent than that, but I might be wrong
# Apr 25th 2019, 15:14 neon1024 So it might be likely
# Apr 25th 2019, 15:14 neon1024 Well cakephp/bake implements twig/twig for the templating
# Apr 25th 2019, 15:12 slackebot implementations ```
# Apr 25th 2019, 15:12 this.impetus ```aptoma/twig-markdown 2.0.0 3.1.0 Twig extension to work with Markdown content ralouphie/getallheaders 2.0.5 3.0.3 A polyfill for getallheaders. twig/twig v1.39.1 v2.8.1 Twig, the flexible, fast, and secure template language for PHP umpirsky/twig-php-function v0.1 0.2.0 Call (almost) any PHP function from your Twig templates. zendframework/zend-diactoros 1.8.6 2.1.1 PSR HTTP Message
# Apr 25th 2019, 15:12 this.impetus Enh, 5 items returned, most associated with Twig, nothing explicitly related to bake, though perhaps one is and I wouldn't recognize it
# Apr 25th 2019, 15:06 neon1024 You might want `-D` to avoid getting extra dependancy noise :slightly_smiling_face:
# Apr 25th 2019, 14:55 Martin` what does `composer outdated` say? is it up2date?
# Apr 25th 2019, 14:54 this.impetus ... same for `composer update cakephp/bake`
# Apr 25th 2019, 14:49 this.impetus well.. `composer require --dev cakephp/bake:~1.0`, which I just copied and pasted from the CookBook admittedly, gives `Nothing to install or update`
# Apr 25th 2019, 14:46 this.impetus Ah. Sorry, if that was in the migration guide I am missing it. Counsel where i can read about achieving that?
# Apr 25th 2019, 14:45 admad You probably need to upgrade bake plugin too
# Apr 25th 2019, 14:45 this.impetus One more—migrated to Cake3.7, added a new table for a HABTM relationship between two models that had already existed. When I run `cake bake all` the console is throwing `Exception: Call to a member function addMany() on null in [<project>/vendor/cakephp/cakephp/src/Core/BasePlugin.php, line 248]`
# Apr 25th 2019, 13:46 this.impetus flawless thanks guys
# Apr 25th 2019, 13:43 cnizzardini I don't like the idea that I had to use a plugin to auto create configs, would've love for it to happen automatically
# Apr 25th 2019, 13:43 admad then run `composer update`
# Apr 25th 2019, 13:43 this.impetus great, tyvm
# Apr 25th 2019, 13:43 admad manually or using `composer require`
# Apr 25th 2019, 13:42 ricksaccous yep
# Apr 25th 2019, 13:42 admad the proper way to update the version constraint for that plugin in composer.json
# Apr 25th 2019, 13:42 ricksaccous remove upgrade restrictions in composer.json
# Apr 25th 2019, 13:41 slackebot it
# Apr 25th 2019, 13:41 this.impetus Hopefully quick an easy question; I'm migrating from cake3.6 to 3.7; the current version of one of my composer-managed plugins isn't compatible with 3.7—I'm actually upgrading because the newer version of this plug-in *is* compatible with 3.7 and has features I want access to. That said, the old version currently installed is blocking the update. Obvs I can just delete it and reinstall, was curious if there was a 'proper' means of doin
# Apr 25th 2019, 13:33 cnizzardini Its not a PHP unit thing, its that our custom config file is not copied over for customer.default.php when composer install is run. I got around this by using the Config File Provider Plugin.