Skip to content

Commit

Permalink
Remove Doctrine Functionality from Library
Browse files Browse the repository at this point in the history
  • Loading branch information
zanbaldwin committed Jun 7, 2024
1 parent 9f016f1 commit c2b6a58
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 806 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ This library has extensive test coverage using PHPUnit on PHP versions: `5.6`,
Static analysis is performed with PHPStan at `max` level on PHP `8.3`, using
core, bleeding edge, and deprecation rules.

The Doctrine features included in this library are compatible with Doctrine DBAL
`^2.3 || ^3.0`. This is **not** enforced via Composer (in case you want to use
this library in a project that uses Doctrine DBAL `4+` without using the
Doctrine features this library provides).
> The Doctrine features for this library have been split off into their own
> package, [`darsyn/ip-doctrine`](https://packagist.org/packages/darsyn/ip-doctrine).
## Brief Example

Expand Down
7 changes: 1 addition & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,13 @@
}
},
"require-dev": {
"ext-pdo": "*",
"doctrine/dbal": "^2.3 || ^3",
"phpunit/phpunit": "*"
},
"conflict": {
"doctrine/dbal": ">=4"
},
"prefer-stable": true,
"config": {
"sort-packages": true
},
"suggest": {
"doctrine/dbal": "to use IP as a column type"
"darsyn/ip-doctrine": "to use IP as a Doctrine column type"
}
}
5 changes: 5 additions & 0 deletions docs/08-doctrine.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Doctrine Support

> This documentation is for the package `darsyn/ip-doctrine`, which was split
> into a separate package in v5+ so that PHP version requirements could be
> updated independently. Require that as a Composer dependency to use this
> functionality.
This library can be used to support IP address as column types with Doctrine
DBAL versions `^2.3 || ^3.0`.

Expand Down
151 changes: 0 additions & 151 deletions src/Doctrine/AbstractType.php

This file was deleted.

29 changes: 0 additions & 29 deletions src/Doctrine/IPv4Type.php

This file was deleted.

27 changes: 0 additions & 27 deletions src/Doctrine/IPv6Type.php

This file was deleted.

27 changes: 0 additions & 27 deletions src/Doctrine/MultiType.php

This file was deleted.

Loading

0 comments on commit c2b6a58

Please sign in to comment.