{"push_id":637960404,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"c56e4a56dc2e2e987f80a944e009d0f76d249400","before":"eb036465dc9b2f83cf302f4cb92c322197b4221b","commits":[{"sha":"c56e4a56dc2e2e987f80a944e009d0f76d249400","author":{"email":"c028c213ed5efcf30c3f4fc7361dbde0c893c5b7@joshuaspence.com","name":"Joshua Spence"},"message":"Add a linter rule for default parameters\n\nSummary: Ref T7409. Adds `ArcanistXHPASTLinter::LINT_DEFAULT_PARAMETERS` for ensuring function/method parameters with a default value are declared after those without a default value. Based on [[https://github.com/squizlabs/PHP_CodeSniffer/blob/master/CodeSniffer/Standards/PEAR/Sniffs/Functions/ValidDefaultValueSniff.php | PEAR_Sniffs_Functions_ValidDefaultValueSniff]].\n\nTest Plan: Added test cases.\n\nReviewers: epriestley, #blessed_reviewers\n\nReviewed By: epriestley, #blessed_reviewers\n\nSubscribers: Korvin, epriestley\n\nManiphest Tasks: T7409\n\nDifferential Revision: https://secure.phabricator.com/D12418","distinct":true,"url":"https://api.github.com/repos/phacility/arcanist/commits/c56e4a56dc2e2e987f80a944e009d0f76d249400"}]}