Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix getoptions #126

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
4c926b2
Update require symfony
zonky2 Aug 30, 2021
38e9843
Add PHP8 array isset checks
bytehead Oct 19, 2021
14d0fd7
More fixes
bytehead Oct 19, 2021
fe57d73
Add more isset() checks
bytehead Feb 3, 2022
0a9eaa1
Update README.md
stefanheimes Feb 13, 2022
05b888a
Merge PR #116 from @bytehead
stefanheimes Apr 5, 2022
b159a2c
Merge PR #115 from @zonky2
stefanheimes Apr 5, 2022
96bfd89
Replace travis with github actions
stefanheimes Apr 5, 2022
6299e5a
Correction for a green build
stefanheimes Apr 5, 2022
bc133c2
Squashed commit of the following:
stefanheimes Apr 5, 2022
52332b2
Update phpcq to version 2 (dev) and some fixes
stefanheimes Apr 6, 2022
00cdb91
Fix for github actions
stefanheimes Apr 6, 2022
687254d
Fix for github actions
stefanheimes Apr 6, 2022
7935c04
Correct the composer.json
stefanheimes Apr 6, 2022
3b8edaa
Support datacontainer from class name
aschempp Apr 7, 2022
78fcb89
Corrections to make all checks happy.
stefanheimes Apr 15, 2022
ff342d7
Correct the minimum-stability problem
stefanheimes Apr 15, 2022
7796709
Remove DC_General from the json and correct the actions
stefanheimes Apr 15, 2022
145f1e0
Merge PR #119 from @stefanheimes
stefanheimes Apr 15, 2022
0ce0acc
Merge PR #120 from @aschempp
stefanheimes Apr 15, 2022
f6c06d8
Some corrections
stefanheimes Apr 22, 2022
e19cc11
Correct the urls for all tags
stefanheimes Apr 22, 2022
ec702a4
Merge tag '3.5.3'
stefanheimes Apr 22, 2022
95299cc
Make all test happy.
stefanheimes Apr 22, 2022
fec9465
Merge tag '3.5.4'
stefanheimes Apr 22, 2022
6641493
Fix potential PHP 8 warnings
qzminski May 20, 2022
1e670b8
Fix PHP warning
zonky2 May 24, 2022
ac049ec
Fix PHP 8 warnings
zonky2 May 24, 2022
38b2ab8
Fix PHP 8 warnings
zonky2 May 24, 2022
9caba8e
Merge PR #1 from qzminski
stefanheimes Jun 30, 2022
a1a53c3
Merge PR #3 form zonky2
stefanheimes Jun 30, 2022
72f6470
Correct a phpcs error.
stefanheimes Jun 30, 2022
3c9cd29
Merge tag '3.5.5'
stefanheimes Jun 30, 2022
3bbbb6b
Fix PHP 8 Warnings
zonky2 Jul 1, 2022
431ac21
Fix PHP 8 warnings
qzminski Jul 5, 2022
20a7c2f
add move => false
zonky2 Jul 22, 2022
41186c5
fix Undefined array key "inputType"
ameotoko Jul 22, 2022
ec2a200
fix warning
ameotoko Jul 28, 2022
2e33879
Revoke some changes
stefanheimes Aug 7, 2022
4998437
Merge PR #4 from @zonky2
stefanheimes Aug 7, 2022
7cdcb58
Merge PR #5 from @qzminski
stefanheimes Aug 7, 2022
f1e7efa
Merge PR #7 from ameotoko
stefanheimes Aug 7, 2022
63baa17
Merge PR #8 from @ameotoko
stefanheimes Aug 7, 2022
54b1520
Correction for the PR #8
stefanheimes Aug 7, 2022
b0099c7
Correct the required check for the fields.
stefanheimes Aug 7, 2022
daa0b27
Merge tag '3.5.6'
stefanheimes Aug 7, 2022
e3f93df
Correct code style.
stefanheimes Aug 7, 2022
162c2af
Merge tag '3.5.7'
stefanheimes Aug 7, 2022
4dd3522
Fix undefined array key issue
markocupic Aug 15, 2022
5e1f40d
Merge PR #9 from @markocupic
stefanheimes Oct 14, 2022
296b9e1
Merge tag '3.5.8'
stefanheimes Oct 16, 2022
94584f1
Update for Contao 5 support
stefanheimes Feb 1, 2023
168909d
Remove deprecated functions and calls from Contao 4
stefanheimes Feb 5, 2023
da466a2
Change the diagnostics.yml
stefanheimes Feb 5, 2023
54d3ccf
Add minimum-stability dev for the gitaction
stefanheimes Feb 5, 2023
bc4549f
Correct the function for creating the response object
stefanheimes Feb 5, 2023
79dd2cd
Fix PHP 8 warnings
Feb 6, 2023
bae1939
Fix debugmode
Feb 6, 2023
afdd708
Add language keys
Feb 6, 2023
e7fb483
Merge PR #12 from @zonky2
stefanheimes Feb 6, 2023
72368c1
Merge tag '3.5.9'
stefanheimes Feb 6, 2023
9886b4b
Merge tag '3.5.9' into feature/contao-5-support
stefanheimes Feb 6, 2023
3ce4a97
Merge PR #15 from @zonky2
stefanheimes Feb 6, 2023
8b55265
Merge PR #16 from @zonky2
stefanheimes Feb 6, 2023
92dcec9
Update composer.json
aschempp Feb 7, 2023
61f4ec6
Merge PR #17 from @aschempp
stefanheimes Feb 7, 2023
4f0ee49
Update the workflow config for the tests.
stefanheimes Feb 7, 2023
fba7ec4
Fixed several PHP8 warnings
aschempp Feb 15, 2023
6ddaf48
Support closure as input_field_callback
aschempp Feb 15, 2023
4c2fef5
Merge pull request #19 from aschempp/feature/input_field-closure
aschempp Mar 1, 2023
d8961af
Merge pull request #18 from aschempp/bugfix/php8
aschempp Mar 1, 2023
85cd8a8
Corrections for phpcq
stefanheimes Mar 19, 2023
470fcfb
Correct the composer.json
stefanheimes Mar 19, 2023
53d8d28
Correct line endings for the composer.json
stefanheimes Mar 19, 2023
480d0b0
Update composer.json
stefanheimes Mar 19, 2023
848415d
Merge tag '3.6.0'
stefanheimes Mar 19, 2023
40bcd96
Fix PHP warning on initializeSystem
aschempp May 22, 2023
afe828f
Merge pull request #20 from aschempp/bugfix/initialize
aschempp Jun 12, 2023
755b736
Fix PHPCQ2 warnings
e-spin Jul 28, 2023
be658df
Update
stefanheimes Aug 2, 2023
45e2f68
Remove min stability for the diagnostics
stefanheimes Aug 2, 2023
0ef4c3c
Update the phpcq.lock
stefanheimes Aug 2, 2023
e9679cf
Update the actions/checkout to version 3
stefanheimes Aug 2, 2023
9499aaf
Merge PR #21 from @zonky2
stefanheimes Aug 2, 2023
586586c
Merge tag '3.6.2'
stefanheimes Aug 2, 2023
3baba1b
Fix label value ist array
zonky2 Nov 20, 2023
90aaa9b
Merge PR #25 from @zonky2
stefanheimes Nov 21, 2023
f3888c9
Merge tag '3.6.3'
stefanheimes Nov 21, 2023
4a559e4
Set options array to nullable for check if options set.
e-spin Feb 14, 2024
a32317e
Add CS tokens
e-spin Feb 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .check-author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ mapping:
- "unknown <[email protected]>"
'Ingolf Steinhardt <[email protected]>':
- 'zonky2 <[email protected]>'
- '[email protected] <[email protected]>'
"Fritz Michael Gschwantner <[email protected]>":
- "fritzmg <[email protected]>"
- "fritzmg <[email protected]>"

