Skip to content

Commit

Permalink
v1.0.19 Release
Browse files Browse the repository at this point in the history
- Updated PHPUnit to v11.2.
- Migrated all tests to PHPUnit v11.2.
- Test environment will now require PHP 8.3 or later while the rest of the library will still run under PHP 5.4 or later.
- Added Swedish language.
  • Loading branch information
Donatello-za committed Jun 26, 2024
1 parent e9e9c08 commit b8772fd
Show file tree
Hide file tree
Showing 14 changed files with 681 additions and 246 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Homestead.json
_ide_helper.php
composer.lock
composer.phar
.phpunit.result.cache
packages.txt

# Compiled source #
###################
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,14 @@ This particular package intends to include the following benefits over the origi
* Turkish/Türkçe (tr_TR)
* Persian/Farsi/فارسی (fa_IR)
* Dutch/Nederlands (nl_NL)
* Swedish/svenska (sv_SE)

> If your language is not listed here it can be added, please see the section
called **[How to add additional languages](#how-to-add-additional-languages)** at the bottom of the page.

## Version

v1.0.18
v1.0.19

## Special Thanks

Expand Down Expand Up @@ -541,6 +542,8 @@ site: [stopwords_en_US](./console/stopwords_en_US.txt)

## To run tests

Unit testing is performed using PHPUnit v11.2 running on PHP v8.3.0+.

`./vendor/bin/phpunit tests`

## License
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"ext-mbstring": "*"
},
"require-dev": {
"php": ">=5.5.0",
"phpunit/phpunit": "~4.0|~5.0"
"php": ">8.3.0",
"phpunit/phpunit": "^11.2"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions lang/sv_SE.pattern
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/\bövre\b|\böverst\b|\bövermorgon\b|\böver\b|\bäven\b|\bär\b|\bännu\b|\bän\b|\båttonde\b|\båttionde\b|\båttio\b|\båtta\b|\båtminstone\b|\båt\b|\bvärre\b|\bvänstra\b|\bvänster\b|\bvårt\b|\bvåra\b|\bvår\b|\bvill\b|\bvilket\b|\bvilken\b|\bvilkas\b|\bvilka\b|\bviktigt\b|\bviktigast\b|\bviktigare\b|\bviktig\b|\bvidare\b|\bvid\b|\bvi\b|\bverkligen\b|\bvems\b|\bvem\b|\bvart\b|\bvarsågod\b|\bvars\b|\bvarken\b|\bvarje\b|\bvarit\b|\bvarifrån\b|\bvarför\b|\bvara\b|\bvar\b|\bvad\b|\bute\b|\butanför\b|\butan\b|\but\b|\bursäkt\b|\bur\b|\bupp\b|\bunder\b|\btvåhundra\b|\btvå\b|\btrettonde\b|\btretton\b|\btrettionde\b|\btrettio\b|\btredje\b|\btre\b|\btolv\b|\btolfte\b|\btjungo\b|\btjugotvå\b|\btjugotre\b|\btjugonde\b|\btjugoett\b|\btjugoen\b|\btjugo\b|\btionde\b|\btio\b|\btillsammans\b|\btills\b|\btill\b|\btidigt\b|\btidigast\b|\btidigare\b|\btidig\b|\btack\b|\bsämst\b|\bsämre\b|\bsäger\b|\bsäga\b|\bsådant\b|\bsådana\b|\bsådan\b|\bså\b|\bstörst\b|\bstörre\b|\bstort\b|\bstora\b|\bstor\b|\bsom\b|\bsnart\b|\bsmått\b|\bsmå\b|\bslutligen\b|\bskulle\b|\bskall\b|\bska\b|\bsjätte\b|\bsjälv\b|\bsjuttonde\b|\bsjutton\b|\bsjuttionde\b|\bsjuttio\b|\bsjunde\b|\bsju\b|\bsitta\b|\bsitt\b|\bsiste\b|\bsista\b|\bsist\b|\bsina\b|\bsin\b|\bsig\b|\bsextonde\b|\bsexton\b|\bsextionde\b|\bsextio\b|\bsex\b|\bsent\b|\bsenast\b|\bsenare\b|\bsedan\b|\bsamma\b|\bsagt\b|\bsade\b|\brätt\b|\bredan\b|\brakt\b|\bpå\b|\boss\b|\bom\b|\bolikt\b|\bolika\b|\boftast\b|\bofta\b|\bockså\b|\boch\b|\bnödvändigtvis\b|\bnödvändigt\b|\bnödvändiga\b|\bnödvändig\b|\bnästa\b|\bnär\b|\bnågra\b|\bnågot\b|\bnågonting\b|\bnågon\b|\bnummer\b|\bnu\b|\bnr\b|\bnoll\b|\bnog\b|\bnittonde\b|\bnitton\b|\bnittionde\b|\bnittio\b|\bnionde\b|\bnio\b|\bni\b|\bner\b|\bnej\b|\bnedre\b|\bnedersta\b|\bnederst\b|\bned\b|\bmöjligtvis\b|\bmöjligt\b|\bmöjligen\b|\bmöjlig\b|\bmåste\b|\bmånga\b|\bmycket\b|\bmot\b|\bmittemot\b|\bmitt\b|\bminst\b|\bmindre\b|\bmina\b|\bmin\b|\bmig\b|\bmest\b|\bmera\b|\bmer\b|\bmen\b|\bmellan\b|\bmed\b|\bman\b|\blättast\b|\blättare\b|\blätt\b|\blängst\b|\blängre\b|\blänge\b|\blångt\b|\blångsamt\b|\blångsammast\b|\blångsammare\b|\blångsam\b|\blitet\b|\bliten\b|\blite\b|\blilla\b|\blikställda\b|\blikställd\b|\blika\b|\bligger\b|\bligga\b|\blegat\b|\bkvar\b|\bkunnat\b|\bkunna\b|\bkunde\b|\bkr\b|\bkommit\b|\bkommer\b|\bkomma\b|\bkom\b|\bknappast\b|\bkanske\b|\bkan\b|\bjämfört\b|\bju\b|\bjag\b|\bja\b|\binuti\b|\binte\b|\binom\b|\binne\b|\binnan\b|\binget\b|\bingenting\b|\bingen\b|\binga\b|\binför\b|\bin\b|\bimorgon\b|\bigår\b|\bigen\b|\bidag\b|\bicke\b|\bibland\b|\bi(?!(-|'))\b|\bhögst\b|\bhögre\b|\bhöger\b|\bhög\b|\bhär\b|\bhur\b|\bhundraett\b|\bhundraen\b|\bhundra\b|\bhonom\b|\bhon\b|\bhit\b|\bhennes\b|\bhenne\b|\bhelt\b|\bhelst\b|\bhellre\b|\bheller\b|\bhar\b|\bhans\b|\bhan\b|\bhaft\b|\bhade\b|\bha\b|\bgöra\b|\bgör\b|\bgärna\b|\bgällt\b|\bgäller\b|\bgälla\b|\bgått\b|\bgår\b|\bgå\b|\bgott\b|\bgodast\b|\bgodare\b|\bgoda\b|\bgod\b|\bgjort\b|\bgjorde\b|\bgick\b|\bgenom\b|\bgenast\b|\bförsta\b|\bförra\b|\bförlåt\b|\bföre\b|\bför\b|\bföljande\b|\bfått\b|\bfår\b|\bfå\b|\bfyrtionde\b|\bfyrtio\b|\bfyra\b|\bfrån\b|\bframför\b|\bfram\b|\bflesta\b|\bflera\b|\bfler\b|\bfjärde\b|\bfjortonde\b|\bfjorton\b|\bfinns\b|\bfinnas\b|\bfin\b|\bfick\b|\bfemtonde\b|\bfemton\b|\bfemtionde\b|\bfemtio\b|\bfemte\b|\bfem\b|\bfanns\b|\bettusen\b|\bett\b|\bert\b|\bera\b|\ber\b|\benligt\b|\benkla\b|\benkelt\b|\benkel\b|\ben\b|\belva\b|\beller\b|\belfte\b|\bej\b|\beftersom\b|\befter\b|\bdärför\b|\bdär\b|\bdå\b|\bdu\b|\bdock\b|\bditt\b|\bdit\b|\bdina\b|\bdin\b|\bdig\b|\bdetta\b|\bdet\b|\bdessa\b|\bdess\b|\bderas\b|\bdenna\b|\bden\b|\bdem\b|\bdelen\b|\bdel\b|\bde\b|\bdagen\b|\bdagarna\b|\bdagar\b|\bdag\b|\bbättre\b|\bbäst\b|\bbådas\b|\bbåda\b|\bbra\b|\bborta\b|\bbort\b|\bblivit\b|\bblir\b|\bbli\b|\bblev\b|\bbland\b|\bbeslutit\b|\bbeslutat\b|\bbeslut\b|\bbehövt\b|\bbehövde\b|\bbehövas\b|\bbehöva\b|\bbara\b|\bbakom\b|\bav\b|\batt\b|\bartonn\b|\bartonde\b|\bannat\b|\bannan\b|\bandras\b|\bandra\b|\balltså\b|\balltid\b|\ballt\b|\ballas\b|\balla\b|\baldrig\b|\badjö\b|\badertonde\b|\baderton\b/i
Loading

0 comments on commit b8772fd

Please sign in to comment.