Bence Pőcze bence
  • Joined on 2020-12-27
8e9e5b08f9 MAPG-230 renew session cookie if it already exists
bence created branch bugfix/MAPG-230-session-s-cookie-is-not-renewed in esoko/mapguesser 2021-05-09 15:21:43 +02:00
bence pushed tag Release_2105.4 to esoko/mapguesser 2021-05-09 13:36:27 +02:00
bence deleted branch feature/preference-for-outdoor-panorama-in-the-frontend from esoko/mapguesser 2021-05-09 13:34:41 +02:00
bence merged pull request esoko/mapguesser#43 2021-05-09 13:34:37 +02:00
reverted removal of preference for outdoor panorama in the front end
bence pushed to develop at esoko/mapguesser 2021-05-09 13:34:37 +02: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 22:43:45 +02: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 22:39:27 +02: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 22:24:10 +02: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 22:22:05 +02:00
feature/avoid-repeating-places-in-game
bence commented on pull request esoko/mapguesser#38 2021-05-08 22:18:04 +02:00
feature/avoid-repeating-places-in-game

This can be removed too.

bence commented on pull request esoko/mapguesser#38 2021-05-08 22:17:34 +02: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 21:39:03 +02: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 21:35:04 +02: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: