Bence Pőcze bence
  • Joined on 2020-12-27
bence created branch bugfix/MAPG-230-session-s-cookie-is-not-renewed in esoko/mapguesser 2021-05-09 13:21:43 +00:00
bence pushed tag Release_2105.4 to esoko/mapguesser 2021-05-09 11:36:27 +00:00
bence deleted branch feature/preference-for-outdoor-panorama-in-the-frontend from esoko/mapguesser 2021-05-09 11:34:41 +00:00
bence merged pull request esoko/mapguesser#43 2021-05-09 11:34:37 +00:00
reverted removal of preference for outdoor panorama in the front end
bence pushed to develop at esoko/mapguesser 2021-05-09 11:34:37 +00:00
94624d5b2c Merge pull request 'reverted removal of preference for outdoor panorama in the front end' (#43) from feature/preference-for-outdoor-panorama-in-the-frontend into develop
71c728d56c reverted removal of preference for outdoor panorama in the front end
Compare 2 commits »
bence commented on pull request esoko/mapguesser#38 2021-05-08 20:43:45 +00:00
feature/avoid-repeating-places-in-game

Really good feature, thank you for implementing this! I just had some minor findings.

bence commented on pull request esoko/mapguesser#38 2021-05-08 20:39:27 +00:00
feature/avoid-repeating-places-in-game

I would check if count($unvisitedPlaces) == $n before calling this function so we could save a function call and a DB query in a lot of cases.

bence commented on pull request esoko/mapguesser#38 2021-05-08 20:24:10 +00:00
feature/avoid-repeating-places-in-game

I wouldn't reformat this. There is no official coding guideline but I usually put a space after if, while, for, etc.

bence commented on pull request esoko/mapguesser#38 2021-05-08 20:22:05 +00:00
feature/avoid-repeating-places-in-game
bence commented on pull request esoko/mapguesser#38 2021-05-08 20:18:04 +00:00
feature/avoid-repeating-places-in-game

This can be removed too.

bence commented on pull request esoko/mapguesser#38 2021-05-08 20:17:34 +00:00
feature/avoid-repeating-places-in-game

This can be private now. And I don't remember why it has a parameter $exclude but I would remove that for a better understaning and create a local variable instead.

bence commented on pull request esoko/mapguesser#38 2021-05-08 19:39:03 +00:00
feature/avoid-repeating-places-in-game

If it is refactored anyway I would directly use $this->joins and local variable $joins (line 331) becomes unnecessary.

bence commented on pull request esoko/mapguesser#38 2021-05-08 19:35:04 +00:00
feature/avoid-repeating-places-in-game

Better to use $array[] = to add a new element to an array because it is more efficient according the the PHP docs: