Skip to content

Commit

Permalink
#124 enforce lf for php files
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed Aug 2, 2022
1 parent 0d02757 commit 229f130
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
#
# do not replace lf by crlf
*.css text
*.php text
text eol=lf

8 changes: 4 additions & 4 deletions bin/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ DIR=$(cd -P -- "$(dirname $(readlink -f "$0"))" && pwd -P)
cd "$DIR"
unset DIR

[ ! -f "../phpunit.phar" ] &&
wget -O ../phpunit.phar https://phar.phpunit.de/phpunit-9.5.11.phar &&
chmod +x ../phpunit.phar
#[ ! -f "../phpunit.phar" ] &&
# wget -O ../phpunit.phar https://phar.phpunit.de/phpunit-9.5.11.phar &&
# chmod +x ../phpunit.phar
#
#
#../phpunit.phar --bootstrap autoload.php src/*.php
Expand All @@ -30,7 +30,7 @@ fail() {
run() {

#
php -dmemory_limit=256M ../phpunit.phar -v --colors=always --bootstrap autoload.php --testdox --fail-on-skipped --fail-on-risky --fail-on-incomplete "$@"
php -dmemory_limit=256M ../vendor/bin/phpunit -v --colors=always --bootstrap autoload.php --testdox --fail-on-skipped --fail-on-risky --fail-on-incomplete "$@"
}

testName() {
Expand Down

0 comments on commit 229f130

Please sign in to comment.