-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 313e8d4
Showing
7 changed files
with
1,681 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea/ | ||
coverage.xml | ||
vendor/ |
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,36 @@ | ||
# Config file for https://travis-ci.org/ | ||
|
||
language: php | ||
|
||
# Define the php versions against we want to test our code | ||
php: | ||
- 7.1 | ||
- 7.2 | ||
|
||
# Note: Code coverage requires php-xDebug extension enabled on CI server | ||
|
||
install: | ||
- travis_retry composer install --no-interaction --no-suggest | ||
|
||
# Testing the app (see phpunit.xml) for configs, generating Code Coverage report | ||
script: | ||
- composer test -- --coverage-clover=coverage.xml | ||
|
||
#after_script: | ||
|
||
after_success: | ||
# Submit coverage report to https://codecov.io | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
#after_failure: | ||
|
||
# Monitor only these branches | ||
branches: | ||
only: | ||
- master | ||
- dev | ||
|
||
# You can delete the cache using travis-ci web interface | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache |
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,29 @@ | ||
{ | ||
"name": "andrewbreksa/mysql-escape-string-polyfill", | ||
"version": "1.0.0", | ||
"type": "library", | ||
"license": "MIT", | ||
"description": "A mysql_escape_string polyfill", | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"authors": [ | ||
{ | ||
"name": "Andrew Breksa", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "^7" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"./src/functions.php" | ||
] | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.0" | ||
}, | ||
"scripts": { | ||
"test": "phpunit" | ||
} | ||
} |
Oops, something went wrong.