Skip to content

Commit

Permalink
Updated dependencies (php>=7.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
prwater committed Apr 2, 2020
1 parent 702de03 commit 49ab182
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 21 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
language: php
php:
- '7.1'
- '7.2'
- '7.3'

sudo: true

addons:
mariadb: '10.3'
- '7.4'

install:
- rm -f composer.lock
Expand Down
23 changes: 12 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
],
"license": "MIT",
"require": {
"php": ">=7.1.0",
"php": ">=7.3",
"ext-json": "*",
"ext-pdo": "*",
"setbased/exception": "^2.0.0",
"setbased/exception": "^2.1",
"setbased/helper-cast": "^2.0",
"setbased/helper-code-store-php": "^2.2.0",
"setbased/php-stratum-backend": "^5.0.0",
"setbased/php-stratum-common": "^5.0.0",
"setbased/php-stratum-middle": "^5.0.0",
"zendframework/zend-code": "^3.0.0"
"setbased/helper-code-store-php": "^2.3",
"setbased/php-stratum-backend": "^5.2",
"setbased/php-stratum-common": "^5.2",
"setbased/php-stratum-middle": "^5.2",
"zendframework/zend-code": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0.0 || ^8.0.0",
"phing/phing": "^2.0.0",
"setbased/php-stratum": "^5.0.0"
"phpunit/phpunit": "^9.0",
"phing/phing": "^2.0",
"setbased/php-stratum": "^5.0"
},
"autoload": {
"psr-4": {
Expand All @@ -39,6 +39,7 @@
}
},
"config": {
"bin-dir": "bin/"
"bin-dir": "bin/",
"sort-packages": true
}
}
6 changes: 3 additions & 3 deletions test/TestDataLayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function tstMagicConstant02(): int
public function tstMagicConstant03(): string
{
$query = <<< EOT
select '/home/water/Projects/SetBased/php-stratum-sqlite-pdo/test/psql/tst_magic_constant03.psql';
select '/opt/Projects/SetBased/Stratum/php-stratum-sqlite-pdo/test/psql/tst_magic_constant03.psql';
EOT;
$query = str_repeat(PHP_EOL, 6).$query;

Expand All @@ -67,7 +67,7 @@ public function tstMagicConstant03(): string
public function tstMagicConstant04(): string
{
$query = <<< EOT
select '/home/water/Projects/SetBased/php-stratum-sqlite-pdo/test/psql';
select '/opt/Projects/SetBased/Stratum/php-stratum-sqlite-pdo/test/psql';
EOT;
$query = str_repeat(PHP_EOL, 6).$query;

Expand All @@ -83,7 +83,7 @@ public function tstMagicConstant04(): string
public function tstMagicConstant05(): string
{
$query = <<< EOT
select '/home/water/Projects/SetBased/php-stratum-sqlite-pdo/test/psql/ test_escape '' " @ $ ! .';
select '/opt/Projects/SetBased/Stratum/php-stratum-sqlite-pdo/test/psql/ test_escape '' " @ $ ! .';
EOT;
$query = str_repeat(PHP_EOL, 6).$query;

Expand Down

0 comments on commit 49ab182

Please sign in to comment.