@@ -92,7 +92,7 @@ public function setUp(): void
9292 $ regexConfig = $ this ->yamlReader ->get ('Regex.yaml ' );
9393 $ regexConfig ['LOCATION_EXCLUSIVE ' ][] = '/OUR CAMPUS/i ' ;
9494 $ translator = $ this ->createMock (Translate::class);
95- $ translator ->expects ($ this ->any ())->method ('translate ' )->willReturnCallback (fn ($ p ) => $ p );
95+ $ translator ->expects ($ this ->any ())->method ('translate ' )->willReturnCallback (fn ($ p ) => $ p );
9696 $ this ->getThis = new GetThisLoader (
9797 $ this ->config ,
9898 new Regex ($ regexConfig ),
@@ -112,7 +112,7 @@ public function setGetThisConfig(array $config): void
112112 try {
113113 $ this ->setProperty ($ this ->getThis , 'config ' , $ config );
114114 } catch (ReflectionException $ e ) {
115- die (" Reflection exception when trying to set the config: " . $ e ->getMessage ());
115+ die (' Reflection exception when trying to set the config: ' . $ e ->getMessage ());
116116 }
117117 }
118118
@@ -126,7 +126,7 @@ public function getMockRecordDriver(): SolrDefault|MockObject
126126 try {
127127 return $ this ->createMock (SolrDefault::class);
128128 } catch (\PHPUnit \Framework \MockObject \Exception $ e ) {
129- die (" An exception has occurred while creating a mock for the record driver: " . $ e ->getMessage ());
129+ die (' An exception has occurred while creating a mock for the record driver: ' . $ e ->getMessage ());
130130 }
131131 }
132132
@@ -624,7 +624,7 @@ public function testGetLink()
624624 ],
625625 ],
626626 ],
627- ]
627+ ],
628628 ]);
629629 $ this ->setProperty ($ this ->getThis , 'record ' , $ driver );
630630 $ this ->assertEquals ('https://what_a_great_link.com ' , $ this ->getThis ->getLink ());
@@ -931,7 +931,7 @@ public function testFactory()
931931 $ regex = $ this ->createMock (Regex::class);
932932
933933 $ translator = $ this ->createMock (Translate::class);
934- $ translator ->expects ($ this ->any ())->method ('translate ' )->willReturnCallback (fn ($ p ) => $ p );
934+ $ translator ->expects ($ this ->any ())->method ('translate ' )->willReturnCallback (fn ($ p ) => $ p );
935935
936936 $ viewHelperManager = $ this ->createMock (HelperPluginManager::class);
937937 $ viewHelperManager ->expects ($ this ->once ())->method ('get ' )->willReturn ($ translator );
0 commit comments