mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
cs-fix, add tests
This commit is contained in:
parent
cc088b6382
commit
1a0e6ee717
28
composer.lock
generated
28
composer.lock
generated
@ -2529,16 +2529,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "friendsofphp/php-cs-fixer",
|
"name": "friendsofphp/php-cs-fixer",
|
||||||
"version": "v3.64.0",
|
"version": "v3.65.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
|
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
|
||||||
"reference": "58dd9c931c785a79739310aef5178928305ffa67"
|
"reference": "79d4f3e77b250a7d8043d76c6af8f0695e8a469f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/58dd9c931c785a79739310aef5178928305ffa67",
|
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/79d4f3e77b250a7d8043d76c6af8f0695e8a469f",
|
||||||
"reference": "58dd9c931c785a79739310aef5178928305ffa67",
|
"reference": "79d4f3e77b250a7d8043d76c6af8f0695e8a469f",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -2548,7 +2548,7 @@
|
|||||||
"ext-filter": "*",
|
"ext-filter": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-tokenizer": "*",
|
"ext-tokenizer": "*",
|
||||||
"fidry/cpu-core-counter": "^1.0",
|
"fidry/cpu-core-counter": "^1.2",
|
||||||
"php": "^7.4 || ^8.0",
|
"php": "^7.4 || ^8.0",
|
||||||
"react/child-process": "^0.6.5",
|
"react/child-process": "^0.6.5",
|
||||||
"react/event-loop": "^1.0",
|
"react/event-loop": "^1.0",
|
||||||
@ -2568,18 +2568,18 @@
|
|||||||
"symfony/stopwatch": "^5.4 || ^6.0 || ^7.0"
|
"symfony/stopwatch": "^5.4 || ^6.0 || ^7.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"facile-it/paraunit": "^1.3 || ^2.3",
|
"facile-it/paraunit": "^1.3.1 || ^2.4",
|
||||||
"infection/infection": "^0.29.5",
|
"infection/infection": "^0.29.8",
|
||||||
"justinrainbow/json-schema": "^5.2",
|
"justinrainbow/json-schema": "^5.3 || ^6.0",
|
||||||
"keradus/cli-executor": "^2.1",
|
"keradus/cli-executor": "^2.1",
|
||||||
"mikey179/vfsstream": "^1.6.11",
|
"mikey179/vfsstream": "^1.6.12",
|
||||||
"php-coveralls/php-coveralls": "^2.7",
|
"php-coveralls/php-coveralls": "^2.7",
|
||||||
"php-cs-fixer/accessible-object": "^1.1",
|
"php-cs-fixer/accessible-object": "^1.1",
|
||||||
"php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.5",
|
"php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.5",
|
||||||
"php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.5",
|
"php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.5",
|
||||||
"phpunit/phpunit": "^9.6.19 || ^10.5.21 || ^11.2",
|
"phpunit/phpunit": "^9.6.21 || ^10.5.38 || ^11.4.3",
|
||||||
"symfony/var-dumper": "^5.4 || ^6.0 || ^7.0",
|
"symfony/var-dumper": "^5.4.47 || ^6.4.15 || ^7.1.8",
|
||||||
"symfony/yaml": "^5.4 || ^6.0 || ^7.0"
|
"symfony/yaml": "^5.4.45 || ^6.4.13 || ^7.1.6"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-dom": "For handling output formats in XML",
|
"ext-dom": "For handling output formats in XML",
|
||||||
@ -2620,7 +2620,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
|
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
|
||||||
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.64.0"
|
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.65.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -2628,7 +2628,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-08-30T23:09:38+00:00"
|
"time": "2024-11-25T00:39:24+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "humbug/box",
|
"name": "humbug/box",
|
||||||
|
|||||||
@ -36,9 +36,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bzip2": {
|
"bzip2": {
|
||||||
"type": "filelist",
|
"alt": {
|
||||||
"url": "https://sourceware.org/pub/bzip2/",
|
"type": "filelist",
|
||||||
"regex": "/href=\"(?<file>bzip2-(?<version>[^\"]+)\\.tar\\.gz)\"/",
|
"url": "https://sourceware.org/pub/bzip2/",
|
||||||
|
"regex": "/href=\"(?<file>bzip2-(?<version>[^\"]+)\\.tar\\.gz)\"/"
|
||||||
|
},
|
||||||
|
"type": "url",
|
||||||
|
"url": "https://dl.static-php.dev/static-php-cli/deps/bzip2/bzip2-1.0.8.tar.gz",
|
||||||
"provide-pre-built": true,
|
"provide-pre-built": true,
|
||||||
"license": {
|
"license": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
|
|||||||
@ -15,7 +15,6 @@ use SPC\util\CustomExt;
|
|||||||
class pgsql extends Extension
|
class pgsql extends Extension
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @return bool
|
|
||||||
* @throws FileSystemException
|
* @throws FileSystemException
|
||||||
* @throws RuntimeException
|
* @throws RuntimeException
|
||||||
* @throws WrongUsageException
|
* @throws WrongUsageException
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
* Copyright (c) 2022 Yun Dou <dixyes@gmail.com>
|
||||||
*
|
*
|
||||||
|
|||||||
@ -38,7 +38,7 @@ $prefer_pre_built = false;
|
|||||||
|
|
||||||
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
|
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
|
||||||
$extensions = match (PHP_OS_FAMILY) {
|
$extensions = match (PHP_OS_FAMILY) {
|
||||||
'Linux', 'Darwin' => 'grpc',
|
'Linux', 'Darwin' => 'grpc,openssl',
|
||||||
'Windows' => 'amqp,apcu,bcmath,bz2,calendar,ctype,curl,dba,dom,ds,exif,ffi,fileinfo,filter,ftp,gd,iconv,igbinary,libxml,mbregex,mbstring,mysqli,mysqlnd,opcache,openssl,pdo,pdo_mysql,pdo_sqlite,pdo_sqlsrv,phar,rar,redis,session,shmop,simdjson,simplexml,soap,sockets,sqlite3,sqlsrv,ssh2,swow,sysvshm,tokenizer,xml,xmlreader,xmlwriter,yac,yaml,zip,zlib',
|
'Windows' => 'amqp,apcu,bcmath,bz2,calendar,ctype,curl,dba,dom,ds,exif,ffi,fileinfo,filter,ftp,gd,iconv,igbinary,libxml,mbregex,mbstring,mysqli,mysqlnd,opcache,openssl,pdo,pdo_mysql,pdo_sqlite,pdo_sqlsrv,phar,rar,redis,session,shmop,simdjson,simplexml,soap,sockets,sqlite3,sqlsrv,ssh2,swow,sysvshm,tokenizer,xml,xmlreader,xmlwriter,yac,yaml,zip,zlib',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user