mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 12:24:49 +01:00
Fix windows builds (#4775)
* Choco now offers PHP 8 only * Bump build deps to allow PHP 8 builds * Bump slevomat * Disable coverage to allow paratest * Bump dummy project version to allow testing on PHP 8
This commit is contained in:
parent
910d617608
commit
5bce554cbb
@ -14,7 +14,7 @@ init:
|
|||||||
environment:
|
environment:
|
||||||
SSL_CERT_FILE: "C:\\tools\\php\\cacert.pem"
|
SSL_CERT_FILE: "C:\\tools\\php\\cacert.pem"
|
||||||
matrix:
|
matrix:
|
||||||
- php_ver_target: 7.4
|
- php_ver_target: 8.0
|
||||||
DEPS: 'high'
|
DEPS: 'high'
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
@ -44,16 +44,16 @@
|
|||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"amphp/amp": "^2.4.2",
|
"amphp/amp": "^2.4.2",
|
||||||
"bamarni/composer-bin-plugin": "^1.2",
|
"bamarni/composer-bin-plugin": "^1.2",
|
||||||
"brianium/paratest": "^4.0.0",
|
"brianium/paratest": "^4.0||^6.0",
|
||||||
"phpdocumentor/reflection-docblock": "^5",
|
"phpdocumentor/reflection-docblock": "^5",
|
||||||
"phpmyadmin/sql-parser": "5.1.0",
|
"phpmyadmin/sql-parser": "5.1.0||dev-master",
|
||||||
"phpspec/prophecy": ">=1.9.0",
|
"phpspec/prophecy": ">=1.9.0",
|
||||||
"phpunit/phpunit": "^9.0",
|
"phpunit/phpunit": "^9.0",
|
||||||
"psalm/plugin-phpunit": "^0.13",
|
"psalm/plugin-phpunit": "^0.13",
|
||||||
"weirdan/prophecy-shim": "^1.0 || ^2.0",
|
"slevomat/coding-standard": "^6.3.11",
|
||||||
"slevomat/coding-standard": "^5.0",
|
|
||||||
"squizlabs/php_codesniffer": "^3.5",
|
"squizlabs/php_codesniffer": "^3.5",
|
||||||
"symfony/process": "^4.3"
|
"symfony/process": "^4.3",
|
||||||
|
"weirdan/prophecy-shim": "^1.0 || ^2.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-igbinary": "^2.0.5"
|
"ext-igbinary": "^2.0.5"
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
<file>src/Psalm/Internal/Provider/ParserCacheProvider.php</file>
|
<file>src/Psalm/Internal/Provider/ParserCacheProvider.php</file>
|
||||||
</exclude>
|
</exclude>
|
||||||
<report>
|
<report>
|
||||||
<clover outputFile="build/logs/clover.xml"/>
|
<!-- <clover outputFile="build/logs/clover.xml"/> -->
|
||||||
<html outputDirectory="build/logs/phpunit-html/"/>
|
<!-- <html outputDirectory="build/logs/phpunit-html/"/> -->
|
||||||
</report>
|
</report>
|
||||||
</coverage>
|
</coverage>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"description": "A sample project to be used when testing Psalm",
|
"description": "A sample project to be used when testing Psalm",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"require": {
|
"require": {
|
||||||
"vimeo/psalm": "^3.11"
|
"vimeo/psalm": "^4.3"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
Loading…
Reference in New Issue
Block a user