Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Changed isRequired to cannotBeEmpty for cache key. #114

Merged
merged 3 commits into from
Mar 8, 2018
Merged

Changed isRequired to cannotBeEmpty for cache key. #114

merged 3 commits into from
Mar 8, 2018

Conversation

nesl247
Copy link
Contributor

@nesl247 nesl247 commented Mar 7, 2018

Fixed #113

In order to get the tests to pass locally, there were some changes that needed to be made. I fixed the test files being loaded in the non-dev autoloader, and also fixed the issue with symfony 4's KernelTestCase.

See the commit messages themselves for more details.

Harrison Heck added 3 commits March 7, 2018 18:05
KernelTestClass now requires KERNEL_CLASS instead of a hardcoded kernel
name with KERNEL_DIR.

I left the KERNEL_DIR env var in phpunit as anyone who may be using an
older version locally would have that instead. I'm not sure if the
namespace change will have broken it though. The other way to fix this
is to add a files section and load the kernel that way, and then the
namespace stuff could be undone.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 7224dd9 on nesl247:bugfix/113-cache-configuration-key into fb244a9 on kleijnweb:master.

@kleijnweb kleijnweb merged commit 7224dd9 into kleijnweb:master Mar 8, 2018
@nesl247 nesl247 deleted the bugfix/113-cache-configuration-key branch March 8, 2018 19:06
@kleijnweb
Copy link
Owner

@nesl247 So I made some changes to this to make it work from 2.8+ all the way up to 4. Travis is supposed to run the tests against the newest upstream package versions. Not sure what went wrong there, looking into it.

@nesl247
Copy link
Contributor Author

nesl247 commented Mar 9, 2018

I dunno. I had immediately thought that maybe travis was caching the composer.lock that would be auto-generated, but then I noticed you used composer update instead of composer install, so that wouldn't have mattered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

swagger.document.cache configuration key is required but not in the docs
3 participants