« first day (1385 days earlier)      last day (3560 days later) » 

11:02 PM
@bwoebi I used to think so, now I really don't
 
Let's call it personal preference
 
hello everyone, did anyone miss me here :D
 
15 mins ago, by DaveRandom
(imo)
It's totally down to personal prefs. On the flip side, you are wrong :-P
 
was that for me ? or for bwoebi ?
 
@zeeks you can click the tiny arrows to see who a reply is to.
 
11:18 PM
what's the proper way to test a builder class like that? https://github.com/PatrickLouys/http/blob/master/src/CookieBuilder.php
Do I make sure all the settings are correct in the returned object? (which is already covered in other tests)
 
@Danack i did not know that
 
@zeeks And you can click the arrow over there --> to reply to someone
@Patrick make a real factory class that i) has all of the requirements in the factory's constructor ii) use github.com/rdlowrey/Auryn
Though you could also just use a function.
 
@Danack like this?
 
@zeeks PING
 
what?
 
11:23 PM
I use auryn to inject into my views + controllers, but I want this to be standalone.
I think the builder class is ok like that, I just want to know how to test it
 
@Patrick Oh, I do something similar with a data provider, set up everything then test the generated result....let me find something.
 
Yo
Yo in php.ini I herd you can change the upload file quota?
Is there a way to set it to unlimited?
 
^ and fill your harddisk?
 
Unlimited with godaddy.
Thanks @DaveRandom.
What unlimited?
2m?
 
11:31 PM
I don't recommend unlimited
For any of those values
I guess you are just dealing with images?
(for upload)
If so maybe 10M
 
Thanks
 
basically, find the biggest image you will ever want to upload, add 1MB and set it to that
 
So just make a php.ini and type:
file_uploads = On
upload_max_filesize = 10M
not sure if I need the first line.
 
Not memory limit though, that needs to be higher and you should probably not screw with whatever the default id for your system
@RahulKhosla You do
 
Ok thanks.
 
11:34 PM
Well, technically "on" is the default value, but IMO it's better to be explicit
 
@DaveRandom Not sure if I should offer an affiliates or something?
To get the pics
 
not entirely sure what you are getting at and tbh I don't have time to explore it now because I need to bail
 
Ok cya :)
 
need to get up with The Boy in the morning, which will probably work out as being 6am again
nite @all
 
@Patrick pastebin.com/enCFLVeZ - testing basic input and output is really easy with a data provider in PHPunit.
tbh it's only of limited value...as your objects are so simple it would be really hard for them to break. But it does allow you to just setup tests that check that the setting is working.
 

« first day (1385 days earlier)      last day (3560 days later) »