# |
May 26th 2016, 21:21 |
ionas |
now I am in [/var/www/app/vendor/cakephp/cakephp]-[git fixExistsIn] |
# |
May 26th 2016, 21:11 |
ionas |
ah now |
# |
May 26th 2016, 21:11 |
ionas |
git pull upstream master |
# |
May 26th 2016, 21:11 |
ionas |
eh |
# |
May 26th 2016, 21:11 |
ionas |
somehow I cannot use git@github.com:cakephp/cakephp.git for git pull origin upstream |
# |
May 26th 2016, 21:11 |
ionas |
but its also different vagrant boxes |
# |
May 26th 2016, 21:11 |
ionas |
why not |
# |
May 26th 2016, 21:11 |
ionas |
copyingâ?¦ good idea actually |
# |
May 26th 2016, 21:09 |
nrother |
or maybe you should just set up it all the may the want and copy that folder every time you want to try something? |
# |
May 26th 2016, 21:08 |
nrother |
theres also the app template containing a lot of demo configuration |
# |
May 26th 2016, 21:08 |
nrother |
you can install phpunit and phpcs globally, so you don't have to have them in every project |
# |
May 26th 2016, 21:07 |
ionas |
upstream, own repo etc |
# |
May 26th 2016, 21:07 |
ionas |
I have to setup vendor/cakephp/cakephp git clone, phpunit, phpcs etc |
# |
May 26th 2016, 21:07 |
ionas |
but what I meant is after setting up fresh projects |
# |
May 26th 2016, 21:07 |
ionas |
no, I know that one its for running the tests speedy ;p |
# |
May 26th 2016, 21:06 |
nrother |
maybe you are looking for the --filter option of phpunit? |
# |
May 26th 2016, 21:06 |
ionas |
quickest best practise to run tests? |
# |
May 26th 2016, 21:05 |
ionas |
before creating PRs and possibly unit tests |
# |
May 26th 2016, 21:05 |
ionas |
I am often testing â??bugsâ? and â??featuresâ? in cake core against my live application |
# |
May 26th 2016, 21:05 |
ionas |
to make sure that you can always run unit tests |
# |
May 26th 2016, 21:05 |
ionas |
do you ahve some quick tip |
# |
May 26th 2016, 20:59 |
ionas |
hey guys |
# |
May 26th 2016, 20:24 |
slackebot |
Action: admad pokes spriz in the eye |
# |
May 26th 2016, 20:24 |
spriz |
sorry about that :P But thanks for making me double checking |
# |
May 26th 2016, 20:23 |
royalty |
haha |
# |
May 26th 2016, 20:23 |
spriz |
I guess that means Iâ??m out for today. |
# |
May 26th 2016, 20:22 |
spriz |
I thought I was passing `â??defaultâ??` but I was passing `false´ |
# |
May 26th 2016, 20:20 |
spriz |
I derped |
# |
May 26th 2016, 20:20 |
spriz |
oh wait, |
# |
May 26th 2016, 20:19 |
spriz |
`$this->initializeUI(['layout' => 'default']);` |
# |
May 26th 2016, 20:19 |
spriz |
exactly |
# |
May 26th 2016, 20:19 |
spriz |
Aye |
# |
May 26th 2016, 20:19 |
royalty |
to default? and it is showing the plug in layout? |
# |
May 26th 2016, 20:19 |
royalty |
wait so you are setting the layout in the initializeUI method? |
# |
May 26th 2016, 20:17 |
spriz |
itâ??s in terms of using the template layout :slightly_smiling_face: |
# |
May 26th 2016, 20:17 |
spriz |
The view is using the trait, aye? |
# |
May 26th 2016, 20:17 |
royalty |
sorry i thought i was looking at the view and not the trait |
# |
May 26th 2016, 20:16 |
royalty |
oh wait what |
# |
May 26th 2016, 20:16 |
royalty |
if you want to use your default layout file as opposed to the plug ins just remove all that code setting the layout |
# |
May 26th 2016, 20:15 |
royalty |
yeah, so basically leaving layout name as default is default |
# |
May 26th 2016, 20:12 |
spriz |
if I pass the layout name â??defaultâ? itâ??ll use the `BootstrapUI.default` rather :S |