Skip to content

Commit

Permalink
Merge pull request #1 from qlimix/composer-v2
Browse files Browse the repository at this point in the history
update dependencies to composer v2
  • Loading branch information
frank-q committed Nov 1, 2020
2 parents b0e276f + 2ce008d commit e633466
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: php

php:
- 7.2
- 7.3
- 7.4
- nightly

matrix:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## 2.0.0 - 13-04-2020

Changes:
- updating to PHP 7.4
- Using property type hinting
- Updating to code standard to be compatible with composer 2.0

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": ">=7.2"
"php": ">=7.4"
},
"autoload": {
"psr-4": {
Expand All @@ -30,6 +30,6 @@
"sort-packages": true
},
"require-dev": {
"qlimix/code-standard": "^1.0"
"qlimix/code-standard": "^2.0"
}
}
22 changes: 22 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.2/phpunit.xsd"
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Test">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
</phpunit>
3 changes: 1 addition & 2 deletions src/SleepTimeLapse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

final class SleepTimeLapse implements TimeLapseInterface
{
/** @var int */
private $time;
private int $time;

public function __construct(int $time)
{
Expand Down
3 changes: 1 addition & 2 deletions src/USleepTimeLapse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

final class USleepTimeLapse implements TimeLapseInterface
{
/** @var int */
private $time;
private int $time;

public function __construct(int $time)
{
Expand Down

0 comments on commit e633466

Please sign in to comment.