Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e36c213
Add support for renaming columns via the change command.
Oct 7, 2021
564929c
Add tests.
Oct 7, 2021
4cc5d0f
Update TableOperation.php
Oct 12, 2021
6f896e1
Make recommended adjustments to building query string.
Oct 12, 2021
15a82fe
Update table operations for Change to operate on the new column.
Oct 12, 2021
e952704
make the changeColumn method more dev friendly by accepting a new col…
Oct 12, 2021
8d96cd8
Get tests to working state.
Oct 12, 2021
7881e02
Add proper reverse method for change.
Oct 12, 2021
c4d4c26
Update TableOperationTest.php
Oct 12, 2021
938d4ad
Add tests to test applying and rewinding changes.
Oct 15, 2021
5f8f565
Added proper integration test parts where we run the migrations on th…
Oct 15, 2021
a991b4e
Add PHP 8.1-8.4 support
devin-ai-integration[bot] Jul 28, 2025
eaa65bc
Fix deprecated GitHub Actions versions
devin-ai-integration[bot] Jul 28, 2025
46ee98f
Drop PHP 7.4 support, require PHP >=8.0 for dependency compatibility
devin-ai-integration[bot] Jul 28, 2025
68e3ecb
Implement before/after name concepts for ColumnOperation to fix reduc…
devin-ai-integration[bot] Jul 28, 2025
0e2019c
Update phpspec/prophecy to 1.22.0 for PHP 8.2-8.4 compatibility
devin-ai-integration[bot] Jul 28, 2025
67bbe03
Fix deprecated GitHub Actions versions
devin-ai-integration[bot] Jul 28, 2025
3ebbec9
Remove explicit upper PHP version
bensinclair Jul 28, 2025
10013a4
Update composer.lock after removing upper PHP version constraint
devin-ai-integration[bot] Jul 28, 2025
79f7f05
Fix PHP 8.0 compatibility by constraining doctrine/instantiator and s…
devin-ai-integration[bot] Jul 28, 2025
2d1a86c
Resolve merge conflicts: keep updated GitHub Actions workflow and int…
devin-ai-integration[bot] Jul 28, 2025
4200f2f
Update dependencies for PHP 8.3/8.4 compatibility
devin-ai-integration[bot] Jul 28, 2025
0abc14f
Fix PHPUnit compatibility issues for PHP 8.2
devin-ai-integration[bot] Jul 28, 2025
d0ce3c2
Fix column matching logic in TableOperation.apply() for proper reduction
devin-ai-integration[bot] Jul 29, 2025
370634a
Combine MODIFY and CHANGE conditions
bensinclair Jul 29, 2025
973264a
Update README.md
bensinclair Jul 29, 2025
0b56665
Fix compatibility issues with newer PHP versions
bensinclair Jul 29, 2025
1d3b305
Merge branch 'devin/1753744668-php-8-4-support' into enhance-change-c…
bensinclair Jul 29, 2025
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
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
php-versions: [ '7.4', '8.0' ]
php-versions: [ '8.0', '8.1', '8.2', '8.3', '8.4' ]
postgresql-versions: [ '12', '14' ]
name: PHP ${{ matrix.php-versions }} with postgreSQL ${{ matrix.postgresql-versions }}

Expand All @@ -34,7 +34,7 @@ jobs:
--health-retries 5

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Check Out Code

- name: Setup PHP
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand All @@ -73,7 +73,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
php-versions: [ '7.4', '8.0' ]
php-versions: [ '8.0', '8.1', '8.2', '8.3', '8.4' ]
mysql-versions: [ '5.7', '8.0' ]
name: PHP ${{ matrix.php-versions }} with MySQL ${{ matrix.mysql-versions }}

Expand All @@ -89,7 +89,7 @@ jobs:
options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Check Out Code

- name: Setup PHP
Expand All @@ -103,7 +103,7 @@ jobs:

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ $ composer require tithely/exo
## Documentation
- [Introduction](doc/01-introduction.md)
- [Usage](doc/02-usage.md)
- [Testing](doc/03-testing.md)
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
"type": "library",
"license": "MIT",
"require": {
"php": ">=7.4",
"php": ">=8.0",
"ext-pdo": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"symfony/yaml": "^5.0"
"symfony/yaml": "^5.0",
"phpspec/prophecy": "^1.22.0",
"doctrine/instantiator": "^1.5",
"symfony/deprecation-contracts": "^2.4"
},
"scripts":{
"test": "./vendor/bin/phpunit -c phpunit.xml"
Expand Down
Loading
Loading