diff --git a/Pipes/WindowsPipes.php b/Pipes/WindowsPipes.php index 1619e632..e8e6f139 100644 --- a/Pipes/WindowsPipes.php +++ b/Pipes/WindowsPipes.php @@ -17,8 +17,8 @@ /** * WindowsPipes implementation uses temporary files as handles. * - * @see https://bugs.php.net/bug.php?id=51800 - * @see https://bugs.php.net/bug.php?id=65650 + * @see https://bugs.php.net/51800 + * @see https://bugs.php.net/65650 * * @author Romain Neutron * @@ -43,7 +43,7 @@ public function __construct($input, $haveReadSupport) // Fix for PHP bug #51800: reading from STDOUT pipe hangs forever on Windows if the output is too big. // Workaround for this problem is to use temporary files instead of pipes on Windows platform. // - // @see https://bugs.php.net/bug.php?id=51800 + // @see https://bugs.php.net/51800 $pipes = [ Process::STDOUT => Process::OUT, Process::STDERR => Process::ERR, @@ -105,8 +105,8 @@ public function getDescriptors() ]; } - // We're not using pipe on Windows platform as it hangs (https://bugs.php.net/bug.php?id=51800) - // We're not using file handles as it can produce corrupted output https://bugs.php.net/bug.php?id=65650 + // We're not using pipe on Windows platform as it hangs (https://bugs.php.net/51800) + // We're not using file handles as it can produce corrupted output https://bugs.php.net/65650 // So we redirect output within the commandline and pass the nul device to the process return [ ['pipe', 'r'], diff --git a/Process.php b/Process.php index 68cc6c65..d592be27 100644 --- a/Process.php +++ b/Process.php @@ -152,8 +152,8 @@ public function __construct($commandline, $cwd = null, array $env = null, $input // on Windows, if the cwd changed via chdir(), proc_open defaults to the dir where PHP was started // on Gnu/Linux, PHP builds with --enable-maintainer-zts are also affected - // @see : https://bugs.php.net/bug.php?id=51800 - // @see : https://bugs.php.net/bug.php?id=50524 + // @see : https://bugs.php.net/51800 + // @see : https://bugs.php.net/50524 if (null === $this->cwd && (\defined('ZEND_THREAD_SAFE') || '\\' === \DIRECTORY_SEPARATOR)) { $this->cwd = getcwd(); } @@ -451,7 +451,7 @@ public function getPid() /** * Sends a POSIX signal to the process. * - * @param int $signal A valid POSIX signal (see http://www.php.net/manual/en/pcntl.constants.php) + * @param int $signal A valid POSIX signal (see https://php.net/pcntl.constants) * * @return $this * @@ -1578,7 +1578,7 @@ private function resetProcessData() /** * Sends a POSIX signal to the process. * - * @param int $signal A valid POSIX signal (see http://www.php.net/manual/en/pcntl.constants.php) + * @param int $signal A valid POSIX signal (see https://php.net/pcntl.constants) * @param bool $throwException Whether to throw exception in case signal failed * * @return bool True if the signal was sent successfully, false otherwise diff --git a/ProcessUtils.php b/ProcessUtils.php index c06aa247..00acde0a 100644 --- a/ProcessUtils.php +++ b/ProcessUtils.php @@ -44,8 +44,8 @@ public static function escapeArgument($argument) //Fix for PHP bug #43784 escapeshellarg removes % from given string //Fix for PHP bug #49446 escapeshellarg doesn't work on Windows - //@see https://bugs.php.net/bug.php?id=43784 - //@see https://bugs.php.net/bug.php?id=49446 + //@see https://bugs.php.net/43784 + //@see https://bugs.php.net/49446 if ('\\' === \DIRECTORY_SEPARATOR) { if ('' === $argument) { return escapeshellarg($argument); diff --git a/Tests/ProcessTest.php b/Tests/ProcessTest.php index 18fef4ff..ab6f0b00 100644 --- a/Tests/ProcessTest.php +++ b/Tests/ProcessTest.php @@ -1178,7 +1178,7 @@ public function pipesCodeProvider() ]; if ('\\' === \DIRECTORY_SEPARATOR) { - // Avoid XL buffers on Windows because of https://bugs.php.net/bug.php?id=65650 + // Avoid XL buffers on Windows because of https://bugs.php.net/65650 $sizes = [1, 2, 4, 8]; } else { $sizes = [1, 16, 64, 1024, 4096];