+ /**
+ * Mocking the L10n::t() calls for the function checks
+ */
+ private function mockFunctionL10TCalls()
+ {
+ $this->mockL10nT('Apache mod_rewrite module', 1);
+ $this->mockL10nT('PDO or MySQLi PHP module', 1);
+ $this->mockL10nT('libCurl PHP module', 1);
+ $this->mockL10nT('Error: libCURL PHP module required but not installed.', 1);
+ $this->mockL10nT('XML PHP module', 1);
+ $this->mockL10nT('GD graphics PHP module', 1);
+ $this->mockL10nT('Error: GD graphics PHP module with JPEG support required but not installed.', 1);
+ $this->mockL10nT('OpenSSL PHP module', 1);
+ $this->mockL10nT('Error: openssl PHP module required but not installed.', 1);
+ $this->mockL10nT('mb_string PHP module', 1);
+ $this->mockL10nT('Error: mb_string PHP module required but not installed.', 1);
+ $this->mockL10nT('iconv PHP module', 1);
+ $this->mockL10nT('Error: iconv PHP module required but not installed.', 1);
+ $this->mockL10nT('POSIX PHP module', 1);
+ $this->mockL10nT('Error: POSIX PHP module required but not installed.', 1);
+ $this->mockL10nT('JSON PHP module', 1);
+ $this->mockL10nT('Error: JSON PHP module required but not installed.', 1);
+ }
+