{"push_id":3145050021,"size":28,"distinct_size":27,"ref":"refs/heads/feature/psr-uploadfile","head":"1baf31f361769a602120120ad99ab0776096fe87","before":"fe04190aa40ede403ce713abd63088c5d066a4f1","commits":[{"sha":"4901fc67554efbb7c292ae499129792977df1220","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Bumped version","distinct":false,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/4901fc67554efbb7c292ae499129792977df1220"},{"sha":"5a0859e4f520f66710713fa05b12d99f24b5da2a","author":{"name":"eweso","email":"d3f06714e1e325beba620cd092abd8f6c5802a10@users.noreply.github.com"},"message":"Required does not work, when array is empty\n\nThe first problem is, that hasValue always returns true, when a value is set, even, if the value is an empty array. So the first validation for the required filter will be skipped. The second problem is, that the isRequired is called within the foreach loop. But if the value is an empty array, the loop will never start, so isRequired will never triggered and the method will return the defaultValue true.","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/5a0859e4f520f66710713fa05b12d99f24b5da2a"},{"sha":"968b33b9ad65164d68cae0e21a64e293a0d0097e","author":{"name":"eweso","email":"d3f06714e1e325beba620cd092abd8f6c5802a10@users.noreply.github.com"},"message":"Removed whitespace on line 86 and 93\n\nTo pass test \"continuous-integration/travis-ci/pr\"","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/968b33b9ad65164d68cae0e21a64e293a0d0097e"},{"sha":"b0717ce53a73e92c8c4c4f170ef9e6c38dddd534","author":{"name":"eweso","email":"d3f06714e1e325beba620cd092abd8f6c5802a10@users.noreply.github.com"},"message":"Update ArrayInputTest.php","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/b0717ce53a73e92c8c4c4f170ef9e6c38dddd534"},{"sha":"47fc580bd1c1f48319943980c030d0919bbaa339","author":{"name":"eweso","email":"d3f06714e1e325beba620cd092abd8f6c5802a10@users.noreply.github.com"},"message":"Update ArrayInputTest.php","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/47fc580bd1c1f48319943980c030d0919bbaa339"},{"sha":"0812223722da1b82affe53d480fb4b3c2d04f5c5","author":{"name":"eweso","email":"d3f06714e1e325beba620cd092abd8f6c5802a10@users.noreply.github.com"},"message":"Update ArrayInputTest.php","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/0812223722da1b82affe53d480fb4b3c2d04f5c5"},{"sha":"e0358c9c688f017847ff1f7d034a68e5d4e732cf","author":{"name":"Matthew Setter","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@matthewsetter.com"},"message":"Fix code bug in InputFilter docs code example\n\nWhen I was working through the InputFilter documentation recently, I\ncame across a mistake in one of the examples. This commit fixes the bug.","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/e0358c9c688f017847ff1f7d034a68e5d4e732cf"},{"sha":"16a446ce8adc103aa863c7d467d391dc83e80abb","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Merge branch 'hotfix/173'\n\nClose #173","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/16a446ce8adc103aa863c7d467d391dc83e80abb"},{"sha":"5166f6a704d7de3267540df559262f6ccd66619a","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Merge branch 'hotfix/173' into develop\n\nForward port #173","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/5166f6a704d7de3267540df559262f6ccd66619a"},{"sha":"0b13ad5bbf0a88516e00459bb396bc00ca6ba4a4","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Merge pull request #167 from eweso/patch-1\n\nRequired does not work, when array is empty","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/0b13ad5bbf0a88516e00459bb396bc00ca6ba4a4"},{"sha":"2bf3c6ece98395f453bf33bb60fd75384f2a4aff","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Test improvements for #167\n\n- Renames `testRequiredWithoutFallbackAndValueIsEmptyArrayThenFail` to\n  `testArrayInputMarkedRequiredWithoutAFallbackFailsValidationForEmptyArrays`.\n- Adds `testArrayInputMarkedRequiredWithoutAFallbackUsesProvidedErrorMessageOnFailureDueToEmptyArray`\n  to validate that if an error message is set on the input, that value\n  is used instead of the defaults.","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/2bf3c6ece98395f453bf33bb60fd75384f2a4aff"},{"sha":"44b37b483bc9b5b1ee29cdf315f22ff841515fb6","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Adds CHANGELOG entry for #167","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/44b37b483bc9b5b1ee29cdf315f22ff841515fb6"},{"sha":"68b5d9353c1c9bc09632f7b2c3dd2e963763c9d8","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Merge branch 'hotfix/167' into develop\n\nForward port #167\n\nConflicts:\n\tCHANGELOG.md","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/68b5d9353c1c9bc09632f7b2c3dd2e963763c9d8"},{"sha":"9f29f4001f984489be5a1e7b3a4c14f9d4c2f198","author":{"name":"ruzann","email":"773081836c5de9d1edf200e91539d79ef2a12c8b@users.noreply.github.com"},"message":"Allow setting a failure message for required Collections\n\nThis patch modifies the `CollectionInputFilter` to allow injecting a\n`Zend\\Validator\\NotEmpty` instance. When the collection is marked\n\"required\", but receives an empty data set, it will use that validator\nto provide a validation failure message. (If no validator was set, it\nlazy-loads one.)\n\nWhen using factory-based collections, you may now also provide a\n`required_message` key as a sibling to `required`; when set, this\nmessage will be used in place of the default `NotEmpty` validation error\nmessage.","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/9f29f4001f984489be5a1e7b3a4c14f9d4c2f198"},{"sha":"90dd83651af43b53ca1aca5a7e70665c86e32201","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Simplification of required message code\n\n- Combine conditionals, as there is only one combination that has a meaning\n- Use a ternary to allow removing a transient variable","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/90dd83651af43b53ca1aca5a7e70665c86e32201"},{"sha":"730994a4d7f597ed5c0e3c91ce868a1413d54796","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Split tests into discrete behaviors\n\n- Lazy-loads a NotEmpty validator if none provided.\n- Allows composing a NotEmpty validator.\n- Uses the message from a composed NotEmpty validator when validating a\n  required, but empty, collection.\n- Factory will use the `required_message` key to seed the `NotEmpty`\n  validator of a collection.","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/730994a4d7f597ed5c0e3c91ce868a1413d54796"},{"sha":"9fd35469faea2ae5b063bdf2f621dbb92059fd5c","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Adds CHANGELOG entry for #170","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/9fd35469faea2ae5b063bdf2f621dbb92059fd5c"},{"sha":"f48098a9d652b19a46dbaab84afc44059f6add7a","author":{"name":"Matthew Weier O'Phinney","email":"f80d0ca101e967b50b730ddf8e8aca0de85e8df6@zend.com"},"message":"Merge branch 'feature/170-required-collection-message' into develop\n\nClose #170\nFixes #94","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/f48098a9d652b19a46dbaab84afc44059f6add7a"},{"sha":"c7e4615bc03e1ece0c45349e4adb4327d4e6a284","author":{"name":"Sasha Alex Romanenko","email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alex-tech-adventures.com"},"message":"Copy and commit to PSR file to easier track changes in editor.","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/c7e4615bc03e1ece0c45349e4adb4327d4e6a284"},{"sha":"efc2cfb699f8538fb6589dd3b55b022d4cad9b8f","author":{"name":"Sasha Alex Romanenko","email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alex-tech-adventures.com"},"message":"Add PSR-7 compatible FileInput filter which uses UploadedFileInterface instead of $_FILES.\nUsing own repository for zend-validator for tests to pass, as filter has tight dependency on validator.","distinct":true,"url":"https://api.github.com/repos/alextech/zend-inputfilter/commits/efc2cfb699f8538fb6589dd3b55b022d4cad9b8f"}]}
{"actor":{"display_login":"weierophinney"}}