Grant Millar
Grant Millar
In janephp `4.2` this is generated as: ```php if (null !== $object->getExposedPorts()) { $values = new \stdClass(); foreach ($object->getExposedPorts() as $key => $value) { $values->{$key} = $value; } $data->{'ExposedPorts'} =...
So it looks like janephp has moved away from using `stdClass()` for objects and now uses associative arrays, but how do you differentiate between an empty object and an empty...
This works, but would mean a check on every object: ```php if ($object->isInitialized('exposedPorts') && null !== $object->getExposedPorts()) { $values_3 = []; foreach ($object->getExposedPorts() as $key => $value_3) { $values_4 =...
It might be cleaner to just set objects as so: ```php if ($object->isInitialized('exposedPorts') && null !== $object->getExposedPorts()) { $values_3 = []; foreach ($object->getExposedPorts() as $key => $value_3) { $values_4 =...
Or initialise as an array object: ```php if ($object->isInitialized('exposedPorts') && null !== $object->getExposedPorts()) { $values_3 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); foreach ($object->getExposedPorts() as $key => $value_3) { $values_4 = new \ArrayObject(array(),...
Just an update, this holds true for any object which is empty regardless if it's an additionalProperties object. We're going through and manually patching ```php $values = []; ``` with...
@achton This PR solves the issue: https://github.com/janephp/janephp/pull/704 we're waiting for a review to confirm the fix, then we can fix the failing tests.
I seem to be having the same issue:  The delay seems to come from the initial `POST` to: `https://nextcloud.example.com/apps/integration_whiteboard/proxy/api/spaces/ad21b941-e00b-4432-98cc-40f1c7b8809c/artifacts` Once that has returned the app is...
@shivacherukuri how did you get around the issue in #19802? I'm running Ubuntu 16.04 with 4.4.0-47-generic and net_cls is not being marked on packets coming from the container, although it...