Hello all together!

 

Maybe someone can help me? J

 

I have reinstalled my development system and so reinstalled MediaWiki and MobileFrontend Development Environment. After i installed git, gerrit and so on, i started to install tests. qunit and phpunit runs perfectly without errors and works fine. But now comes a little problem. After the first test commit, the script would install phpcodesniffer via composer, and there i had two warnings/errors:

Skipped installation of bin dev-scripts/phpcs for package squizlabs/php_codesniffer: file not found in package

Skipped installation of bin dev-scripts/phpcbf for package squizlabs/php_codesniffer: file not found in package

 

Correctly the script except with message, that phpcodesniffer has to installed (make phpcheck says all ok).

Now my question is: Am i to silly or somtehing else?

 

After i changed the line phplint.sh to the „new“ location of phpcs (vendor/squizlabs/php_codesniffer/scripts) the test works. But i’m unsure, if i’m right to only change the line of the localtion of phpcs and all is good. Can you ad hoc say anything to that? That would be extremly helpful for me J

 

You can contact me via this E-Mailadress, mobile-l and irc (#wikimedia-mobile FlorianSW). Big thanks!

 

Kind regards

Florian

 

Freundliche Grüße

Florian