Skip to content

Commit df09a24

Browse files
Fixed small bug with mysql_lpad where it would be null if given zeros… (#92)
* Fixed small bug with mysql_lpad where it would be null if given zeros in any argument value * Apply fixes from StyleCI (#93) Co-authored-by: Mark Horninger <[email protected]> * spacing * Updating composer and travis * composer upgrade * Made some small changes to accomodate coveralls upgrade and phpunit * Small change to support phpunit upgrade * fixed setup methods so they don't error out * Added mysql-rpad function with tests * Apply fixes from StyleCI (#94) Co-authored-by: Mark Horninger <[email protected]> Co-authored-by: Mark Horninger <[email protected]> Co-authored-by: Mark Horninger <[email protected]> Co-authored-by: Mark Horninger <[email protected]>
1 parent d3214f3 commit df09a24

File tree

15 files changed

+2731
-931
lines changed

15 files changed

+2731
-931
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
# PHPUnit
3535
/app/phpunit.xml
3636
/phpunit.xml
37+
.phpunit.result.cache
3738

3839
# Build data
3940
/build/

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: php
22

33
php:
4-
- 7.2
54
- 7.3
5+
- 7.4
6+
- 8.0
67
- nightly
78
matrix:
89
#Temporarily allow failures on PHP nightly while coveralls.io catches up.
@@ -16,7 +17,6 @@ install:
1617
- sudo apt-get install sqlite3
1718

1819
before_script:
19-
- composer require --dev php-coveralls/php-coveralls
2020
- composer install
2121

2222
after_script:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ In order to provide clutter it is preferable to create a separate Service Provid
8484
- [concat_ws(separator, string ...)](https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_concat-ws)
8585
- [format(number, decimals, locale = 'en_US')](https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_format)
8686
- [lpad(string, length, pad)](https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_lpad)
87+
- [rpad(string, length, pad)](https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_rpad)
8788
### Miscellaneous
8889
- [inet_ntoa(ipAddress)](https://dev.mysql.com/doc/refman/8.0/en/miscellaneous-functions.html#function_inet-ntoa)
8990
### Vectorface-Specific

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"type": "library",
55
"require": {
66
"vectorface/mysqlite": "^0.1.4",
7-
"illuminate/database": "^5.7 || ^6.0",
8-
"php": ">=7.2.0"
7+
"illuminate/database": "^7.0 || ^8.0",
8+
"php": ">=7.3.0"
99
},
1010
"require-dev": {
11-
"phpunit/phpunit": "^7.5",
11+
"phpunit/phpunit": "^9.5",
1212
"squizlabs/php_codesniffer": "^3.4",
1313
"phpmd/phpmd": "^2.6",
1414
"codedungeon/phpunit-result-printer": "dev-master",
15-
"phpunit/php-code-coverage": "^6.1@dev",
16-
"php-coveralls/php-coveralls": "2.1.x-dev"
15+
"phpunit/php-code-coverage": "^9.2",
16+
"php-coveralls/php-coveralls": "^2.4"
1717
},
1818
"suggest": {
1919
"symfony/intl": "If you just need the en locale",

0 commit comments

Comments
 (0)