Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ArgumentEscaper.php 223B

123456789101112131415
  1. <?php
  2. namespace GitList\Escaper;
  3. class ArgumentEscaper
  4. {
  5. public function escape($argument)
  6. {
  7. if ($argument === null) {
  8. return null;
  9. }
  10. return escapeshellcmd($argument);
  11. }
  12. }