Upgrading the elasticsearch plugins has been relatively easy because the compiler is able to tell us about changed/missing methods/classes/etc. The phan project can give us similar information about php. Resolve all, or as many as possible, errors than phan identifies in CirrusSearch so we can use it with the upgraded Elastica library to identify other possible issues.
Description
Details
Event Timeline
Change 283350 had a related patch set uploaded (by EBernhardson):
Replace deprecated ConfigFactory::getDefaultInstance()
Change 283353 had a related patch set uploaded (by EBernhardson):
Cleanup annotations/signatures in CirrusSearch\\Sanity
Change 283352 had a related patch set uploaded (by EBernhardson):
Minor static analysis cleanups
Change 283354 had a related patch set uploaded (by EBernhardson):
Cleanup annotations and signatures in CirrusSearch\BuildDocument
Change 283355 had a related patch set uploaded (by EBernhardson):
Cleanup annotations and signatures in CirrusSearch\LanguageDetect
Change 283356 had a related patch set uploaded (by EBernhardson):
Remove call to nonexistent method
Change 283357 had a related patch set uploaded (by EBernhardson):
Make static analysis happy by forcing to string
Change 283358 had a related patch set uploaded (by EBernhardson):
Add missing properties and methods to updateSuggesterIndex
Change 283465 had a related patch set uploaded (by EBernhardson):
search: getInterwikiResults returns array of SearchResultSets
Change 283350 merged by jenkins-bot:
Replace deprecated ConfigFactory::getDefaultInstance()
Change 283556 had a related patch set uploaded (by EBernhardson):
Add/update a variety of annotations to be correct
Change 283557 had a related patch set uploaded (by EBernhardson):
Standardize on catching/passing Elasticas ExceptionInterface
Change 283558 had a related patch set uploaded (by EBernhardson):
Annotate SearchResult and related classes
Change 283559 had a related patch set uploaded (by EBernhardson):
Fix missing variable in RescoreBuilder
Change 283560 had a related patch set uploaded (by EBernhardson):
Add script to run etsy/phan from in vagrant
Change 283561 had a related patch set uploaded (by EBernhardson):
Only call getData() if the right type of Action is used
Change 283562 had a related patch set uploaded (by EBernhardson):
Make sure the Config instance really has a getElement method
Change 283353 merged by jenkins-bot:
Cleanup annotations/signatures in CirrusSearch\\Sanity
Change 283578 had a related patch set uploaded (by EBernhardson):
Add more type annotations to CirrusSearch\Search namespace
Change 283579 had a related patch set uploaded (by EBernhardson):
Add more type annotations to CirrusSearch\BuildDocument namespace
Change 283580 had a related patch set uploaded (by EBernhardson):
Add annotations to Api, Elastica, and Extra sub-namespaces
Change 283581 had a related patch set uploaded (by EBernhardson):
Very minor cleanups to CirrusSearch\Job namespace
Change 283582 had a related patch set uploaded (by EBernhardson):
Trivial whitespace changes to Elastica\LanguageDetector
Change 283583 had a related patch set uploaded (by EBernhardson):
Expand annotations in Elasticsearch\Maintenance namespace
Change 283354 merged by jenkins-bot:
Cleanup annotations and signatures in CirrusSearch\BuildDocument
Change 283355 merged by jenkins-bot:
Cleanup annotations and signatures in CirrusSearch\LanguageDetect
Change 283582 merged by jenkins-bot:
Trivial whitespace changes to Elastica\LanguageDetector
Change 283581 merged by jenkins-bot:
Very minor cleanups to CirrusSearch\Job namespace
Change 283465 merged by jenkins-bot:
search: getInterwikiResults returns array of SearchResultSets
Change 283562 merged by jenkins-bot:
Make sure the Config instance really has a getElement method
Change 283583 merged by jenkins-bot:
Expand annotations in Elasticsearch\Maintenance namespace
Change 283578 merged by jenkins-bot:
Add more type annotations to CirrusSearch\Search namespace
Change 283561 merged by jenkins-bot:
Only call getData() if the right type of Action is used
Change 283358 merged by jenkins-bot:
Add missing properties and methods to maint classes
Change 284260 had a related patch set uploaded (by EBernhardson):
Apply more annotations/type signature updates
Change 284238 had a related patch set uploaded (by EBernhardson):
More PhpDoc cleanups
Change 284261 had a related patch set uploaded (by EBernhardson):
Drop unused method indexToIndexTypes
Change 284216 had a related patch set uploaded (by EBernhardson):
Fix a few minor analysis issues in test cases
Change 284211 had a related patch set uploaded (by EBernhardson):
Remove unused method
Change 284208 had a related patch set uploaded (by EBernhardson):
Add some missing @return annotations
Change 284209 had a related patch set uploaded (by EBernhardson):
Remove some unused use statements
Change 284210 had a related patch set uploaded (by EBernhardson):
Remove unused variables
Change 284212 had a related patch set uploaded (by EBernhardson):
Cleanup some potentially undefined variables
Change 283563 had a related patch set uploaded (by EBernhardson):
Add @suppress annotations for unfixable static analysis
Change 284345 had a related patch set uploaded (by EBernhardson):
Spelling corrections
Change 284362 had a related patch set uploaded (by EBernhardson):
Standardize namespace/use syntax and spacing
Change 284212 merged by jenkins-bot:
Use the correct $exception variable instead of $e
Change 283557 merged by jenkins-bot:
Standardize on catching/passing Elasticas ExceptionInterface
Change 283579 merged by jenkins-bot:
Add more type annotations to CirrusSearch\BuildDocument namespace
Change 283556 merged by jenkins-bot:
Add/update a variety of annotations to be correct
Change 283563 merged by jenkins-bot:
Add @suppress annotations for unfixable static analysis
Change 283580 merged by jenkins-bot:
Add annotations to Api, Elastica, and Extra sub-namespaces
Change 284837 had a related patch set uploaded (by EBernhardson):
Replace deprecated ConfigFactory::getDefaultInstance()
Change 284837 abandoned by EBernhardson:
Replace deprecated ConfigFactory::getDefaultInstance()