Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Updated dependencies #45

Merged
merged 1 commit into from
Oct 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ branches:
- /.*/

php:
- 7.1
- 7.2
- 7.3
- '7.2'
- '7.3'
- '7.4snapshot'

matrix:
allow_failures:
- php: '7.4snapshot'

before_install:
- phpenv config-rm xdebug.ini || return 0
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).

## [Unreleased]

#### Added

* [#43](https://github.com/acelaya/doctrine-enum-type/issues/43) Added PHP 7.4 to the build matrix.

#### Changed

* [#41](https://github.com/acelaya/doctrine-enum-type/issues/41) Updated infection to v0.14
* [#44](https://github.com/acelaya/doctrine-enum-type/issues/44) Updated to [shlinkio/php-coding-standard](https://github.com/shlinkio/php-coding-standard) v2.0.

#### Deprecated

* *Nothing*

#### Removed

* [#40](https://github.com/acelaya/doctrine-enum-type/issues/40) Dropped support for PHP 7.1

#### Fixed

* *Nothing*


## 2.2.3 - 2019-02-08

#### Added
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"enum"
],
"require": {
"php": "^7.1",
"php": "^7.2",
"doctrine/dbal": "^2.6",
"myclabs/php-enum": "^1.4"
},
"require-dev": {
"infection/infection": "^0.12.0",
"infection/infection": "^0.14.1",
"phpstan/phpstan": "^0.11.1",
"phpunit/phpunit": "^8.0 || ^7.0",
"shlinkio/php-coding-standard": "1.0.0"
"phpunit/phpunit": "^8.0",
"shlinkio/php-coding-standard": "~2.0.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ version: '3'
services:
doctrine_enum_type_php:
container_name: doctrine_enum_type_php
image: composer:1.8.3
image: composer:1.9.0
volumes:
- ./:/app
1 change: 1 addition & 0 deletions src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

namespace Acelaya\Doctrine\Exception;
Expand Down
1 change: 1 addition & 0 deletions src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

namespace Acelaya\Doctrine\Exception;
Expand Down
2 changes: 2 additions & 0 deletions src/Type/PhpEnumType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

namespace Acelaya\Doctrine\Type;
Expand All @@ -8,6 +9,7 @@
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\Type;
use MyCLabs\Enum\Enum;

use function implode;
use function is_string;
use function is_subclass_of;
Expand Down
1 change: 1 addition & 0 deletions test/Enum/Action.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

namespace Acelaya\Test\Doctrine\Enum;
Expand Down
1 change: 1 addition & 0 deletions test/Enum/Gender.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

namespace Acelaya\Test\Doctrine\Enum;
Expand Down
2 changes: 2 additions & 0 deletions test/Enum/WithCastingMethods.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?php

declare(strict_types=1);

namespace Acelaya\Test\Doctrine\Enum;

use MyCLabs\Enum\Enum;

use function str_replace;
use function strtolower;
use function strtoupper;
Expand Down
1 change: 1 addition & 0 deletions test/Enum/WithIntegerValues.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

namespace Acelaya\Test\Doctrine\Enum;
Expand Down
2 changes: 2 additions & 0 deletions test/Type/MyCustomEnumType.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

declare(strict_types=1);

namespace Acelaya\Test\Doctrine\Type;

use Acelaya\Doctrine\Type\PhpEnumType;
use Doctrine\DBAL\Platforms\AbstractPlatform;

use function call_user_func;
use function implode;
use function sprintf;
Expand Down
2 changes: 2 additions & 0 deletions test/Type/PhpEnumTypeTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

namespace Acelaya\Test\Doctrine\Type;
Expand All @@ -17,6 +18,7 @@
use Prophecy\Prophecy\ObjectProphecy;
use ReflectionProperty;
use stdClass;

use function implode;
use function sprintf;

Expand Down