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
{{ message }}
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
In 9.1.*, an Call to undefined function get_debug_type Fatal occurs in the symplify/easy-coding-standard-prefixed package. This error does not occur in symplify/easy-coding-standard-prefixed:9.0.* nor in symplify/easy-coding-standard:9.1.*.
🔴 symplify/easy-coding-standard-prefixed:9.1.*
# in a empty directory
$ composer require --dev 'symplify/easy-coding-standard-prefixed:9.1.*'
$ vendor/bin/ecs init
$ sed -i 's|// SetList::PSR_12|SetList::PSR_12|' ecs.php
$ vendor/bin/ecs check .
PHP Fatal error: Uncaught Error: Call to undefined functionget_debug_type()in /Users/pdelre/ecs-polyfill-issue/vendor/symplify/easy-coding-standard-prefixed/vendor/symfony/options-resolver/OptionsResolver.php:974
Stack trace:
#0 /Users/pdelre/ecs-polyfill-issue/vendor/symplify/easy-coding-standard-prefixed/vendor/symfony/options-resolver/OptionsResolver.php(863): _PhpScoper89c09b8e7101\Symfony\Component\OptionsResolver\OptionsResolver->verifyTypes('array', NULL, Array)#1 /Users/pdelre/ecs-polyfill-issue/vendor/symplify/easy-coding-standard-prefixed/vendor/symfony/options-resolver/OptionsResolver.php(774): _PhpScoper89c09b8e7101\Symfony\Component\OptionsResolver\OptionsResolver->offsetGet('imports_order')#2 /Users/pdelre/ecs-polyfill-issue/vendor/symplify/easy-coding-standard-prefixed/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolver.php(89): _PhpScoper89c09b8e7101\Symfony\Component\OptionsResolver\OptionsResolv in /Users/pdelre/ecs-polyfill-issue/vendor/symplify/easy-coding-standard-prefixed/vendor/symfony/options-resolver/OptionsResolver.php on line 974
Fatal error: Uncaught Error: Call to undefined functionget_debug_type()in /Users/pdelre/ecs-polyfill-issue/vendor/symplify/easy-coding-standard-prefixed/vendor/symfony/options-resolver/OptionsResolver.php on line 974
🟢 symplify/easy-coding-standard-prefixed:9.0.*
# in a empty directory
$ composer require --dev 'symplify/easy-coding-standard-prefixed:9.0.*'
$ vendor/bin/ecs init
$ sed -i 's|// SetList::PSR_12|SetList::PSR_12|' ecs.php
$ vendor/bin/ecs check .
[OK] No errors found. Great job - your code is shiny in style!
🟢 symplify/easy-coding-standard:9.1.*
# in a empty directory
$ composer require --dev 'symplify/easy-coding-standard:9.1.*'
$ vendor/bin/ecs init
$ sed -i 's|// SetList::PSR_12|SetList::PSR_12|' ecs.php
$ vendor/bin/ecs check .
[OK] No errors found. Great job - your code is shiny in style!
The text was updated successfully, but these errors were encountered:
@TomasVotruba Is there any interest in adding the symfony polyfills to scoper.inc.php's files-whitelist (workaround mentioned in humbug/php-scoper#440)? I would draft a PR doing so, but how to test with the symplify repo structure is a little confusing for me.
In
9.1.*
, anCall to undefined function get_debug_type
Fatal occurs in thesymplify/easy-coding-standard-prefixed
package. This error does not occur insymplify/easy-coding-standard-prefixed:9.0.*
nor insymplify/easy-coding-standard:9.1.*
.🔴
symplify/easy-coding-standard-prefixed:9.1.*
🟢
symplify/easy-coding-standard-prefixed:9.0.*
🟢
symplify/easy-coding-standard:9.1.*
The text was updated successfully, but these errors were encountered: