-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed dependency on tale-dev-tool - Added property typing
- Loading branch information
1 parent
08d6f36
commit 62484e7
Showing
9 changed files
with
53 additions
and
34 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 |
---|---|---|
@@ -1,21 +1,12 @@ | ||
|
||
language: php | ||
|
||
git: | ||
depth: 5 | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
|
||
- 7.4 | ||
install: | ||
- travis_retry composer clear-cache | ||
- travis_retry composer self-update | ||
- travis_retry composer install | ||
|
||
script: | ||
- vendor/bin/tale-dev check --report --coverage-php-version=7.2 | ||
|
||
addons: | ||
code_climate: | ||
repo_token: b046f38e1a113e8ea7ec3e3173db1754b87b7858599f16f7f8d0f3f7a0ea6a3c | ||
- composer lint | ||
- composer test |
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 |
---|---|---|
|
@@ -5,14 +5,20 @@ | |
"description": "A PSR-14 implementation", | ||
"license": "MIT", | ||
"homepage": "https://talesoft.codes", | ||
"scripts": { | ||
"test": "phpunit", | ||
"test:coverage-html": "phpunit --coverage-html=coverage", | ||
"lint": "phpcs", | ||
"lint:fix": "phpcbf" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Torben Köhn", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.1.0", | ||
"php": ">=7.4.0", | ||
"psr/http-message": "^1.0", | ||
"psr/http-factory": "^1.0", | ||
"psr/event-dispatcher": "^1.0" | ||
|
@@ -25,6 +31,7 @@ | |
"files": ["src/functions.php"] | ||
}, | ||
"require-dev": { | ||
"talesoft/tale-dev-tool": "dev-master" | ||
"phpunit/phpunit": "^8.4", | ||
"squizlabs/php_codesniffer": "^3.5" | ||
} | ||
} |
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,6 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="PSR-2"> | ||
<rule ref="PSR2"/> | ||
<file>./src</file> | ||
<file>./tests</file> | ||
</ruleset> |
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,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.4/phpunit.xsd" | ||
colors="true" | ||
bootstrap="./vendor/autoload.php" | ||
forceCoversAnnotation="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
verbose="true"> | ||
<testsuites> | ||
<testsuite name="Talesoft - Tale Event"> | ||
<directory>./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">./src</directory> | ||
</whitelist> | ||
</filter> | ||
</phpunit> |
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
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
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
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
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