Commit graph

73 commits

Author SHA1 Message Date
6d7f8cff6a
chore: bump version 2022-01-23 17:27:44 -06:00
Roy Verrips
a84cdd8917 Remove phpstan from dependancies - want to keep this compatible with php 7.0 as per github build steps 2022-01-23 17:26:15 -06:00
Roy Verrips
7cebbfc06a Refactors to satisfy phpstan level 8 2022-01-23 17:26:15 -06:00
Roy Verrips
6e973db521 Add phpstan with config set to max 2022-01-23 17:26:15 -06:00
Roy Verrips
63a52c853b PHP 8.1: Implicit incompatible float to int conversion is deprecated
In PHP 8.1 floats are not implicitly converted to integers as before. 
The array_slice on line 139 requires an integer as the third parameter (the $count variable) so added line 117 to do the conversion of $count.
2022-01-23 17:26:15 -06:00
c9e2957c23 feat: ensure passed tags are strings
Newer versions of PHP raise a warning if you attempt to use array syntax
against non-strings / non-arrays. Added sanity check to ensure we're
working with a string, otherwise skip it.

Also added in PHP 8.1 to the testing suite and bumped the copyright.

Bumped version to 2.0 since as the change in expected output is a
breaking change.
2022-01-04 22:01:25 -06:00
peter279k
ae53465dad Improvements about namespace and PHPUnit version 2020-12-29 16:23:21 -06:00
732be48504 test: update assertion syntax
Tweaked the assertion syntax based on some upcoming changes to PHPUnit.
2020-10-12 18:01:46 -05:00
Umair Khan
007b7a211e Fix #7 Change visibility of $words
The PHPDoc block of `$words` say that the visibility / access of `$words` is private but its `public` in php code.
https://github.com/joshtronic/php-loremipsum/blob/master/src/LoremIpsum.php#L37-L40
2020-10-02 10:50:21 -05:00
f0ec43a045 ci: switch to github actions
Dropped Travis CI and Coveralls for GitHub Actions and CodeCov.
2020-06-01 22:25:24 -05:00
73e356956c
docs: update funding 2020-03-02 20:53:03 -06:00
cdb2e05cf4 chore(ci): test against PHP 7.4
* Updated to test again PHP 7.4 and to use that for coverage reporting.
* Added PHP nightly builds as an allowable failure.
* Added a git ignore as well as a `phpunit` configuration.
* Updated the tests and CI configuration to better handle the juggling of PHP and `phpunit` versions.
* Updated the coveralls dependency to be the latest and greatest instead of the deprecated package.
* Tweaked the README, updated the LICENSE years and bumped this package's version.
* Dropped Patreon link in favor of using Github Sponsors.
2020-01-09 21:49:13 -06:00
e41f4f7630
PHP 7.3 and more
* Added CI for PHP 7.3
* Dropped CI for HHVM (was running into too many issues out of no where)
* Reworked CI distros where I could
* Bumped copyright year
* Cleaned up the README, fixed spacing, dumped some of the wordiness
2019-01-03 00:21:50 -06:00
24b768a630
Merge pull request #1 from joshtronic/development
Vocab tweaks, 7.2 and HHVM testing, cleanup
2018-01-08 23:57:45 -06:00
e6668afb5a
Updated email address 2018-01-08 23:43:09 -06:00
5fa8d5b300
Made some adjustments to the word list 2018-01-08 23:38:06 -06:00
a82b10394d
Bumped version, small bit of cleanup 2018-01-07 23:53:45 -06:00
fc7ce83cbc
Let's try to get that path right 2018-01-07 23:46:32 -06:00
dd120b7832
Cleaned up env stuff
Was triggering a few extra builds and was kinda borked
2018-01-07 23:39:20 -06:00
551a2d790d
Let's try to install it directly 2018-01-07 23:31:46 -06:00
1f016c6b4b
Try composer install phpunit 2018-01-07 23:13:00 -06:00
3d4ceeb6fd
Do that didn't help 2018-01-07 22:41:41 -06:00
c6b8669c2c
Trying to fix HHVM errors
Also some code cleanup
2018-01-07 22:36:46 -06:00
9cbee4918f
Bumped years 2018-01-07 22:36:27 -06:00
ffbdd892a3
Tell curl to follow 302 2018-01-07 22:16:46 -06:00
a7bf9d29c0
Simplified sanity check, report version for debugging 2018-01-07 22:08:59 -06:00
1943a9b79f
How about this? 2018-01-07 21:42:37 -06:00
5ed7322647
Whoops, fixed syntax 2018-01-07 21:35:12 -06:00
30f193b036
Install a different phpunit on HHVM 2018-01-07 21:26:18 -06:00
8d0bd22b1b
Added PHP 7.2 and HHVM
7.2 is out and the README still says HHVM, figure should be testing against it.
2018-01-07 21:02:24 -06:00
333323c9b3
Bumped years 2018-01-07 20:58:33 -06:00
e033baaa79
Bump version number 2017-05-28 18:30:23 -05:00
62835bea13
Clean up debug stuff 2017-05-28 17:05:14 -05:00
1bd9b03dda
Tweakin' 2017-05-28 17:02:08 -05:00
c4f6f06000
Debugging path 2017-05-28 16:56:13 -05:00
a6a4017906
Dropped version report,debugging coveralls 2017-05-28 16:53:19 -05:00
5352b2d7ff
Meh, dropping HHVM tests
Just too much wrong with travis-ci's implementation and versions
2017-05-28 16:42:28 -05:00
010f86775a
Maybe run them all on trusty 2017-05-28 16:33:22 -05:00
2e3b28d12d
Fix hhvm versions 2017-05-28 16:26:39 -05:00
3454bd7488
Not going to worry about nightlies 2017-05-28 16:23:23 -05:00
02bae95170
Let's try a polyfill 2017-05-28 16:16:50 -05:00
c270610543
Ok, that made it worse 2017-05-28 16:14:49 -05:00
31f5869ed9
Add phpunit autoloader 2017-05-28 16:09:34 -05:00
6e8495f056
Force precise for 5.3, dump phpunit version 2017-05-28 16:00:54 -05:00
19be9e5dcd
Reworking languages 2017-05-28 12:49:36 -05:00
1a73da34f4
Drop HHVM from allowed failures 2017-05-28 12:25:42 -05:00
283a730230
Expand to test on 7.1 and nightly builds
HHVM and Nightly builds are allowed failures
2017-05-28 12:21:59 -05:00
57f38f3193
Fixed typo 2017-05-28 12:12:13 -05:00
Josh Sherman
5ad1e4e9f7 Updated badges 2016-06-08 22:04:41 -05:00
Josh Sherman
cf41dcfdad Downgraded coveralls for PHP <5.5 support 2016-06-08 21:51:39 -05:00