Commit 7101e700 authored by Ndame Kital's avatar Ndame Kital
Browse files

Merge branch '7-preparer-composer' into...

Merge branch '7-preparer-composer' into '8-enrichir-le-dossier-test-sur-la-base-de-la-nouvelle-architecture'

Resolve "préparer composer"

See merge request !5
parents e0352bbe 9a4a7a4f
1 merge request!5Resolve "préparer composer"
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
Showing with 309 additions and 84 deletions
+309 -84
...@@ -3,3 +3,15 @@ ...@@ -3,3 +3,15 @@
/composer.lock /composer.lock
/reports/ /reports/
.php_cs.*cache .php_cs.*cache
/nbproject/private/
/nbproject
/.idea/
/.php_cs*cache
package-lock.json
yarn.lock
yarn-error.log
npm-debug.log
node_modules/
vendor/
/tests/Fixtures/public/build
/tests/Fixtures/var/
include: include:
- project: pole-is/tools/ci-config - project: pole-is/tools/ci-config
ref: "2.0.0" ref: "2.1.0"
file: /php-package-ci.yml file: /php-multiversions-ci.yml
- project: pole-is/tools/ci-config - project: pole-is/tools/ci-config
ref: "2.0.0" ref: "2.1.0"
file: /satis-ci.yml file: /satis-ci.yml
stages:
- vendor
- test
- deploy
# Personnalisation des tâches par défaut:
.php: .php:
variables: variables:
DEBIAN_CODENAME: "stretch" PHP_IMAGE: gitlab-registry.irstea.fr/pole-is/docker/php/ci/panther
PHP_VERSION: "7.1" PHP_IMAGE_TAG: "20.02"
test:phpunit: .php-test:
# variables:
# PHP_IMAGE: gitlab-registry.irstea.fr/pole-is/docker/php/ci/panther
script: script:
- composer test:phpunit -- --coverage-text --coverage-html=reports/coverage --log-junit=reports/junit.xml --colors=never - composer "$CI_JOB_NAME"
artifacts:
name: reports
expose_as: "phpunit reports"
when: always
paths:
- reports/
reports:
junit: reports/junit.xml
...@@ -19,12 +19,28 @@ ...@@ -19,12 +19,28 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/dbal" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/dbal" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-cache-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-cache-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/event-manager" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/inflector" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/inflector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/instantiator" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/instantiator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/lexer" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/lexer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/orm" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/orm" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/persistence" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/reflection" />
<excludeFolder url="file://$MODULE_DIR$/vendor/facebook/webdriver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/hexmedia/yaml-linter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/composer-require-checker-shim" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/php-cs-fixer-config" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/php-cs-fixer-shim" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/phpcpd-shim" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/phploc-shim" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/phpmd-config" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/phpmd-shim" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/phpstan-config" />
<excludeFolder url="file://$MODULE_DIR$/vendor/irstea/theme-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/irstea/theme-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/jakub-onderka/php-parallel-lint" />
<excludeFolder url="file://$MODULE_DIR$/vendor/jangregor/phpstan-prophecy" />
<excludeFolder url="file://$MODULE_DIR$/vendor/jdorn/sql-formatter" /> <excludeFolder url="file://$MODULE_DIR$/vendor/jdorn/sql-formatter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/jean85/pretty-package-versions" />
<excludeFolder url="file://$MODULE_DIR$/vendor/knplabs/gaufrette" /> <excludeFolder url="file://$MODULE_DIR$/vendor/knplabs/gaufrette" />
<excludeFolder url="file://$MODULE_DIR$/vendor/knplabs/knp-gaufrette-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/knplabs/knp-gaufrette-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/knplabs/knp-menu" /> <excludeFolder url="file://$MODULE_DIR$/vendor/knplabs/knp-menu" />
...@@ -32,14 +48,36 @@ ...@@ -32,14 +48,36 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/kriswallsmith/assetic" /> <excludeFolder url="file://$MODULE_DIR$/vendor/kriswallsmith/assetic" />
<excludeFolder url="file://$MODULE_DIR$/vendor/lmammino/jsmin4assetic" /> <excludeFolder url="file://$MODULE_DIR$/vendor/lmammino/jsmin4assetic" />
<excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" /> <excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" />
<excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" />
<excludeFolder url="file://$MODULE_DIR$/vendor/natxet/CssMin" /> <excludeFolder url="file://$MODULE_DIR$/vendor/natxet/CssMin" />
<excludeFolder url="file://$MODULE_DIR$/vendor/natxet/cssmin" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/bootstrap" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/di" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/finder" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/neon" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/php-generator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/robot-loader" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/schema" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/utils" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/ocramius/package-versions" />
<excludeFolder url="file://$MODULE_DIR$/vendor/oyejorge/less.php" /> <excludeFolder url="file://$MODULE_DIR$/vendor/oyejorge/less.php" />
<excludeFolder url="file://$MODULE_DIR$/vendor/pagerfanta/pagerfanta" /> <excludeFolder url="file://$MODULE_DIR$/vendor/pagerfanta/pagerfanta" />
<excludeFolder url="file://$MODULE_DIR$/vendor/paragonie/random_compat" /> <excludeFolder url="file://$MODULE_DIR$/vendor/paragonie/random_compat" />
<excludeFolder url="file://$MODULE_DIR$/vendor/pcov/clobber" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/manifest" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/version" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/prophecy" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/prophecy" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpdoc-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpstan" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpstan-beberlei-assert" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpstan-deprecation-rules" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpstan-doctrine" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpstan-phpunit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpstan-symfony" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-code-coverage" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-code-coverage" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-file-iterator" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-file-iterator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-text-template" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-text-template" />
...@@ -48,26 +86,76 @@ ...@@ -48,26 +86,76 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit-mock-objects" /> <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit-mock-objects" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/cache" /> <excludeFolder url="file://$MODULE_DIR$/vendor/psr/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" /> <excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" />
<excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/uuid" /> <excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/uuid" />
<excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/uuid-doctrine" />
<excludeFolder url="file://$MODULE_DIR$/vendor/robloach/component-installer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/code-unit-reverse-lookup" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/comparator" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/comparator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/diff" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/diff" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/environment" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/environment" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/exporter" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/exporter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/global-state" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/global-state" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/object-enumerator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/object-reflector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/recursion-context" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/recursion-context" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/resource-operations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/version" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/version" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sensio/framework-extra-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sensio/framework-extra-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sensio/generator-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/sensio/generator-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/assetic-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/assetic-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/browser-kit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/class-loader" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/config" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/console" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/css-selector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/debug" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dependency-injection" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/doctrine-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dom-crawler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/filesystem" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/finder" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/form" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/framework-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-client" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-client-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-foundation" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-kernel" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/inflector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/intl" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/intl" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/monolog-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/monolog-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/monolog-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/options-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/panther" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-ctype" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-icu" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-icu" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php56" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php56" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php70" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php70" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php72" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php73" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php80" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-util" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-util" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/process" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/property-access" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/routing" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/service-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/symfony" /> <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/symfony" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/templating" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/twig-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/twig-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/validator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-exporter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/web-server-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/yaml" />
<excludeFolder url="file://$MODULE_DIR$/vendor/theseer/tokenizer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/extensions" /> <excludeFolder url="file://$MODULE_DIR$/vendor/twig/extensions" />
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/twig" /> <excludeFolder url="file://$MODULE_DIR$/vendor/twig/twig" />
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" /> <excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
......
...@@ -140,12 +140,100 @@ ...@@ -140,12 +140,100 @@
<path value="$PROJECT_DIR$/vendor/twig/extensions" /> <path value="$PROJECT_DIR$/vendor/twig/extensions" />
<path value="$PROJECT_DIR$/vendor/clue/socket-raw" /> <path value="$PROJECT_DIR$/vendor/clue/socket-raw" />
<path value="$PROJECT_DIR$/vendor/xenolope/quahog" /> <path value="$PROJECT_DIR$/vendor/xenolope/quahog" />
<path value="$PROJECT_DIR$/vendor/pcov/clobber" />
<path value="$PROJECT_DIR$/vendor/irstea/phpmd-shim" />
<path value="$PROJECT_DIR$/vendor/irstea/phpcpd-shim" />
<path value="$PROJECT_DIR$/vendor/irstea/phploc-shim" />
<path value="$PROJECT_DIR$/vendor/irstea/php-cs-fixer-config" />
<path value="$PROJECT_DIR$/vendor/irstea/phpmd-config" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpstan" />
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
<path value="$PROJECT_DIR$/vendor/hexmedia/yaml-linter" />
<path value="$PROJECT_DIR$/vendor/symfony/var-exporter" />
<path value="$PROJECT_DIR$/vendor/irstea/php-cs-fixer-shim" />
<path value="$PROJECT_DIR$/vendor/symfony/translation" />
<path value="$PROJECT_DIR$/vendor/symfony/form" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/symfony/process" />
<path value="$PROJECT_DIR$/vendor/symfony/filesystem" />
<path value="$PROJECT_DIR$/vendor/jakub-onderka/php-parallel-lint" />
<path value="$PROJECT_DIR$/vendor/symfony/doctrine-bridge" />
<path value="$PROJECT_DIR$/vendor/irstea/phpstan-config" />
<path value="$PROJECT_DIR$/vendor/symfony/config" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/service-contracts" />
<path value="$PROJECT_DIR$/vendor/irstea/composer-require-checker-shim" />
<path value="$PROJECT_DIR$/vendor/symfony/debug" />
<path value="$PROJECT_DIR$/vendor/symfony/dependency-injection" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bundle" />
<path value="$PROJECT_DIR$/vendor/psr/container" />
<path value="$PROJECT_DIR$/vendor/symfony/framework-bundle" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpstan-phpunit" />
<path value="$PROJECT_DIR$/vendor/symfony/templating" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpdoc-parser" />
<path value="$PROJECT_DIR$/vendor/symfony/http-foundation" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpstan-symfony" />
<path value="$PROJECT_DIR$/vendor/symfony/options-resolver" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpstan-doctrine" />
<path value="$PROJECT_DIR$/vendor/symfony/contracts" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpstan-beberlei-assert" />
<path value="$PROJECT_DIR$/vendor/symfony/cache" />
<path value="$PROJECT_DIR$/vendor/symfony/routing" />
<path value="$PROJECT_DIR$/vendor/symfony/monolog-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/inflector" />
<path value="$PROJECT_DIR$/vendor/symfony/validator" />
<path value="$PROJECT_DIR$/vendor/symfony/finder" />
<path value="$PROJECT_DIR$/vendor/symfony/console" />
<path value="$PROJECT_DIR$/vendor/symfony/security" />
<path value="$PROJECT_DIR$/vendor/symfony/http-kernel" />
<path value="$PROJECT_DIR$/vendor/symfony/property-access" />
<path value="$PROJECT_DIR$/vendor/symfony/cache-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/class-loader" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
<path value="$PROJECT_DIR$/vendor/symfony/yaml" />
<path value="$PROJECT_DIR$/vendor/nette/utils" />
<path value="$PROJECT_DIR$/vendor/nette/robot-loader" />
<path value="$PROJECT_DIR$/vendor/nette/di" />
<path value="$PROJECT_DIR$/vendor/nette/php-generator" />
<path value="$PROJECT_DIR$/vendor/nette/neon" />
<path value="$PROJECT_DIR$/vendor/nette/schema" />
<path value="$PROJECT_DIR$/vendor/jean85/pretty-package-versions" />
<path value="$PROJECT_DIR$/vendor/nette/finder" />
<path value="$PROJECT_DIR$/vendor/nette/bootstrap" />
<path value="$PROJECT_DIR$/vendor/ocramius/package-versions" />
<path value="$PROJECT_DIR$/vendor/natxet/cssmin" />
<path value="$PROJECT_DIR$/vendor/ramsey/uuid-doctrine" />
<path value="$PROJECT_DIR$/vendor/robloach/component-installer" />
<path value="$PROJECT_DIR$/vendor/myclabs/deep-copy" />
<path value="$PROJECT_DIR$/vendor/jangregor/phpstan-prophecy" />
<path value="$PROJECT_DIR$/vendor/phar-io/version" />
<path value="$PROJECT_DIR$/vendor/phar-io/manifest" />
<path value="$PROJECT_DIR$/vendor/sebastian/object-enumerator" />
<path value="$PROJECT_DIR$/vendor/sebastian/object-reflector" />
<path value="$PROJECT_DIR$/vendor/sebastian/resource-operations" />
<path value="$PROJECT_DIR$/vendor/sebastian/code-unit-reverse-lookup" />
<path value="$PROJECT_DIR$/vendor/theseer/tokenizer" />
<path value="$PROJECT_DIR$/vendor/doctrine/event-manager" />
<path value="$PROJECT_DIR$/vendor/doctrine/reflection" />
<path value="$PROJECT_DIR$/vendor/doctrine/persistence" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php80" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php73" />
<path value="$PROJECT_DIR$/vendor/symfony/http-client-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php72" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpstan-deprecation-rules" />
<path value="$PROJECT_DIR$/vendor/facebook/webdriver" />
<path value="$PROJECT_DIR$/vendor/symfony/panther" />
<path value="$PROJECT_DIR$/vendor/symfony/http-client" />
<path value="$PROJECT_DIR$/vendor/symfony/css-selector" />
<path value="$PROJECT_DIR$/vendor/symfony/browser-kit" />
<path value="$PROJECT_DIR$/vendor/symfony/web-server-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/dom-crawler" />
</include_path> </include_path>
</component> </component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.1" /> <component name="PhpProjectSharedConfiguration" php_language_level="7.1" />
<component name="PhpUnit"> <component name="PhpUnit">
<phpunit_settings> <phpunit_settings>
<PhpUnitSettings load_method="CUSTOM_LOADER" configuration_file_path="$PROJECT_DIR$/phpunit.xml.dist" custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" phpunit_phar_path="" use_configuration_file="true" /> <PhpUnitSettings configuration_file_path="$PROJECT_DIR$/phpunit.xml.dist" custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" phpunit_phar_path="" use_configuration_file="true" />
</phpunit_settings> </phpunit_settings>
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -31,14 +31,14 @@ ...@@ -31,14 +31,14 @@
"blueimp/jquery-file-upload": "~9.9", "blueimp/jquery-file-upload": "~9.9",
"doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine-bundle": "^1.6",
"doctrine/orm": "^2.5", "doctrine/orm": "^2.5",
"irstea/theme-bundle": "^2.0", "irstea/theme-bundle": "dev-utilisation_bundle_dans_projet_symfony3.4",
"knplabs/gaufrette": "^0.3", "knplabs/gaufrette": "^0.3",
"knplabs/knp-gaufrette-bundle": "~0.1", "knplabs/knp-gaufrette-bundle": "~0.1",
"pagerfanta/pagerfanta": "^1.0", "pagerfanta/pagerfanta": "^1.0",
"psr/log": "^1.0", "psr/log": "^1.0",
"ramsey/uuid": "^3.0", "ramsey/uuid": "^3.0",
"ramsey/uuid-doctrine": "^1.5", "ramsey/uuid-doctrine": "^1.5",
"sensio/framework-extra-bundle": "^3.0", "sensio/framework-extra-bundle": "^5.3",
"symfony/assetic-bundle": "^2.3", "symfony/assetic-bundle": "^2.3",
"symfony/config": "^3.0", "symfony/config": "^3.0",
"symfony/console": "^3.0", "symfony/console": "^3.0",
...@@ -73,13 +73,21 @@ ...@@ -73,13 +73,21 @@
"irstea/phpcpd-shim": "^3.0", "irstea/phpcpd-shim": "^3.0",
"irstea/phploc-shim": "^4.0", "irstea/phploc-shim": "^4.0",
"irstea/phpmd-config": "^1.0", "irstea/phpmd-config": "^1.0",
"irstea/phpstan-config": "^1.1", "phpstan/phpstan-deprecation-rules": "@stable",
"symfony/browser-kit": "^4.3",
"symfony/css-selector": "^4.3",
"symfony/panther": "^0.5.2",
"irstea/pcov-clobber-plugin": "^1.0",
"symfony/web-server-bundle": "^3.4",
"jakub-onderka/php-parallel-lint": "^1.0", "jakub-onderka/php-parallel-lint": "^1.0",
"pcov/clobber": "^2.0", "pcov/clobber": "^2.0",
"phpunit/phpunit": "^7.0" "irstea/phpstan-config": "^1.1.1",
"phpunit/phpunit": "^7.0"
}, },
"config": { "config": {
"sort-packages": true, "sort-packages": true,
"process-timeout":0,
"preferred-install": "dist",
"platform": { "platform": {
"php": "7.1.30" "php": "7.1.30"
} }
...@@ -89,39 +97,80 @@ ...@@ -89,39 +97,80 @@
"dev-master": "2.x-dev" "dev-master": "2.x-dev"
} }
}, },
"archive": { "archive": {
"exclude": [ "exclude": [
"vendor", "/*",
"phpunit.xml.dist", "!/src",
".git*", "!/doc",
".idea" "!/composer.json",
] "!/package.json",
}, "!/COPYING*",
"scripts": { "!/README.md",
"post-install-cmd": "@clobber-phpunit", ".git*",
"post-update-cmd": "@clobber-phpunit", ".idea"
"clobber-phpunit": "[ -d vendor/phpunit/phpunit ] && vendor/bin/pcov . clobber", ]
},
"scripts": {
"fix-cs": "vendor/bin/php-cs-fixer fix --verbose",
"phploc": "vendor/bin/phploc src tests --exclude tests/Fixtures/var",
"make-icon-lists":[
"npm install",
"perl -ne '/\\.@\\{fa-css-prefix\\}\\-([-\\w]+):before/ and print \"$1\\n\"' node_modules/font-awesome/scss/_icons.scss | sort -u > src/Resources/icons/fa.txt",
"perl -ne '/\\.glyphicon\\-([-\\w]+)/ and print \"$1\\n\"' src/Resources/assets/sass/main.scss | sort -u > src/Resources/icons/glyphicon.txt"
],
"update:lowest": [
"rm -rf vendor composer.lock #",
"@composer update --no-suggest --prefer-stable --prefer-lowest"
],
"update:latest": [
"rm -rf vendor composer.lock #",
"@composer clear-cache #",
"@composer update --no-suggest"
],
"test:lowest": ["@update:lowest", "@test"],
"test:latest": ["@update:latest", "@test"],
"test": [
"@test:lint",
"@test:php-cs-fixer",
"@test:phpcpd",
"@test:phpmd",
"@test:phpstan",
"@test:composer-require-checker",
"@test:phpunit"
],
"test:lint": [
"vendor/bin/parallel-lint -j $(nproc) --exclude tests/Fixtures/var src tests ",
"vendor/bin/yaml-lint src"
],
"test:php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose",
"test:phpcpd": "vendor/bin/phpcpd --fuzzy src tests --exclude=Fixtures/var",
"test:composer-require-checker": "vendor/bin/composer-require-checker",
"test:phpmd": "vendor/bin/phpmd src,tests/Form/,tests/Utils,tests/Listener text ./phpmd-ruleset.xml --suffixes=php",
"test:phpstan": "vendor/bin/phpstan analyse --no-progress",
"fix-cs": "vendor/bin/php-cs-fixer fix --verbose", "test:clear": [
"phploc": "vendor/bin/phploc src tests --exclude tests/Fixtures/var", "if [ -z \"$CI\" ]; then cd tests/Fixtures; rm -rf package-lock.json var node_modules public/assets reports/*; fi #"
"test": [ ],
"@test:lint", "test:install-assets": [
"@test:php-cs-fixer", "@test:clear",
"@test:phpcpd", "cd tests/Fixtures && npm install && npm run dev #"
"@test:phpmd", ],
"@test:phpstan", "test:phpunit": [
"@test:composer-require-checker", "$PANTHER_CHROME_BINARY --version #",
"@test:phpunit" "$PANTHER_CHROME_DRIVER_BINARY --version #",
], "vendor/bin/phpunit --coverage-text --coverage-html=reports/coverage --log-junit=reports/junit.xml"
"test:lint": [ ],
"vendor/bin/parallel-lint -j $(nproc) --exclude tests/Fixtures/var src tests ", "test:serve": [
"vendor/bin/yaml-lint src" "@test:install-assets",
], "@php tests/console server:run -v --docroot=tests/Fixtures/public"
"test:php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose", ],
"test:phpcpd": "vendor/bin/phpcpd --fuzzy src tests --exclude=Fixtures/var",
"test:composer-require-checker": "vendor/bin/composer-require-checker", "docker:serve": [
"test:phpmd": "vendor/bin/phpmd src,tests text ./phpmd-ruleset.xml --suffixes=php", "@test:install-assets",
"test:phpstan": "vendor/bin/phpstan analyse --no-progress", "set -x; IMG=`docker build --build-arg \"PHP_VERSION=${PHP_VERSION:-7.1}\" --pull -q .` && docker run --rm -p 8080:8080 -v ${PWD}:/var/www/theme-bundle -u `id -u`:`id -g` $IMG"
"test:phpunit": "vendor/bin/phpunit" ],
} "docker:test": [
"set -x; IMG=`docker build --build-arg \"PHP_VERSION=${PHP_VERSION:-7.1}\" --pull -q .` && docker run --rm -v ${PWD}:/var/www/theme-bundle -u `id -u`:`id -g` $IMG composer test"
]
}
} }
includes: includes:
- vendor/irstea/phpstan-config/phpstan.neon - vendor/irstea/phpstan-config/strict.neon
- vendor/irstea/phpstan-config/phpunit.neon
parameters: parameters:
level: 1 excludes_analyse:
- 'tests/Fixtures/var/cache/'
paths: level: 1
- src paths:
- tests - src
- tests/Entity
- tests/Form
- tests/Form
- tests/Listener
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
<?php declare(strict_types=1); <?php declare(strict_types=1);
/* /*
* irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap. * irstea/file-upload-bundle - Bundle de gestion de fichiers intégrée à Symfony et Twitter-Bootstrap.
* Copyright (C) 2015-2019 Irstea <dsi.poleis.contact@lists.irstea.fr> * Copyright (C) 2015-2020 Irstea <dsi.poleis.contact@lists.irstea.fr>
* *
* This program is free software: you can redistribute it and/or modify it under * This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free * the terms of the GNU Lesser General Public License as published by the Free
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment