Skip to content

Commit 3f1ee0e

Browse files
authored
Merge pull request #65 from dunglas/fix_deprecations
Fix deprecation
2 parents 44ef49b + d58c0b5 commit 3f1ee0e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ matrix:
1313
- php: '5.5'
1414
- php: '5.6'
1515
- php: '7.0'
16-
- php: 'hhvm'
16+
# Use the newer stack for HHVM as HHVM does not support Precise anymore since a long time and so Precise has an outdated version
17+
- php: hhvm-3.12
18+
sudo: required
19+
dist: trusty
20+
group: edge
1721

1822
before_install:
19-
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi;
23+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm-3.12" ]; then phpenv config-rm xdebug.ini; fi;
2024
- if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then curl -LSs https://box-project.github.io/box2/installer.php | php; fi;
2125

2226
install:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"psr/log": "^1.0",
2828
"easyrdf/easyrdf": "^0.9",
2929
"league/html-to-markdown": "^4.0",
30-
"friendsofphp/php-cs-fixer": "^1.0"
30+
"friendsofphp/php-cs-fixer": "^1.12"
3131
},
3232
"require-dev": {
3333
"doctrine/orm": "^2.2",

src/TypesGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use ApiPlatform\SchemaGenerator\AnnotationGenerator\AnnotationGeneratorInterface;
1515
use Psr\Log\LoggerInterface;
16-
use Symfony\CS\Config\Config;
16+
use Symfony\CS\Config;
1717
use Symfony\CS\ConfigurationResolver;
1818
use Symfony\CS\Fixer;
1919

0 commit comments

Comments
 (0)