Closed mbardelmeijer closed 3 years ago
@barryvdh poke for this and #405 🙈
We're currently running on the #405 branch but prefer to use a tagged version :)
@mbardelmeijer the additions in this PR are two characters too many 🤦 hah
Would you mind sending another so tests pass?
$ ./vendor/bin/phpcs --standard=PSR2 -p --ignore=./tests/storage/* --report=full --report-checkstyle=build/logs/checkstyle.xml src/ tests/
...............................W............................ 60 / 67 (90%)
.......
FILE: /home/travis/build/rcrowe/TwigBridge/tests/Node/GetAttrTest.php
--------------------------------------------------------------------------------
FOUND 0 ERROR(S) AND 2 WARNING(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
50 | WARNING | Line exceeds 120 characters; contains 122 characters
54 | WARNING | Line exceeds 120 characters; contains 122 characters
--------------------------------------------------------------------------------
UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY
--------------------------------------------------------------------------------
The command "./vendor/bin/phpcs --standard=PSR2 -p --ignore=./tests/storage/* --report=full --report-checkstyle=build/logs/checkstyle.xml src/ tests/" exited with 1.
Hehe, what are the chances -- will submit a PR with that fixed.
Adds a (failing) test that the Model's exists method can be used in templates.
When #405 is merged, this test will succeed and prevent breakage in the future.