copy-left:

32 changes: 32 additions & 0 deletions .composer-require-checker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"symbol-whitelist" : [
"null", "true", "false",
"self", "parent",
"array", "string", "int", "float", "bool", "iterable", "callable", "void", "object",
"BUILD", "VERSION", "TL_MODE",
"Symfony\\Contracts\\EventDispatcher\\Event",
"DC_General",
"ContaoCommunityAlliance\\DcGeneral\\ContaoFrontend\\View\\WidgetManager",
"ContaoCommunityAlliance\\DcGeneral\\Contao\\Compatibility\\DcCompat",
"ContaoCommunityAlliance\\DcGeneral\\Contao\\View\\Contao2BackendView\\ContaoWidgetManager",
"ContaoCommunityAlliance\\DcGeneral\\DC\\General",
"ContaoCommunityAlliance\\DcGeneral\\DataContainerInterface",
"ContaoCommunityAlliance\\DcGeneral\\DataDefinition\\Definition\\PropertiesDefinitionInterface",
"ContaoCommunityAlliance\\DcGeneral\\DataDefinition\\Definition\\Properties\\DefaultProperty",
"ContaoCommunityAlliance\\DcGeneral\\DataDefinition\\Definition\\Properties\\PropertyInterface",
"ContaoCommunityAlliance\\DcGeneral\\Data\\ModelInterface",
"ContaoCommunityAlliance\\DcGeneral\\EnvironmentInterface",
"ContaoCommunityAlliance\\DcGeneral\\Exception\\DcGeneralRuntimeException",
"ContaoCommunityAlliance\\DcGeneral\\Factory\\Event\\BuildDataDefinitionEvent",
"Contao\\ManagerBundle\\ContaoManagerBundle",
"Contao\\ManagerPlugin\\Bundle\\BundlePluginInterface",
"Contao\\ManagerPlugin\\Bundle\\Config\\BundleConfig",
"Contao\\ManagerPlugin\\Bundle\\Parser\\ParserInterface",
"Contao\\ManagerPlugin\\Config\\ConfigPluginInterface",
"Contao\\ManagerPlugin\\Routing\\RoutingPluginInterface",
"Composer\\InstalledVersions",
"Monolog\\Logger",
"Psr\\Log\\LogLevel",
""
]
}
81 changes: 81 additions & 0 deletions .github/workflows/diagnostics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: MultiColumnWizard

