Skip to content

Commit

Permalink
Merge pull request #14 from deligoez/feature/laravel-8-upgrade
Browse files Browse the repository at this point in the history
Feature/laravel 8 upgrade
  • Loading branch information
deligoez authored Oct 7, 2020
2 parents 6a2f10f + cd44f51 commit e46cb25
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 36 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
build
vendor
composer.lock
composer.lock
.phpunit.result.cache
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: php

php:
- 7.2
- 7.3
- 7.4

env:
matrix:
Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ All notable changes to `TCKimlikNo` will be documented in this file.

## [Unreleased]

-
## Version 2.0.0 - 2020-10-07

- Laravel 8 Support

## Version 1.5 - 2020-03-10

Expand Down
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@
"homepage": "https://github.com/deligoez/tckimlikno",
"keywords": ["laravel", "package", "validation", "tckimlikno", "mernis"],
"require": {
"php": "^7.2.5",
"illuminate/support": "~5.7|~5.8|^6.0|^7.0",
"fzaninotto/faker": "^1.9.1"
"php": "^7.3",
"illuminate/support": "^8.0",
"fzaninotto/faker": "^1.9"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"mockery/mockery": "^1.3.1",
"orchestra/testbench": "~3.5|~3.6|~3.7|~3.8|^4.0|^5.0",
"sempro/phpunit-pretty-print": "^1.2.1"
"phpunit/phpunit": "^9.4",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^6.0"
},
"autoload": {
"psr-4": {
Expand Down
44 changes: 18 additions & 26 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="TCKimlikNo Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<text outputFile="build/coverage.txt"/>
</report>
</coverage>
<testsuites>
<testsuite name="TCKimlikNo Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
</phpunit>
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ If you discover any security related issues, please email [email protected] instead
## Credits

- [Yunus Emre Deligöz][link-author]
- [Turan Karatuğ](https://github.com/tkaratug)
- [Faruk Can](https://github.com/frkcn)
- [Hakan Özdemir](https://github.com/hozdemir)
- [All Contributors][link-contributors]

## License
Expand Down

0 comments on commit e46cb25

Please sign in to comment.