Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 2a138b6

Browse files
author
Jamie Snape
committed
Tweak UTF-8 test exclusions and .gitignore
1 parent 9b29209 commit 2a138b6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ bower_components/
66
composer.lock
77
composer.phar
88
cron.yaml
9+
env/
910
node_modules/
1011
site/
1112
vendor/

tests/UTF8Tools.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
class UTF8Tools
2323
{
2424
/** @var array */
25-
protected $excludedDirs = array('_build', '_test', '.git', 'bin', 'bower_components', 'build', 'data', 'library', 'log', 'node_modules', 'tmp', 'vendor');
25+
protected $excludedDirs = array('_build', '_test', '.git', '.idea', '.sass-cache', '.vagrant', 'bin', 'bower_components', 'build', 'env', 'data', 'library', 'log', 'node_modules', 'site', 'tmp', 'vendor');
2626

2727
/** @var array */
28-
protected $excludedExts = array('db', 'gif', 'ico', 'ini', 'jar', 'jpeg', 'jpg', 'keystore', 'phar', 'png', 'psd', 'swc', 'swf', 'zip');
28+
protected $excludedExts = array('db', 'gif', 'gz', 'ico', 'ini', 'jar', 'jpeg', 'jpg', 'keystore', 'lock', 'phar', 'png', 'psd', 'swc', 'swf', 'yaml', 'yml', 'zip');
2929

3030
/** @var array */
31-
protected $excludedFiles = array('.coveralls.yml', '.DS_Store', '.htaccess', '.gitignore', '.travis.yml', 'appveyor.yml');
31+
protected $excludedFiles = array('.DS_Store', '.editorconfig', '.htaccess', '.gitignore');
3232

3333
/**
3434
* return true if the string is UTF8 encoded.

0 commit comments

Comments
 (0)