on:
push:
branches-ignore:
- '**-translation'
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- contao: '~4.13.0'
php: '8.1'
phpcq_install: 'update'
phpcq_flags: ''
- contao: '~4.13.0'
php: '8.2'
phpcq_install: 'update'
phpcq_flags: '--exit-0'
- contao: '~5.1.0'
php: '8.1'
phpcq_install: 'update'
phpcq_flags: ''
- contao: '~5.1.0'
php: '8.2'
phpcq_install: 'update'
phpcq_flags: '--exit-0'

steps:
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Pull source
uses: actions/checkout@v3
with:
fetch-depth: 0

# see https://github.com/shivammathur/setup-php
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Setup PHP.
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none

- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Cache composer cache directory
uses: actions/cache@v3
env:
cache-name: composer-cache-dir-${{ matrix.php }}-${{ matrix.contao }}
with:
path: ~/.cache/composer
key: ${{ runner.os }}-build-${{ env.cache-name }}

- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Cache vendor directory
uses: actions/cache@v3
env:
cache-name: composer-vendor-${{ matrix.php }}-${{ matrix.contao }}
with:
path: vendor
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-

- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Install composer dependencies
run: composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-stable

- name: PHP ${{ matrix.php }} Update phpcq
run: ./vendor/bin/phpcq self-update --unsigned

- name: PHP ${{ matrix.php }} Install phpcq toolchain
run: ./vendor/bin/phpcq ${{ matrix.phpcq_install }} -v

- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Run tests
run: ./vendor/bin/phpcq run -v -o github-action -o default ${{ matrix.phpcq_flags }}

- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Upload build directory to artifact
uses: actions/upload-artifact@v3
if: ${{ success() }} || ${{ failure() }}
with:
name: phpcq-builds-php-${{ matrix.php }}-${{ matrix.contao }}
path: .phpcq/build/
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.DS_Store
Thumbs.db

# IDEs
# IDEs
.buildpath
.project
.settings/
Expand All @@ -16,7 +16,7 @@ _notes/
vendor/

