-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from JDGrimes/develop
0.4.0
- Loading branch information
Showing
13 changed files
with
225 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,24 @@ | ||
# Travis CI config. | ||
|
||
language: php | ||
php: | ||
- 5.6 | ||
- 5.5 | ||
- 5.4 | ||
- 5.3 | ||
- hhvm | ||
|
||
matrix: | ||
include: | ||
- php: 7.2 | ||
- php: 7.1 | ||
- php: 7.0 | ||
- php: 5.6 | ||
- php: 5.5 | ||
- php: 5.4 | ||
# Use Ubuntu Precise because Trusty doesn't support PHP 5.3. | ||
- php: 5.3 | ||
dist: precise | ||
- php: nightly | ||
allow_failures: | ||
- php: nightly | ||
|
||
before_script: | | ||
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." || $TRAVIS_PHP_VERSION == nightly ]]; then | ||
export PATH="$HOME/.config/composer/vendor/bin:$PATH" | ||
composer global require "phpunit/phpunit=^5.7.15" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
/** | ||
* Another file. | ||
*/ | ||
|
||
function do_some_things( $var ) { | ||
return $var; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
/** | ||
* Ignored file. | ||
*/ | ||
|
||
function do_some_things() { | ||
|
||
global $wpdb; | ||
|
||
return $wpdb->get_results( 'SELECT * FROM ' . $wpdb->posts ); | ||
} | ||
|
||
function do_some_other_stuff() { | ||
|
||
echo 'Hello world'; | ||
echo 'Dlrow olleh'; | ||
} | ||
|
||
function display_message() { | ||
|
||
_e( 'Message', 'textdomain' ); | ||
func_to_ignore( 'yes' ); | ||
} | ||
|
||
class AClass { | ||
protected $ignored = 'parent'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.