Skip to content

Commit

Permalink
Merge pull request #130 from stefandoorn/maintenance/php74
Browse files Browse the repository at this point in the history
Build: Add PHP 7.4 to build matrix
  • Loading branch information
stefandoorn committed Aug 24, 2020
2 parents 6b17ef2 + 18419ba commit c1fc9dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
language: php

dist: trusty
os: linux

sudo: false
dist: bionic

php:
- '7.2'
- '7.3'
- '7.4'

services:
- mysql

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"require-dev": {
"lchrusciel/api-test-case": "^4.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"phpspec/phpspec": "^5.0",
"phpspec/phpspec": "^6.0",
"phpstan/phpstan-doctrine": "^0.11",
"phpstan/phpstan-shim": "^0.11",
"phpstan/phpstan-strict-rules": "^0.11",
Expand Down
2 changes: 1 addition & 1 deletion src/Routing/SitemapLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(SitemapBuilderInterface $sitemapBuilder)
public function load($resource, $type = null): RouteCollection
{
$routes = new RouteCollection();

if (true === $this->loaded) {
return $routes;
}
Expand Down

0 comments on commit c1fc9dd

Please sign in to comment.