Skip to content

Commit

Permalink
Merge pull request #1 from FriendsOfSymfony/lts-support
Browse files Browse the repository at this point in the history
Lts support
  • Loading branch information
encreinformatique authored Jan 28, 2020
2 parents 52773be + fb50225 commit dfd5d8f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ vendor
.php_cs
Tests/Functional/cache
Tests/Functional/logs
var
var
.phpunit.result.cache
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ matrix:
before_install:
- echo "memory_limit=4G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- phpenv config-rm xdebug.ini
- composer self-update
- if [ "$SYMFONY_LTS" != "" ]; then composer require --dev --no-update symfony/lts=$SYMFONY_LTS; fi

install:
Expand All @@ -31,4 +32,4 @@ install:

script: ./phpunit

dist: trusty
dist: trusty
2 changes: 1 addition & 1 deletion Tests/Document/ThreadDenormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ThreadDenormalizerTest extends TestCase
{
protected $dates;

protected function setUp()
protected function setUp(): void
{
$this->markTestIncomplete('Broken, needs to be fixed');

Expand Down
2 changes: 1 addition & 1 deletion Tests/EntityManager/ThreadManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ThreadManagerTest extends TestCase
protected $user;
protected $date;

public function setUp()
public function setUp(): void
{
$this->user = $this->createParticipantMock('4711');
$this->date = new \DateTime('2013-12-25');
Expand Down
2 changes: 1 addition & 1 deletion Tests/Twig/Extension/MessageExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MessageExtensionTest extends TestCase
private $authorizer;
private $participant;

public function setUp()
public function setUp(): void
{
$this->participantProvider = $this->getMockBuilder('FOS\MessageBundle\Security\ParticipantProviderInterface')->getMock();
$this->provider = $this->getMockBuilder('FOS\MessageBundle\Provider\ProviderInterface')->getMock();
Expand Down
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,12 @@
"branch-alias": {
"dev-master": "2.0-dev"
}
}
},
"repositories": [
{
"type": "composer",
"url": "https://packagist.org"
},
{ "packagist": false }
]
}

0 comments on commit dfd5d8f

Please sign in to comment.