We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
[
The issue happens when running this command:
./vendor/bin/var-dump-check --no-colors --custom-function VarDumper::dump,VarDumper::dd --exclude app/classe/VarDumper.php app
... over a file containing this code:
<?php use app\classe\VarDumper; switch('test') { case 'test': app\classe\VarDumper::dd("Bonjour"); VarDumper::dd("Bonjour"); //app\classe\VarDumper::dump("Bonjour"); VarDumper::dump("Bonjour"); break; }
------------------------------------------------------------ Forgotten dump 'VarDumper' found in app/testVD.php:6 4| switch('test') { 5| case 'test': > 6| app\classe\VarDumper::dd("Bonjour"); 7| VarDumper::dd("Bonjour"); 8| //app\classe\VarDumper::dump("Bonjour"); ------------------------------------------------------------ Forgotten dump 'VarDumper' found in app/testVD.php:7 5| case 'test': 6| app\classe\VarDumper::dd("Bonjour"); > 7| VarDumper::dd("Bonjour"); 8| //app\classe\VarDumper::dump("Bonjour"); 9| VarDumper::dump("Bonjour"); ------------------------------------------------------------ Forgotten dump 'VarDumper' found in app/testVD.php:9 5| case 'test': 6| app\classe\VarDumper::dd("Bonjour"); 7| VarDumper::dd("Bonjour"); 8| //app\classe\VarDumper::dump("Bonjour"); > 9| VarDumper::dump("Bonjour");
------------------------------------------------------------ Forgotten dump 'VarDumper' found in app/testVD.php:6 4| switch('test') { 5| case 'test': > 6| app\classe\VarDumper::dd("Bonjour"); 7| VarDumper::dd("Bonjour"); 8| //app\classe\VarDumper::dump("Bonjour"); ------------------------------------------------------------ Forgotten dump 'VarDumper' found in app/testVD.php:7 5| case 'test': 6| app\classe\VarDumper::dd("Bonjour"); > 7| VarDumper::dd("Bonjour"); 8| //app\classe\VarDumper::dump("Bonjour"); 9| VarDumper::dump("Bonjour");
Linux 6.2.0-39-generic on Rocky Linux 8.9 (Green Obsidian) PHP 7.4.33 (cli) (built: Apr 10 2024 09:31:08) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies with Xdebug v2.9.8, Copyright (c) 2002-2020, by Derick Rethans
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[
Bug Description
Given the following reproduction Scenario
The issue happens when running this command:
... over a file containing this code:
I'd expect the following behaviour
Instead this happened
Environment
Additional Context (optional)
Tested Against main branch?
The text was updated successfully, but these errors were encountered: