Hey Florian I deleted my vendor folder and found I had the same problem.
x ~/Sites/w/extensions/MobileFrontend $ make phpcheck
Loading composer repositories with package information Installing dependencies (including require-dev) from lock file - Installing squizlabs/php_codesniffer (dev-phpcs-fixer 228750a) Cloning 228750a544d220c0bc5443dcdd4a7a1a5766f52a
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 Generating autoload files
x ~/Sites/w/extensions/MobileFrontend $ make phplint
Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files phpcs required but it's not installed. Aborting. Run 'make phpcheck' make: *** [phplint] Error 1
It seems no file is installed in the bin direction https://gerrit.wikimedia.org/r/137071 seems to fix it for me. Hopefully Juliusz can take a look?
On Mon, Jun 2, 2014 at 11:46 AM, Florian Schmidt florian.schmidt.welzow@t-online.de wrote:
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
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l