original_string: protected function selectPreferredLanguageOnWordPressInstall()
      {
          $wpInstallScriptPath = $this->getComposerConfigurator()->getWordPressInstallDirectory() . '/wp-admin/install.php';
          
          if (file_exists($wpInstallScriptPath)) {
              $wpInstallScript = file_get_contents($wpInstallScriptPath);
              $wpInstallScript = preg_replace('/<\\/body>\\n<\\/html>\\s*$/', '<script>' . PHP_EOL
                  . 'if (jQuery(\'#language\').find(\'option[value="en_GB"]\').length) {' . PHP_EOL
                  . '    jQuery(\'#language\').val(\'en_GB\').change();' . PHP_EOL
                  . '}' . PHP_EOL
                  . '</script>' . PHP_EOL
                  . '</body>' . PHP_EOL
                  . '</html>' . PHP_EOL, $wpInstallScript);
              
              file_put_contents($wpInstallScriptPath, $wpInstallScript);
          }
      }
code: protected function selectPreferredLanguageOnWordPressInstall()
      {
          $wpInstallScriptPath = $this->getComposerConfigurator()->getWordPressInstallDirectory() . '/wp-admin/install.php';
          
          if (file_exists($wpInstallScriptPath)) {
              $wpInstallScript = file_get_contents($wpInstallScriptPath);
              $wpInstallScript = preg_replace('/<\\/body>\\n<\\/html>\\s*$/', '<script>' . PHP_EOL
                  . 'if (jQuery(\'#language\').find(\'option[value="en_GB"]\').length) {' . PHP_EOL
                  . '    jQuery(\'#language\').val(\'en_GB\').change();' . PHP_EOL
                  . '}' . PHP_EOL
                  . '</script>' . PHP_EOL
                  . '</body>' . PHP_EOL
                  . '</html>' . PHP_EOL, $wpInstallScript);
              
              file_put_contents($wpInstallScriptPath, $wpInstallScript);
          }
      }
code_tokens: protected function selectPreferredLanguageOnWordPressInstall ( ) { $ wpInstallScriptPath = $ this -> getComposerConfigurator ( ) -> getWordPressInstallDirectory ( ) . '/wp-admin/install.php' ; if ( file_exists ( $ wpInstallScriptPath ) ) { $ wpInstallScript = file_get_contents ( $ wpInstallScriptPath ) ; $ wpInstallScript = preg_replace ( '/<\\/body>\\n<\\/html>\\s*$/' , '<script>' . PHP_EOL . 'if (jQuery(\'#language\').find(\'option[value="en_GB"]\').length) {' . PHP_EOL . '    jQuery(\'#language\').val(\'en_GB\').change();' . PHP_EOL . '}' . PHP_EOL . '</script>' . PHP_EOL . '</body>' . PHP_EOL . '</html>' . PHP_EOL , $ wpInstallScript ) ; file_put_contents ( $ wpInstallScriptPath , $ wpInstallScript ) ; } }
docstring: Select the preferred en_GB option in the WordPress installation language form.
  
  @return void
docstring_tokens: Select the preferred en_GB option in the WordPress installation language form .