-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update bundle structure to the latest version (#52)
* chore: change base path of bundle to bundle root * ci: add 'workflow_dispatch' to GitHub actions --------- Co-authored-by: Jacob Dreesen <j.dreesen@neusta.de>
- Loading branch information
Showing
53 changed files
with
384 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
/.github/ export-ignore | ||
/bin/ export-ignore | ||
/docs/ export-ignore | ||
/tests/ export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.github/ export-ignore | ||
/.gitignore export-ignore | ||
/.php-cs-fixer.php export-ignore | ||
/bin/ export-ignore | ||
/compose.yaml export-ignore | ||
/depfile.yaml export-ignore | ||
/docs/ export-ignore | ||
/phpstan.neon export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/tests/ export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
/.idea/ | ||
|
||
/vendor/ | ||
# Composer | ||
/composer.lock | ||
/vendor/ | ||
|
||
# PHP-CS-Fixer | ||
/.php-cs-fixer.cache | ||
|
||
# PHPUnit | ||
/.phpunit.result.cache | ||
/.phpunit.cache/ | ||
/phpunit.xml | ||
/reports/ | ||
|
||
# IDE project files | ||
/.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,39 @@ | ||
<?php | ||
|
||
/* | ||
* This document has been generated with | ||
* https://mlocati.github.io/php-cs-fixer-configurator/#version:3.13.1|configurator | ||
* you can change this configuration by importing this file. | ||
* This document has been initially generated with | ||
* https://mlocati.github.io/php-cs-fixer-configurator/#version:3.5.0|configurator | ||
* and then adapted to our needs | ||
*/ | ||
$config = new PhpCsFixer\Config(); | ||
$finder = PhpCsFixer\Finder::create() | ||
->in([ | ||
__DIR__ . '/src', | ||
__DIR__ . '/tests', | ||
]) | ||
->exclude([ | ||
'var/', | ||
]); | ||
|
||
return $config | ||
return (new PhpCsFixer\Config) | ||
->setFinder((new PhpCsFixer\Finder) | ||
->in([ | ||
__DIR__ . '/src', | ||
__DIR__ . '/tests', | ||
]) | ||
->notPath(['DependencyInjection/Configuration.php', 'app/var']) | ||
) | ||
->setRiskyAllowed(true) | ||
->setRules([ | ||
'align_multiline_comment' => true, | ||
'array_indentation' => true, | ||
'blank_line_after_opening_tag' => true, | ||
'concat_space' => ['spacing' => 'one'], | ||
'declare_strict_types' => true, | ||
'linebreak_after_opening_tag' => true, | ||
]) | ||
->setFinder($finder); | ||
'@Symfony' => true, | ||
'@Symfony:risky' => true, | ||
|
||
// declare strict types must be on first line after opening tag | ||
'blank_line_after_opening_tag' => false, // overwrite @Symfony | ||
'linebreak_after_opening_tag' => false, // overwrite @Symfony | ||
'declare_strict_types' => true, // custom | ||
|
||
// allow throw's in multiple lines, so message can be a long string | ||
'single_line_throw' => false, // overwrite @Symfony | ||
|
||
// we want spaces | ||
'concat_space' => ['spacing' => 'one'], // overwrite @Symfony | ||
|
||
// we want to leave the choice to the developer, | ||
// because some people have their own style of naming test methods | ||
'php_unit_method_casing' => false, // overwrite @Symfony | ||
|
||
// we want to leave the choice to the developer | ||
'php_unit_test_annotation' => false, // overwrite @Symfony:risky | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
exec docker compose run --rm --user "$(id -u):$(id -g)" --no-deps php composer "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
docker compose run --rm --user "$(id -u):$(id -g)" php composer tests | ||
docker compose down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
services: | ||
database: | ||
image: mariadb:10.11.4 | ||
command: [ "mysqld", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci" ] | ||
environment: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: yes | ||
MYSQL_DATABASE: pimcore | ||
MYSQL_PASSWORD: pimcore | ||
MYSQL_USER: pimcore | ||
tmpfs: | ||
- /tmp/ | ||
- /var/lib/mysql/ | ||
healthcheck: | ||
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ] | ||
interval: 5s | ||
timeout: 10s | ||
|
||
php: | ||
image: pimcore/pimcore:php8.2-latest | ||
volumes: | ||
- ./:/var/www/html/ | ||
- /home/ldschaak/.cache/composer:/.cache/composer | ||
environment: | ||
MYSQL_SERVER_VERSION: mariadb-10.11.4 | ||
depends_on: | ||
database: | ||
condition: service_healthy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
services: | ||
_defaults: | ||
autowire: false | ||
autoconfigure: false | ||
_defaults: | ||
autowire: false | ||
autoconfigure: false | ||
|
||
############################################################ | ||
# Generic Converter | ||
############################################################ | ||
neusta_converter.generic_converter: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Converter\GenericConverter | ||
############################################################ | ||
# Generic Converter | ||
############################################################ | ||
neusta_converter.generic_converter: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Converter\GenericConverter | ||
|
||
############################################################ | ||
# Strategic Converter | ||
############################################################ | ||
neusta_converter.strategic_converter: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Converter\StrategicConverter | ||
############################################################ | ||
# Strategic Converter | ||
############################################################ | ||
neusta_converter.strategic_converter: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Converter\StrategicConverter | ||
|
||
############################################################ | ||
# Populators | ||
############################################################ | ||
neusta_converter.property_mapping_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\PropertyMappingPopulator | ||
############################################################ | ||
# Populators | ||
############################################################ | ||
neusta_converter.property_mapping_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\PropertyMappingPopulator | ||
|
||
neusta_converter.converting_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\ConvertingPopulator | ||
neusta_converter.converting_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\ConvertingPopulator | ||
|
||
neusta_converter.array_property_mapping_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\ArrayPropertyMappingPopulator | ||
neusta_converter.array_property_mapping_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\ArrayPropertyMappingPopulator | ||
|
||
neusta_converter.array_converting_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\ArrayConvertingPopulator | ||
neusta_converter.array_converting_populator: | ||
abstract: true | ||
class: Neusta\ConverterBundle\Populator\ArrayConvertingPopulator |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.