Closed othercorey closed 4 years ago
Fixed the default cake config which fixed the php notices.
Fixed cakephp deprecation warnings except for sendHeaders()
. I don't know why it's called here.
$response->sendHeaders();
return new BrowserKitResponse(
$response->getBody(),
$response->getStatusCode(),
$response->getHeaders()
);
Could you please update the travis matrix to have a job which runs composer install with --prefer-lowest
similar to https://github.com/cakephp/cakephp/blob/master/.travis.yml#L94. That will help ensure the updated methods exist in 3.4.
With the http deprecation fixes, this requires cakephp 3.6. I updated the configs for this.
The --prefer-lowest solution doesn't seem to work with the way this script works. I added a job that pinned the cakephp/app version which pins the cakephp version.
@dereuromark When you have some time, can you review this for us?
@dereuromark When you have some time, can you review this for us?
what do you mean? in general, the changes look good.
what do you mean? in general, the changes look good.
Yes please. I did this just to give cake some love, but I'm unfamiliar with the project still. Admad wanted someone to review and you're so very very helpful ;)
I am not a codecept guru though :) So I can only look on the high level, which looks fine.
I'm not sure how the original tests were passing when the app config was copied only for version 3.1.
This has a number of php notices in phpunit tests and deprecation warnings.