Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Sep 3, 2021
1 parent 2db0daa commit ecf1ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/facebook/tests/TwigExtensionTest.php
Expand Up @@ -15,7 +15,7 @@ public function testIt(): void
$twig = new TwigExtension();
$twig->setApps(self::$kernel->getContainer()->get('pushword.apps'));
$twigEnv = self::$kernel->getContainer()->get('twig');
$this->assertIsBool(is_string($twig->showFacebookLastPost($twigEnv, 'Google')));
$this->assertIsBool(\is_string($twig->showFacebookLastPost($twigEnv, 'Google')));
//$this->assertIsString($twig->showFacebookLastPost($twigEnv, 'Google')); disabled because GhA IP is kicked by FB
}
}
2 changes: 1 addition & 1 deletion packages/static-generator/src/Generator/MediaGenerator.php
Expand Up @@ -28,7 +28,7 @@ protected function copyMediaToDownload()
$this->filesystem->mkdir($staticMediaDir);
}

$dir = dir($mediaDir);
$dir = getdir($mediaDir);
while (false !== $entry = $dir->read()) {
if ('.' == $entry || '..' == $entry) {
continue;
Expand Down

0 comments on commit ecf1ef9

Please sign in to comment.