| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/plugins/wordpress-seo/config/php-scoper/ |
Upload File : |
<?php declare( strict_types=1 ); use Isolated\Symfony\Component\Finder\Finder; return array( /* * By default when running php-scoper add-prefix, it will prefix all relevant code found in the current working * directory. You can however define which files should be scoped by defining a collection of Finders in the * following configuration key. * * For more see: https://github.com/humbug/php-scoper#finders-and-paths */ 'finders' => [ Finder::create()->files()->in( 'vendor/symfony/dependency-injection' )->name( [ 'Container.php', 'ContainerInterface.php', 'ResettableContainerInterface.php', 'LICENSE', 'composer.json' ] ), Finder::create()->files()->in( 'vendor/symfony/dependency-injection/Argument' )->name( [ 'RewindableGenerator.php' ] ), Finder::create()->files()->in( 'vendor/symfony/dependency-injection/Exception' )->name( [ 'InvalidArgumentException.php', 'LogicException.php', 'RuntimeException.php', 'ServiceCircularReferenceException.php', 'ServiceNotFoundException.php', 'EnvNotFoundException.php', 'ParameterCircularReferenceException.php', 'ExceptionInterface.php' ] ), Finder::create()->files()->in( 'vendor/symfony/dependency-injection/ParameterBag' )->name( [ 'FrozenParameterBag.php', 'ParameterBagInterface.php', 'EnvPlaceholderParameterBag.php', 'ParameterBag.php' ] ), ], /* * When scoping PHP files, there will be scenarios where some of the code being scoped indirectly references the * original namespace. These will include, for example, strings or string manipulations. PHP-Scoper has limited * support for prefixing such strings. To circumvent that, you can define patchers to manipulate the file to your * heart contents. * * For more see: https://github.com/humbug/php-scoper#patchers */ 'patchers' => [], );