services:
    Rector\CakePHP\Rector\MethodCall\ArrayToFluentCallRector:
        $configurableClasses:
            'Cake\ORM\Association':
                bindingKey: setBindingKey
                cascadeCallbacks: setCascadeCallbacks
                className: setClassName
                conditions: setConditions
                dependent: setDependent
                finder: setFinder
                foreignKey: setForeignKey
                joinType: setJoinType
                propertyName: setProperty
                sourceTable: setSource
                strategy: setStrategy
                targetTable: setTarget

                # BelongsToMany and HasMany only
                saveStrategy: setSaveStrategy
                sort: setSort

                # BelongsToMany only
                targetForeignKey: setTargetForeignKey
                through: setThrough

            'Cake\ORM\Query':
                fields: select
                conditions: where
                join: join
                order: order
                limit: limit
                offset: offset
                group: group
                having: having
                contain: contain
                page: page

        $factoryMethods:
            'Cake\ORM\Table':
                belongsTo:
                    argumentPosition: 2
                    class: 'Cake\ORM\Association'
                belongsToMany:
                    argumentPosition: 2
                    class: 'Cake\ORM\Association'
                hasMany:
                    argumentPosition: 2
                    class: 'Cake\ORM\Association'
                hasOne:
                    argumentPosition: 2
                    class: 'Cake\ORM\Association'
                find:
                    argumentPosition: 2
                    class: 'Cake\ORM\Query'

Add CakePHP set to convert array options to fluent method calls
Add CakePHP set to convert array options to fluent method calls
