Skip to content

Commit

Permalink
Add parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Jul 7, 2021
1 parent 0f79794 commit 4d4dc41
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"react/dns": "v1.5.0",
"monolog/monolog": "2.2.0",

"tsugi/lib": "dev-master#9bd851b7051f3481d1d07a0725a4caf4dc6b592b",
"tsugi/lib": "dev-master#e246f484cf992d4c5f721cf532203945d8dc142f",
"koseu/lib": "dev-master#5c5bcb32469977bea262b1900461c3f205adb899"
},
"config": {
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions vendor/composer/InstalledVersions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => 'e991a259d2670b3aa3db9a241dc8ffb95e6de2a9',
'reference' => '0f7979473a7479170e787fd3639e1cb9838dd93c',
'name' => '__root__',
),
'versions' =>
Expand All @@ -41,7 +41,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => 'e991a259d2670b3aa3db9a241dc8ffb95e6de2a9',
'reference' => '0f7979473a7479170e787fd3639e1cb9838dd93c',
),
'aws/aws-sdk-php' =>
array (
Expand Down Expand Up @@ -564,8 +564,8 @@ class InstalledVersions
array (
'provided' =>
array (
0 => '1.0',
1 => '1.0.0',
0 => '1.0.0',
1 => '1.0',
),
),
'psr/simple-cache' =>
Expand Down Expand Up @@ -930,7 +930,7 @@ class InstalledVersions
array (
0 => '9999999-dev',
),
'reference' => '9bd851b7051f3481d1d07a0725a4caf4dc6b592b',
'reference' => 'e246f484cf992d4c5f721cf532203945d8dc142f',
),
'vlucas/phpdotenv' =>
array (
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -6105,12 +6105,12 @@
"source": {
"type": "git",
"url": "https://github.com/tsugiproject/tsugi-php.git",
"reference": "9bd851b7051f3481d1d07a0725a4caf4dc6b592b"
"reference": "e246f484cf992d4c5f721cf532203945d8dc142f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tsugiproject/tsugi-php/zipball/9bd851b7051f3481d1d07a0725a4caf4dc6b592b",
"reference": "9bd851b7051f3481d1d07a0725a4caf4dc6b592b",
"url": "https://api.github.com/repos/tsugiproject/tsugi-php/zipball/e246f484cf992d4c5f721cf532203945d8dc142f",
"reference": "e246f484cf992d4c5f721cf532203945d8dc142f",
"shasum": ""
},
"require": {
Expand All @@ -6123,7 +6123,7 @@
"phpunit/php-timer": ">=1.0.6",
"phpunit/phpunit": "8.*"
},
"time": "2021-07-07T20:47:30+00:00",
"time": "2021-07-07T21:01:19+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'aliases' =>
array (
),
'reference' => 'e991a259d2670b3aa3db9a241dc8ffb95e6de2a9',
'reference' => '0f7979473a7479170e787fd3639e1cb9838dd93c',
'name' => '__root__',
),
'versions' =>
Expand All @@ -18,7 +18,7 @@
'aliases' =>
array (
),
'reference' => 'e991a259d2670b3aa3db9a241dc8ffb95e6de2a9',
'reference' => '0f7979473a7479170e787fd3639e1cb9838dd93c',
),
'aws/aws-sdk-php' =>
array (
Expand Down Expand Up @@ -541,8 +541,8 @@
array (
'provided' =>
array (
0 => '1.0',
1 => '1.0.0',
0 => '1.0.0',
1 => '1.0',
),
),
'psr/simple-cache' =>
Expand Down Expand Up @@ -907,7 +907,7 @@
array (
0 => '9999999-dev',
),
'reference' => '9bd851b7051f3481d1d07a0725a4caf4dc6b592b',
'reference' => 'e246f484cf992d4c5f721cf532203945d8dc142f',
),
'vlucas/phpdotenv' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion vendor/tsugi/lib/src/Util/PDOX.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ function lastInsertId($seqname = NULL) {
*/
public static function limitVars($sql, $vars) {
$retval = array();
$parts = preg_split('/\s+/', $sql);
$parts = preg_split('/\s+/', str_replace(array('(',')'),array(' ',' '), $sql));
foreach($parts as $part) {
if ( strpos($part,':') !== 0 ) continue;
if ( ! U::get($vars, $part) ) continue;
Expand Down

0 comments on commit 4d4dc41

Please sign in to comment.