Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wol-soft committed Nov 17, 2020
1 parent 90fda8d commit 1842cc8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ matrix:
env: SYMFONY_VERSION='4.4.*'
- php: 7.4
env: SYMFONY_VERSION='5.0.*'
- php: nightly
env: SYMFONY_VERSION='4.4.*'
- php: nightly
env: SYMFONY_VERSION='5.0.*'

install:
# Install coveralls.phar
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
}
],
"require": {
"symfony/http-kernel": "~4.4|~5.0",
"sensio/framework-extra-bundle": "~4.4|~5.0",
"symfony/http-kernel": "~4.4 | ~5.0",
"sensio/framework-extra-bundle": "~4.4 | ~5.0",

"wol-soft/php-json-schema-model-generator-production": "^0.6.0",
"wol-soft/php-json-schema-model-generator-production": "*",

"php": ">=7.2",
"ext-json": "*"
},
"require-dev": {
"wol-soft/php-json-schema-model-generator": "^0.11.1",

"phpunit/phpunit": "^8.5",
"symfony/browser-kit": "~4.4|~5.0",
"symfony/error-handler": "~4.4|~5.0"
"phpunit/phpunit": "^8.5 | ^9.4",
"symfony/browser-kit": "~4.4 | ~5.0",
"symfony/error-handler": "~4.4 | ~5.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 2 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

use PHPModelGenerator\Model\GeneratorConfiguration;
use PHPModelGenerator\ModelGenerator;
use PHPModelGenerator\SchemaProvider\RecursiveDirectoryProvider;

require_once __DIR__ . '/../vendor/autoload.php';

$generator = new ModelGenerator((new GeneratorConfiguration())->setNamespacePrefix('\\App\\Model'));
$generator->generateModelDirectory(__DIR__ . '/App/Model');
$generator->generateModels(__DIR__ . '/App/Schema', __DIR__ . '/App/Model');
$generator->generateModels(new RecursiveDirectoryProvider(__DIR__ . '/App/Schema'), __DIR__ . '/App/Model');

0 comments on commit 1842cc8

Please sign in to comment.