owncloud / search_elastic

Elasticsearch based full text search
https://github.com/owncloud/search_elastic
GNU General Public License v2.0
8 stars 1 forks source link

fix phan and phpstan reported errors #99

Closed individual-it closed 5 years ago

individual-it commented 5 years ago

phan and phstan were added to the test matrix, but a lot of errors were reported, so after ignoring them we need to fix them one by one see #72 and #90

skshetry commented 5 years ago

Only thing that needs to be done now, is, to change Entity to Status back. The PR #98 changed return type Status to Entity, but that was a mistake as it should really be Status.

This creates a lot of Call to Undefined function error. Other than this, other issues can be fixed as we find/stumble upon. This issue can be closed after the return type changes.

micbar commented 5 years ago

@sharidas Could you create more DEV Tasks for this and pair with @skshetry ?

Just look at the phan and stan configs and remove items from the ignore lists. Keep the tasks small :-)

sharidas commented 5 years ago

Dev tasks ( or subtasks ):

PS: Will continue adding, the more issues found.

sharidas commented 5 years ago

We ( me and @skshetry ) had discussed and created issues mentioned at https://github.com/owncloud/search_elastic/issues/99#issuecomment-502567539 and fixed them. As per our discussion, this is done.

skshetry commented 5 years ago

Close this? @individual-it

phil-davis commented 5 years ago

done as best as reasonable (i.e. stuff that has be be ignored is explicitly ignored, so if people write new code with dodgy stuff, it will fail the code standards checks)

phil-davis commented 5 years ago

PR #103 was just merged.