Skip to content

Commit 28cd55f

Browse files
Thijzervdaruben
andauthored
yaml configuration file (#2)
* refactor the yaml reading process * added smart sources for flexible reading * added source collection the encoder * added comments * Encoders now working with the new file standards * added Actions and action processor * Encoder test Fix * Fix : ReferenceExistValidator * added build Values for ReferenceExistValidator * File Repo cleanup * updated encoder, decoder, action processor logic * added tests * removed or moved all examples to the docs * added phpstan support for phrophacy * added combineAction and AkeneoValuePicker * conversion can be done from yaml or array * put vars in correct function * bump yaml composer * refactor in ItemConverter * changed bleuprint csv filenames and validation files names * composer fix * removed old encoder * renamed Configuration converter to handler as it returns void * Configuration Exception, added blueprint_path * AkeneoValuePicker simplified * renamed Column Filter to Reducer * fix : array functions bug Co-authored-by: vdaruben <[email protected]>
1 parent 55cfce6 commit 28cd55f

File tree

528 files changed

+2242
-5688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

528 files changed

+2242
-5688
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/bin/
2+
!/bin/composer
3+
!/bin/php
14
/vendor/
25
.phpunit.result.cache
36
/examples/tmp/*

bin/composer

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
bin/php -d memory_limit=4G /usr/bin/composer "$@"

bin/php

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
3+
CONTAINER="thijs/php:alpine-php-7.4"
4+
5+
docker run -u 1000:1000 \
6+
-e COMPOSER_HOME=/.composer \
7+
-v ${HOST_COMPOSER_HOME:-~/.composer}:/.composer \
8+
-v $(pwd):/app \
9+
-w /app \
10+
--rm ${CONTAINER} php "$@"

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
],
1111
"require": {
1212
"php": "7.4.*|7.3.*|7.2.*|7.1.*",
13-
"ext-json": "*"
13+
"ext-json": "*",
14+
"symfony/yaml": "^4.4.7"
1415
},
1516
"require-dev": {
1617
"roave/security-advisories": "dev-master",
1718
"symfony/var-dumper": "5.*|^v4.3|^3.4",
18-
"symfony/yaml": "5.*|^v4.3|^3.4",
1919
"phpunit/phpunit": "~8.3.4",
2020
"phpstan/phpstan": "^0.12.7",
2121
"jangregor/phpstan-prophecy": "^0.8.0"

0 commit comments

Comments
 (0)