You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boom. Configuration for $config['config']['a'] was undefined. So, after 1 hour, I found the problem (hehe), duplication of indexes in array definition.
Can you create a rule for this problem, verifying duplicate indexes?
Hello!
Yesterday I was developing my application and I had some problems with a
git merge
in anarray
definition. Example:array
configuration beforegit merge
:array
configuration aftergit merge --no-ff issue-1
:array
configuration aftergit merge --no-ff issue-2
:Capturing configuration, PHP defined an
array
with this structure:Boom. Configuration for
$config['config']['a']
was undefined. So, after 1 hour, I found the problem (hehe), duplication of indexes inarray
definition.Can you create a rule for this problem, verifying duplicate indexes?
PS: If we have duplicated subindexes, verify too?
PS2: I did the same question at
php-cs-fixer
project PHP-CS-Fixer/PHP-CS-Fixer#1469.The text was updated successfully, but these errors were encountered: