mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-17 12:12:27 +00:00
Clean up
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
// keywords:
|
||||
// Django: MultiValueDict, QueryDict, request.GET.getlist(), request.POST.getlist(), urllib.urlencode, parse.urlencode
|
||||
// Java: request.getParameterValues()
|
||||
// Django: MultiValueDict, QueryDict, request.GET.getlist(), request.POST.getlist()
|
||||
// Python: urllib.urlencode, parse.urlencode
|
||||
// Java: request.getParameterValues()
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ foreach (array(
|
||||
'const VERSION = \'' . $new_version . '\';',
|
||||
),
|
||||
) as $info) {
|
||||
list($filepath, $find, $replace) = $info;
|
||||
list($filepath, $find, $replace) = $info;
|
||||
$data = preg_replace($find, $replace, file_get_contents($filepath));
|
||||
file_put_contents($filepath, $data);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ foreach (array(
|
||||
'const VERSION = \'' . $new_version . '\';',
|
||||
),
|
||||
) as $info) {
|
||||
list($filepath, $find, $replace) = $info;
|
||||
list($filepath, $find, $replace) = $info;
|
||||
$data = preg_replace($find, $replace, file_get_contents($filepath));
|
||||
file_put_contents($filepath, $data);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ foreach (array(
|
||||
'const VERSION = \'' . $new_version . '\';',
|
||||
),
|
||||
) as $info) {
|
||||
list($filepath, $find, $replace) = $info;
|
||||
list($filepath, $find, $replace) = $info;
|
||||
$data = preg_replace($find, $replace, file_get_contents($filepath));
|
||||
file_put_contents($filepath, $data);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
set -x
|
||||
|
||||
phpunit_shim() {
|
||||
# -class CurlTest extends \PHPUnit\Framework\TestCase
|
||||
# +class CurlTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
Reference in New Issue
Block a user