Upgrade twig to ^3.0 (#2628)

* Upgrade twig to ^3.0

* Update phpstan.neon
This commit is contained in:
李铭昕 2020-10-10 20:13:55 +08:00 committed by GitHub
parent bdfa1e3572
commit f72a7d884a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ parameters:
- %currentWorkingDirectory%/src/grpc-server/*
- %currentWorkingDirectory%/src/swagger/*
- %currentWorkingDirectory%/src/validation/*
- %currentWorkingDirectory%/src/view/*
- %currentWorkingDirectory%/src/view/src/Engine/*
- %currentWorkingDirectory%/src/filesystem/src/Adapter/CosAdapterFactory.php
- %currentWorkingDirectory%/src/metric/src/Adapter/*
- %currentWorkingDirectory%/src/metric/src/ConfigProvider.php

View File

@ -81,7 +81,7 @@
"symfony/finder": "^5.0",
"symfony/property-access": "^5.0",
"symfony/serializer": "^5.0",
"twig/twig": "^2.12",
"twig/twig": "^3.0",
"vlucas/phpdotenv": "^5.0",
"xxtime/flysystem-aliyun-oss": "^1.5"
},

View File

@ -22,7 +22,7 @@ parameters:
- %currentWorkingDirectory%/src/grpc-server/*
- %currentWorkingDirectory%/src/swagger/*
- %currentWorkingDirectory%/src/validation/*
- %currentWorkingDirectory%/src/view/*
- %currentWorkingDirectory%/src/view/src/Engine/*
ignoreErrors:
- '#side of && is always#'
- '#method Redis::zRevRangeByScore\(\) expects int, string given#'