# build
build/
/.phpcq/
src/Resources/public/js/prepros.config
.phpunit.result.cache
composer.lock
1 change: 1 addition & 0 deletions .phpcq.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plugins":{"phpunit":{"api-version":"1.0.0","version":"1.0.0.0","type":"php-file","url":"https://phpcq.github.io/repository/phpunit-1.0.0.0.php","signature":null,"requirements":{"php":{"php":"^7.3 || ^8.0"},"tool":{"phpunit":"^6.0 || ^7.0 || ^8.0 || ^9.0"}},"checksum":{"type":"sha-512","value":"c73f15658e3ba62665f09492ec91c3a6a715760bfaa88473a987538439fff442540148e086e46a6aa18ce55a3ea2fbf76caaa581384cb84a38859fcc609ae7e4"},"tools":{"phpunit":{"version":"9.6.10","url":"https://phar.phpunit.de/phpunit-9.6.10.phar","requirements":{"php":{"php":">=7.3","ext-dom":"*","ext-json":"*","ext-libxml":"*","ext-mbstring":"*","ext-xml":"*","ext-xmlwriter":"*"}},"checksum":{"type":"sha-256","value":"81fc7b66061dcce44ed1b093af0484b17b90fba5b058bad033a2417a9c9a565d"},"signature":"https://phar.phpunit.de/phpunit-9.6.10.phar.asc"}},"composerLock":null},"composer-require-checker":{"api-version":"1.0.0","version":"1.1.1.0","type":"php-file","url":"https://phpcq.github.io/repository/composer-require-checker-1.1.1.0.php","signature":null,"requirements":{"php":{"php":"^7.4 || ^8.0"},"tool":{"composer-require-checker":"^3.8 || ^4.0"}},"checksum":{"type":"sha-512","value":"d5415bddfe024c5749d894034583882aee4e5c3e1087815d9fdd81cb5e71630f631a0e35de0ff84b97fbbf738c16ece5f83bd8c00695913eb846aa6f04577dc2"},"tools":{"composer-require-checker":{"version":"3.8.0","url":"https://github.com/maglnet/ComposerRequireChecker/releases/download/3.8.0/composer-require-checker.phar","requirements":{"php":{"php":"^7.4 || ^8.0","ext-json":"*","ext-phar":"*"}},"checksum":null,"signature":"https://github.com/maglnet/ComposerRequireChecker/releases/download/3.8.0/composer-require-checker.phar.asc"}},"composerLock":null},"phpmd":{"api-version":"1.0.0","version":"1.0.2.0","type":"php-file","url":"https://phpcq.github.io/repository/phpmd-1.0.2.0.php","signature":null,"requirements":{"php":{"php":"^7.3 || ^8.0","ext-dom":"*"},"tool":{"phpmd":"^2.6.1"}},"checksum":{"type":"sha-512","value":"f22280a6dec8dbdd2ec1d83b294f23237fe32c34f4a298e52038e0a7a0074d541635b2b488b1a6098a42d8418a6cd8eb804406ea82b91e362be2b5d11a0915b0"},"tools":{"phpmd":{"version":"2.13.0","url":"https://github.com/phpmd/phpmd/releases/download/2.13.0/phpmd.phar","requirements":{"php":{"php":">=5.3.9","ext-xml":"*"}},"checksum":null,"signature":"https://github.com/phpmd/phpmd/releases/download/2.13.0/phpmd.phar.asc"}},"composerLock":null},"phpcpd":{"api-version":"1.0.0","version":"1.1.1.0","type":"php-file","url":"https://phpcq.github.io/repository/phpcpd-1.1.1.0.php","signature":null,"requirements":{"php":{"php":"^7.3 || ^8.0","ext-dom":"*"},"tool":{"phpcpd":"^6.0"}},"checksum":{"type":"sha-512","value":"1189ce0bf3fade4cb4241f1d96f915ef8fc7651f4450dc79fdf464ee3d6be3009316f0d423ce2d4af9d76ad50807b7fdf4d77bfa6d9ee2c91d6eda32ea214433"},"tools":{"phpcpd":{"version":"6.0.3","url":"https://phar.phpunit.de/phpcpd-6.0.3.phar","requirements":{"php":{"php":">=7.3","ext-dom":"*"}},"checksum":{"type":"sha-256","value":"2cbaea7cfda1bb4299d863eb075e977c3f49055dd16d88529fae5150d48a84cb"},"signature":"https://phar.phpunit.de/phpcpd-6.0.3.phar.asc"}},"composerLock":null},"phploc":{"api-version":"1.0.0","version":"1.0.0.0","type":"php-file","url":"https://phpcq.github.io/repository/phploc-1.0.0.0.php","signature":null,"requirements":{"php":{"php":"^7.3 || ^8.0","ext-dom":"*","ext-json":"*"},"tool":{"phploc":"^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0"}},"checksum":{"type":"sha-512","value":"f67b02d494796adf553cb3dd13ec06c1cb8e53c799954061749424251379541637538199afb3afa3c7a01cabd1cb6f1c53eb621f015dff9644c6c7cbf10c56d1"},"tools":{"phploc":{"version":"7.0.2","url":"https://phar.phpunit.de/phploc-7.0.2.phar","requirements":{"php":{"php":">=7.3","ext-dom":"*","ext-json":"*"}},"checksum":{"type":"sha-256","value":"3d59778ec86faf25fd00e3a329b2f9ad4a3c751ca91601ea7dab70f887b0bf46"},"signature":"https://phar.phpunit.de/phploc-7.0.2.phar.asc"}},"composerLock":null},"phpcs":{"api-version":"1.0.0","version":"1.1.0.0","type":"php-file","url":"https://phpcq.github.io/repository/phpcs-1.1.0.0.php","signature":null,"requirements":{"php":{"php":"^7.3 || ^8.0","ext-dom":"*"},"tool":{"phpcs":"^3.0 || ^2.0","phpcbf":"^3.0 || ^2.0"}},"checksum":{"type":"sha-512","value":"2737022369da1318cc4e0ea194e8a81019f7b079080d869aab878b7486052fdbe68fee3f28131f35573226def1aabd4bd005e038ee7b767c137b1107c1492a83"},"tools":{"phpcs":{"version":"3.7.2","url":"https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.7.2/phpcs.phar","requirements":{"php":{"php":">=5.4.0","ext-tokenizer":"*","ext-xmlwriter":"*","ext-simplexml":"*"}},"checksum":null,"signature":"https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.7.2/phpcs.phar.asc"},"phpcbf":{"version":"3.7.2","url":"https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.7.2/phpcbf.phar","requirements":{"php":{"php":">=5.4.0","ext-tokenizer":"*","ext-xmlwriter":"*","ext-simplexml":"*"}},"checksum":null,"signature":"https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.7.2/phpcbf.phar.asc"}},"composerLock":null},"composer-normalize":{"api-version":"1.0.0","version":"1.1.0.0","type":"php-file","url":"https://phpcq.github.io/repository/composer-normalize-1.1.0.0.php","signature":null,"requirements":{"php":{"php":"^7.3 || ^8.0","ext-json":"*"},"tool":{"composer-normalize":"^2.1"}},"checksum":{"type":"sha-512","value":"d59d3557cb20630734878a9115df5dd32d5aff815e5b15be36f6fb5d6e9d83dd36efd84215ab6529edcc924f600946f739a0d9e67723deff95c88346ab502498"},"tools":{"composer-normalize":{"version":"2.34.0","url":"https://github.com/ergebnis/composer-normalize/releases/download/2.34.0/composer-normalize.phar","requirements":{"php":{"php":"~8.1.0 || ~8.2.0","ext-json":"*"}},"checksum":null,"signature":"https://github.com/ergebnis/composer-normalize/releases/download/2.34.0/composer-normalize.phar.asc"}},"composerLock":null}},"tools":[]}
110 changes: 110 additions & 0 deletions .phpcq.yaml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
phpcq:
repositories:
- https://phpcq.github.io/repository/repository.json
directories:
- src
- tests
artifact: .phpcq/build

