We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When passing the --exclude flag, it outputs deprecation notices.
--exclude
# var-dump-check --version 0.5 # var-dump-check --laravel --exclude vendor . Deprecated: Return type of JakubOnderka\PhpVarDumpCheck\RecursiveDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveFilterIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/RecursiveDirectoryFilterIterator.php on line 49 Call Stack: 0.0035 473056 1. {main}() /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check:0 0.0115 568304 2. require('/tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check.php') /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check:4 0.0296 677176 3. JakubOnderka\PhpVarDumpCheck\Manager->check($settings = class JakubOnderka\PhpVarDumpCheck\Settings { public $extensions = [0 => 'php', 1 => 'php3', 2 => 'php4', 3 => 'php5', 4 => 'phtml']; public $paths = [0 => '.']; public $excluded = [0 => 'vendor']; public $colors = TRUE; public $functionsToCheck = [0 => 'var_dump', 1 => 'var_export', 2 => 'print_r', 3 => 'dd', 4 => 'dump'] }, $output = ???) /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check.php:86 0.0296 677176 4. JakubOnderka\PhpVarDumpCheck\Manager->getFilesFromPaths($paths = [0 => '.'], $extensions = [0 => 'php', 1 => 'php3', 2 => 'php4', 3 => 'php5', 4 => 'phtml'], $excluded = [0 => 'vendor']) /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/Manager.php:14 0.0306 686000 5. Composer\Autoload\ClassLoader->loadClass($class = 'JakubOnderka\\PhpVarDumpCheck\\RecursiveDirectoryFilterIterator') /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/Manager.php:135 0.0307 686192 6. Composer\Autoload\{closure:/tools/php-parallel-lint/php-var-dump-check/vendor/composer/ClassLoader.php:575-577}($file = '/tools/php-parallel-lint/php-var-dump-check/vendor/composer/../php-parallel-lint/php-var-dump-check/src/RecursiveDirectoryFilterIterator.php') /tools/php-parallel-lint/php-var-dump-check/vendor/composer/ClassLoader.php:427 Deprecated: Return type of JakubOnderka\PhpVarDumpCheck\RecursiveDirectoryFilterIterator::getChildren() should either be compatible with RecursiveFilterIterator::getChildren(): ?RecursiveFilterIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/RecursiveDirectoryFilterIterator.php on line 61 Call Stack: 0.0035 473056 1. {main}() /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check:0 0.0115 568304 2. require('/tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check.php') /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check:4 0.0296 677176 3. JakubOnderka\PhpVarDumpCheck\Manager->check($settings = class JakubOnderka\PhpVarDumpCheck\Settings { public $extensions = [0 => 'php', 1 => 'php3', 2 => 'php4', 3 => 'php5', 4 => 'phtml']; public $paths = [0 => '.']; public $excluded = [0 => 'vendor']; public $colors = TRUE; public $functionsToCheck = [0 => 'var_dump', 1 => 'var_export', 2 => 'print_r', 3 => 'dd', 4 => 'dump'] }, $output = ???) /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check.php:86 0.0296 677176 4. JakubOnderka\PhpVarDumpCheck\Manager->getFilesFromPaths($paths = [0 => '.'], $extensions = [0 => 'php', 1 => 'php3', 2 => 'php4', 3 => 'php5', 4 => 'phtml'], $excluded = [0 => 'vendor']) /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/Manager.php:14 0.0306 686000 5. Composer\Autoload\ClassLoader->loadClass($class = 'JakubOnderka\\PhpVarDumpCheck\\RecursiveDirectoryFilterIterator') /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/Manager.php:135 0.0307 686192 6. Composer\Autoload\{closure:/tools/php-parallel-lint/php-var-dump-check/vendor/composer/ClassLoader.php:575-577}($file = '/tools/php-parallel-lint/php-var-dump-check/vendor/composer/../php-parallel-lint/php-var-dump-check/src/RecursiveDirectoryFilterIterator.php') /tools/php-parallel-lint/php-var-dump-check/vendor/composer/ClassLoader.php:427 Deprecated: Return type of JakubOnderka\PhpVarDumpCheck\RecursiveDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/RecursiveDirectoryFilterIterator.php on line 30 Call Stack: 0.0035 473056 1. {main}() /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check:0 0.0115 568304 2. require('/tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check.php') /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check:4 0.0296 677176 3. JakubOnderka\PhpVarDumpCheck\Manager->check($settings = class JakubOnderka\PhpVarDumpCheck\Settings { public $extensions = [0 => 'php', 1 => 'php3', 2 => 'php4', 3 => 'php5', 4 => 'phtml']; public $paths = [0 => '.']; public $excluded = [0 => 'vendor']; public $colors = TRUE; public $functionsToCheck = [0 => 'var_dump', 1 => 'var_export', 2 => 'print_r', 3 => 'dd', 4 => 'dump'] }, $output = ???) /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/var-dump-check.php:86 0.0296 677176 4. JakubOnderka\PhpVarDumpCheck\Manager->getFilesFromPaths($paths = [0 => '.'], $extensions = [0 => 'php', 1 => 'php3', 2 => 'php4', 3 => 'php5', 4 => 'phtml'], $excluded = [0 => 'vendor']) /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/Manager.php:14 0.0306 686000 5. Composer\Autoload\ClassLoader->loadClass($class = 'JakubOnderka\\PhpVarDumpCheck\\RecursiveDirectoryFilterIterator') /tools/php-parallel-lint/php-var-dump-check/vendor/php-parallel-lint/php-var-dump-check/src/Manager.php:135 0.0307 686192 6. Composer\Autoload\{closure:/tools/php-parallel-lint/php-var-dump-check/vendor/composer/ClassLoader.php:575-577}($file = '/tools/php-parallel-lint/php-var-dump-check/vendor/composer/../php-parallel-lint/php-var-dump-check/src/RecursiveDirectoryFilterIterator.php') /tools/php-parallel-lint/php-var-dump-check/vendor/composer/ClassLoader.php:427
No deprecation notices
Version: 0.5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Description
When passing the
--exclude
flag, it outputs deprecation notices.I'd expect the following behaviour
No deprecation notices
Instead this happened
Environment
Version: 0.5
Additional Context (optional)
Tested Against main branch?
The text was updated successfully, but these errors were encountered: