Marc Würth
Marc Würth
@Webysther are you still interested in creating a PR for this? I would appreciate it. :smile_cat:
Let's start with level one and slowly go up.
@client9 thanks for your idea. I see your problem but creating a rule for covering such a narrow case would be an overkill. Or better said not many will ever...
We got reports that the suppression dos not work in all cases, recently. It might be a bug. Thanks for reporting, e.g. https://github.com/phpmd/phpmd/issues/510
Could be connected to https://github.com/phpmd/phpmd/issues/522
Either it should show each line separately with the correct ``beginline`` and ``endline`` set or it should only be displayed once for the whole function.
I downloaded both version and executed them by checking some of my CakePHP model code. ```` C:\Users\user\Downloads>php phpmd250.phar --version PHPMD 2.5.0 C:\Users\user\Downloads>php phpmd260.phar d:\dev\xampp\htdocs\myApp\app\Model xml codesize --reportfile phpmd260.xml C:\Users\user\Downloads>php phpmd260.phar...
I created a deep folder structure with long folder names: ```` C:\test\sldkfjsldfjslkfjsdlkfjlsdfjsöfjwölfjweöfkjweölfkjwfjwölfjswlöfjwseöfkjwö efklswf\sldkfjsdöfjsdlkfjsdölfjsdlkfjsdlöfjsödflksdölfkjsdölfkjsdölfkjs\sdjfösdj fölsdjfölsdfjölsdfjsldfjösldkfjsöldfjsdlöfjsdölkfjsöl>php pdepend250.phar Model xml codesize --reportfile result.xml PHP Fatal error: Class 'Composer\Autoload\ComposerStaticInitd24d58d1bb3d62b564e a0ef9ccddbceb' not found in phar://C:/test/sldkfjsldfjslkfjsdlkfjlsdfjs÷fjw÷lfjw...
After reducing each long folder name to a somewhat less long name, I got the fatal error you encountered: ```` C:\test\sldkfjsldfjslkfjsdlkfjlsdfjsöfjwölfjweöfk\sldkfjsdöfjsdlkfjsdöl\sdjfösdj fölsdjfölsdfjöls>php pdepend250.phar Model xml codesize --reportfile result.xml PHP Fatal...
After reducing the folder names to quite short names but keeping the four levels, I was able to execute pdepend (I mistakenly used pdepend, instead of phpmd). But nonethless I...