plugins:
phpunit:
version: ^1.0
signed: false
# psalm:
# version: ^1.1
# signed: false
composer-require-checker:
version: ^1.0
signed: false
requirements:
composer-require-checker:
signed: false
version: ^3.3
phpmd:
version: ^1.0
signed: false
requirements:
phpmd:
signed: false
phpcpd:
version: ^1.0
signed: false
requirements:
phpcpd:
version: ^6.0
phploc:
version: ^1.0
signed: false
phpcs:
version: ^1.0
signed: false
composer-normalize:
version: ^1.0
signed: false
trusted-keys:
# [email protected]
- 4AA394086372C20A
# psalm
- 8A03EA3B385DBAA1
- 12CE0F1D262429A5
# [email protected]
- D2CCAC42F6295E7D
# PHP_CodeSniffer
- 31C7E470E2138192
- 9093F8B32E4815AA
- 5E6DDE998AB73B8E
# Composer normalize
- C00543248C87FB13
# phpmd
- 0F9684B8B16B7AB0
# composer-require-checker
- 033E5F8D801A2F8D

tasks:
fix:
- composer-normalize-fix
- phpcbf
verify:
- composer-require-checker
- composer-normalize
analyze:
- phploc
- phpcpd
- phpmd
- phpcs
# - psalm
- phpunit
default:
- verify
- analyze

