Skip to content

Commit

Permalink
Improve some URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Arman-Hosseini authored and nicolas-grekas committed Aug 8, 2019
1 parent 12940f2 commit 1f9d487
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Command/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function setCode(callable $code)
$r = new \ReflectionFunction($code);
if (null === $r->getClosureThis()) {
if (\PHP_VERSION_ID < 70000) {
// Bug in PHP5: https://bugs.php.net/bug.php?id=64761
// Bug in PHP5: https://bugs.php.net/64761
// This means that we cannot bind static closures and therefore we must
// ignore any errors here. There is no way to test if the closure is
// bindable.
Expand Down
2 changes: 1 addition & 1 deletion Input/ArgvInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private function parseLongOption($token)
if (false !== $pos = strpos($name, '=')) {
if (0 === \strlen($value = substr($name, $pos + 1))) {
// if no value after "=" then substr() returns "" since php7 only, false before
// see http://php.net/manual/fr/migration70.incompatible.php#119151
// see https://php.net/migration70.incompatible.php#119151
if (\PHP_VERSION_ID < 70000 && false === $value) {
$value = '';
}
Expand Down
2 changes: 1 addition & 1 deletion Logger/ConsoleLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
* @author Kévin Dunglas <[email protected]>
*
* @see http://www.php-fig.org/psr/psr-3/
* @see https://www.php-fig.org/psr/psr-3/
*/
class ConsoleLogger extends AbstractLogger
{
Expand Down

0 comments on commit 1f9d487

Please sign in to comment.