@@ -36,57 +36,57 @@ public function has_name(): void
3636
3737 #[DataProvider('provideValidTransformations ' )]
3838 #[Test]
39- public function can_transform_from_php_value (?string $ phpInput , ?string $ postgresValueAfterNormalisation , ?string $ phpValueAfterRetrievalFromDatabase ): void
39+ public function can_transform_from_php_value (?string $ phpInput , ?string $ postgresValueAfterNormalization , ?string $ phpValueAfterRetrievalFromDatabase ): void
4040 {
41- self ::assertEquals ($ postgresValueAfterNormalisation , $ this ->fixture ->convertToDatabaseValue ($ phpInput , $ this ->platform ));
41+ self ::assertEquals ($ postgresValueAfterNormalization , $ this ->fixture ->convertToDatabaseValue ($ phpInput , $ this ->platform ));
4242 }
4343
4444 #[DataProvider('provideValidTransformations ' )]
4545 #[Test]
46- public function can_transform_to_php_value (?string $ phpInput , ?string $ postgresValueAfterNormalisation , ?string $ phpValueAfterRetrievalFromDatabase ): void
46+ public function can_transform_to_php_value (?string $ phpInput , ?string $ postgresValueAfterNormalization , ?string $ phpValueAfterRetrievalFromDatabase ): void
4747 {
48- self ::assertEquals ($ phpValueAfterRetrievalFromDatabase , $ this ->fixture ->convertToPHPValue ($ postgresValueAfterNormalisation , $ this ->platform ));
48+ self ::assertEquals ($ phpValueAfterRetrievalFromDatabase , $ this ->fixture ->convertToPHPValue ($ postgresValueAfterNormalization , $ this ->platform ));
4949 }
5050
5151 /**
52- * @return array<string, array{phpInput: string|null, postgresValueAfterNormalisation : string|null, postgresValueAfterNormalisation : string|null}>
52+ * @return array<string, array{phpInput: string|null, postgresValueAfterNormalization : string|null, phpValueAfterRetrievalFromDatabase : string|null}>
5353 */
5454 public static function provideValidTransformations (): array
5555 {
5656 return [
5757 'null ' => [
5858 'phpInput ' => null ,
59- 'postgresValueAfterNormalisation ' => null ,
59+ 'postgresValueAfterNormalization ' => null ,
6060 'phpValueAfterRetrievalFromDatabase ' => null ,
6161 ],
6262 'colon-separated lowercase ' => [
6363 'phpInput ' => '08:00:2b:01:02:03 ' ,
64- 'postgresValueAfterNormalisation ' => '08:00:2b:01:02:03 ' ,
64+ 'postgresValueAfterNormalization ' => '08:00:2b:01:02:03 ' ,
6565 'phpValueAfterRetrievalFromDatabase ' => '08:00:2b:01:02:03 ' ,
6666 ],
6767 'colon-separated uppercase ' => [
6868 'phpInput ' => '08:00:2B:01:02:03 ' ,
69- 'postgresValueAfterNormalisation ' => '08:00:2b:01:02:03 ' ,
69+ 'postgresValueAfterNormalization ' => '08:00:2b:01:02:03 ' ,
7070 'phpValueAfterRetrievalFromDatabase ' => '08:00:2b:01:02:03 ' ,
7171 ],
7272 'hyphen-separated lowercase ' => [
7373 'phpInput ' => '08-00-2b-01-02-03 ' ,
74- 'postgresValueAfterNormalisation ' => '08:00:2b:01:02:03 ' ,
74+ 'postgresValueAfterNormalization ' => '08:00:2b:01:02:03 ' ,
7575 'phpValueAfterRetrievalFromDatabase ' => '08:00:2b:01:02:03 ' ,
7676 ],
7777 'hyphen-separated uppercase ' => [
7878 'phpInput ' => '08-00-2B-01-02-03 ' ,
79- 'postgresValueAfterNormalisation ' => '08:00:2b:01:02:03 ' ,
79+ 'postgresValueAfterNormalization ' => '08:00:2b:01:02:03 ' ,
8080 'phpValueAfterRetrievalFromDatabase ' => '08:00:2b:01:02:03 ' ,
8181 ],
8282 'no separator ' => [
8383 'phpInput ' => '08002B010203 ' ,
84- 'postgresValueAfterNormalisation ' => '08:00:2b:01:02:03 ' ,
84+ 'postgresValueAfterNormalization ' => '08:00:2b:01:02:03 ' ,
8585 'phpValueAfterRetrievalFromDatabase ' => '08:00:2b:01:02:03 ' ,
8686 ],
8787 'mixed case no separator ' => [
8888 'phpInput ' => '08002b010203 ' ,
89- 'postgresValueAfterNormalisation ' => '08:00:2b:01:02:03 ' ,
89+ 'postgresValueAfterNormalization ' => '08:00:2b:01:02:03 ' ,
9090 'phpValueAfterRetrievalFromDatabase ' => '08:00:2b:01:02:03 ' ,
9191 ],
9292 ];
0 commit comments