phpcpd:
plugin: phpcpd

phpmd:
plugin: phpmd
config:
ruleset:
- ./.phpmd.xml

composer-normalize-fix:
plugin: composer-normalize
config:
dry_run: false

composer-require-checker:
plugin: composer-require-checker
config:
config_file: '.composer-require-checker.json'

phpcs:
plugin: phpcs
config: &phpcs-config
standard: PSR12
custom_flags:
- '--extensions=php'

phpcbf:
plugin: phpcs
config:
<<: *phpcs-config
42 changes: 42 additions & 0 deletions .phpmd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0"?>
<ruleset name="PHPMD rule set"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation=" http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>
PHPMD rule set
</description>

<rule ref="rulesets/codesize.xml"/>
<rule ref="rulesets/controversial.xml">
<exclude name="CamelCaseVariableName"/>
</rule>
<rule ref="rulesets/controversial.xml/CamelCaseVariableName">
<properties>
<property name="allow-underscore" value="true"/>
</properties>
</rule>
<rule ref="rulesets/design.xml">
<!-- we love modular, dependency injection style programming that often have a higher coupling -->
<exclude name="CouplingBetweenObjects"/>
</rule>
<rule ref="rulesets/naming.xml">
<exclude name="ShortVariable" />
<!-- we love descriptive variable names -->
<exclude name="LongVariable"/>
</rule>
<rule ref="rulesets/naming.xml/ShortVariable">
<properties>
<property name="exceptions" value="id" />
</properties>
</rule>
<rule ref="rulesets/unusedcode.xml">
<exclude name="UnusedLocalVariable"/>
</rule>
<rule ref="rulesets/unusedcode.xml/UnusedLocalVariable">
<properties>
<property name="allow-unused-foreach-variables" value="true"/>
</properties>
</rule>
</ruleset>
58 changes: 0 additions & 58 deletions .travis.yml

This file was deleted.

7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[![Build Status](https://travis-ci.org/menatwork/contao-multicolumnwizard-bundle.png)](https://travis-ci.org/menatwork/contao-multicolumnwizard-bundle)
[![Build Status](https://github.com/menatwork/contao-multicolumnwizard-bundle/actions/workflows/diagnostics.yml/badge.svg)](https://github.com/menatwork/contao-multicolumnwizard-bundle/actions)
[![Latest Version tagged](http://img.shields.io/github/tag/menatwork/contao-multicolumnwizard-bundle.svg)](https://github.com/menatwork/contao-multicolumnwizard-bundle/tags)
[![Latest Version on Packagist](http://img.shields.io/packagist/v/menatwork/contao-multicolumnwizard-bundle.svg)](https://packagist.org/packages/menatwork/contao-multicolumnwizard-bundle)
[![Installations via composer per month](http://img.shields.io/packagist/dm/menatwork/contao-multicolumnwizard-bundle.svg)](https://packagist.org/packages/menatwork/contao-multicolumnwizard-bundle)

The repository of contao-multicolumnwizard-bundle was moved to [contao-community-alliance](https://github.com/contao-community-alliance/contao-multicolumnwizard-bundle). We plan to support this version with bugfixes until the new version from the CCA is released.

# MultiColumnWizard

The MultiColumnWizard is a widget for mapping several fields of the same and/or different type (input type) in a DCA element. The individual fields of the MCW are listed column by column in the backend and can be extended row by row as a group. The arrangement corresponds to a multidimensional array of the form array[rows][fields], which is stored in the database as a serialized array. The widget is almost identical to MultiTextWizard or MultiSelectWizard. It extends the functionality of any widget.
Expand Down Expand Up @@ -127,7 +129,8 @@ $GLOBALS['TL_DCA']['tl_theme']['fields']['templateSelection'] = [
'copy' => false,
'delete' => false,
'up' => false,
'down' => false
'down' => false,
'move' => false
],
// as alternative to hide all buttons use the next line
//'hideButtons' => true,
Expand Down
Loading
Loading