5 Commits

Author SHA1 Message Date
Jean-Baptiste Nahan
de248f9e99 Merge pull request #11 from Mactronique/sf4_php74
bump version Symfony and PHP 7.4
2020-06-10 17:14:10 +02:00
Jean-Baptiste Nahan
8052a36be3 Merge pull request #10 from Mactronique/add_pgsql
add Postgres SQL script
2020-06-10 17:12:34 +02:00
macintoshplus
04d2367a5e add Postgres SQL script 2019-10-29 22:19:23 +01:00
macintoshplus
89bed3d960 bump version Symfony and PHP 7.4 2019-10-11 22:51:04 +02:00
macintoshplus
812b5387f6 remove todo 2019-08-01 23:54:25 +02:00
5 changed files with 497 additions and 578 deletions

View File

@@ -22,6 +22,7 @@ env:
matrix:
allow_failures:
- php: nightly
- php: 7.4snapshot
- php: 5.6
exclude:
- php: 7.0
@@ -32,9 +33,17 @@ matrix:
env: COMPOSER_PREFER="--prefer-lowest"
- php: 7.3
env: COMPOSER_PREFER="--prefer-lowest"
- php: 7.1
env: COMPOSER_PREFER="--prefer-stable"
- php: 7.2
env: COMPOSER_PREFER="--prefer-stable"
- php: 7.3
env: COMPOSER_PREFER="--prefer-stable"
- php: 7.4snapshot
env: COMPOSER_PREFER="--prefer-lowest"
- php: nightly
env: COMPOSER_PREFER="--prefer-lowest"
script:
- composer update -o $COMPOSER_PREFER
- vendor/bin/atoum
- vendor/bin/atoum

View File

@@ -218,10 +218,3 @@ This command launch the process for all setting project and store in persistence
If you want to contribute, please fork my repo, add features or fix bugs and create a new pull request.
# Todo
[ ] Add script to creating tables on other Database (postgre, mssql, etc.).
[ ] Get PHP and extentions requirements by the project.

View File

@@ -30,21 +30,20 @@
"cua"
],
"require": {
"php": ">=5.6",
"symfony/console": "^3.0",
"symfony/yaml": "^3.0",
"symfony/config": "^3.0",
"php": ">=5.6 || ^7.0",
"symfony/console": "^3.0 || ^4.0",
"symfony/yaml": "^3.0 || ^4.0",
"symfony/config": "^3.0 || ^4.0",
"psr/log": "^1.0",
"symfony/process": "^3.0",
"symfony/var-dumper": "^3.0",
"symfony/finder": "^3.0",
"symfony/process": "^3.0 || ^4.0",
"symfony/var-dumper": "^3.0 || ^4.0",
"symfony/finder": "^3.0 || ^4.0",
"doctrine/dbal": "^2.5",
"sensiolabs/security-checker": "^5.0",
"sensiolabs/security-checker": "^5.0 || ^6.0",
"ext-json": "*"
},
"require-dev": {
"atoum/atoum": "^3.0",
"atoum/autoloop-extension": "*",
"atoum/atoum": "^3.0 || dev-master",
"atoum/reports-extension": "*"
},
"extra": {

993
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,45 @@
CREATE TABLE "dependencies" (
"id" serial NOT NULL PRIMARY KEY,
"project" varchar(50) NOT NULL,
"library" varchar(250) NOT NULL,
"version" varchar(250) NOT NULL,
"state" varchar(20) NOT NULL,
"to_library" varchar(250) NULL,
"to_version" varchar(250) NULL,
"deprecated" boolean NULL,
"updated_at" timestamp NOT NULL
);
CREATE UNIQUE INDEX CONCURRENTLY idx_proj_lib
ON dependencies (project, library);
ALTER TABLE dependencies
ADD CONSTRAINT unique_proj_lib
UNIQUE USING INDEX idx_proj_lib;
CREATE INDEX idx_plv
ON dependencies (project, library, version);
CREATE TABLE "security" (
"id" serial NOT NULL PRIMARY KEY,
"project" varchar(50) NOT NULL,
"library" varchar(250) NOT NULL,
"version" varchar(250) NOT NULL,
"state" varchar(20) NOT NULL,
"details" text NOT NULL,
"updated_at" timestamp NOT NULL
);
CREATE TABLE "projects" (
"code" varchar(10) NOT NULL PRIMARY KEY,
"name" varchar(100) NOT NULL,
"path" varchar(255) NOT NULL,
"lock_path" varchar(255) NOT NULL,
"php_path" varchar(255) NOT NULL,
"private_dependencies" text DEFAULT NULL,
"private_dependencies_strategy" varchar(10) DEFAULT 'remove',
"check_dependencies" boolean DEFAULT NULL,
"check_security" boolean DEFAULT NULL,
"updated_at" timestamp NOT NULL
);