Skip to content

Commit

Permalink
Merge pull request #35 from lingoda/upgrade-php-to-8.0
Browse files Browse the repository at this point in the history
feat: upgrade php to 8.0
  • Loading branch information
jorisdugue authored Nov 30, 2021
2 parents 8da2853 + 558650e commit 689611a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Entity/LibraryRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function findLatestLibraryVersions()
EOT;
$em = $this->getEntityManager();
$stmt = $em->getConnection()->prepare($sql);
$stmt->execute();
$stmt = $stmt->execute();
$libraryVersions = $stmt->fetchAll();
foreach ($libraryVersions as &$libraryVersion) {
$libraryVersion = (object)$libraryVersion;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": "^7.2.5",
"php": "^7.2.5 || ^8.0",
"doctrine/orm": "^2.7",
"guzzlehttp/guzzle": "^7.3",
"h5p/h5p-core": "^1.24",
Expand Down

0 comments on commit 689611a

Please sign in to comment.