|
609 | 609 |
|
610 | 610 | $isPlatinum = $user->getInternalId() % 100 === 0; |
611 | 611 | } else { |
612 | | - $name = $mock === 'normal-long' ? 'Sir First Walter O\'Brian Junior' : 'Walter O\'Brian'; |
| 612 | + $name = $mock === 'normal-long' ? 'Sir First Walter O\'Brien Junior' : 'Walter O\'Brien'; |
613 | 613 | $createdAt = new \DateTime('now'); |
614 | | - $githubName = $mock === 'normal-no-github' ? '' : ($mock === 'normal-long' ? 'sir-first-walterobrian-junior' : 'walterobrian'); |
| 614 | + $githubName = $mock === 'normal-no-github' ? '' : ($mock === 'normal-long' ? 'sir-first-walterobrien-junior' : 'walterobrien'); |
615 | 615 | $isHero = $mock === 'hero'; |
616 | 616 | $isContributor = $mock === 'contributor'; |
617 | 617 | $isEmployee = \str_starts_with($mock, 'employee'); |
|
900 | 900 | } else { |
901 | 901 | $bgVariation = \str_ends_with($mock, '-bg2') ? '2' : (\str_ends_with($mock, '-bg3') ? '3' : '1'); |
902 | 902 | $cardVariation = \str_ends_with($mock, '-right') ? '2' : (\str_ends_with($mock, '-middle') ? '3' : '1'); |
903 | | - $name = \str_starts_with($mock, 'normal-long') ? 'Sir First Walter O\'Brian Junior' : 'Walter O\'Brian'; |
| 903 | + $name = \str_starts_with($mock, 'normal-long') ? 'Sir First Walter O\'Brien Junior' : 'Walter O\'Brien'; |
904 | 904 | $createdAt = new \DateTime('now'); |
905 | | - $githubName = $mock === 'normal-no-github' ? '' : (\str_starts_with($mock, 'normal-long') ? 'sir-first-walterobrian-junior' : 'walterobrian'); |
| 905 | + $githubName = $mock === 'normal-no-github' ? '' : (\str_starts_with($mock, 'normal-long') ? 'sir-first-walterobrien-junior' : 'walterobrien'); |
906 | 906 | $isHero = \str_starts_with($mock, 'hero'); |
907 | 907 | $isContributor = \str_starts_with($mock, 'contributor'); |
908 | 908 | $isEmployee = \str_starts_with($mock, 'employee'); |
|
0 commit comments