Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types to Schema namespace #3565

Merged
merged 1 commit into from
May 29, 2019
Merged

Add types to Schema namespace #3565

merged 1 commit into from
May 29, 2019

Conversation

jwage
Copy link
Member

@jwage jwage commented May 28, 2019

Q A
Type improvement
BC Break yes

Summary

Improving types in Doctrine\DBAL\Schema.

@jwage jwage force-pushed the schema-types branch 2 times, most recently from 8449ce3 to dc2a3ec Compare May 28, 2019 23:37
Copy link
Member

@morozov morozov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the need to introduce array_values(), looks solid. I'll see if I can run some more consistency checks on the changes later.

lib/Doctrine/DBAL/Platforms/SqlitePlatform.php Outdated Show resolved Hide resolved
lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php Outdated Show resolved Hide resolved
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php Outdated Show resolved Hide resolved
lib/Doctrine/DBAL/Schema/Visitor/Graphviz.php Outdated Show resolved Hide resolved
lib/Doctrine/DBAL/Schema/TableDiff.php Outdated Show resolved Hide resolved
lib/Doctrine/DBAL/Schema/Sequence.php Outdated Show resolved Hide resolved
lib/Doctrine/DBAL/Schema/Sequence.php Outdated Show resolved Hide resolved
UPGRADE.md Outdated Show resolved Hide resolved
Copy link
Member

@morozov morozov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The recent changes look fine. We're almost there.

lib/Doctrine/DBAL/Schema/SchemaDiff.php Outdated Show resolved Hide resolved
UPGRADE.md Show resolved Hide resolved
Copy link
Member

@morozov morozov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👍 Size-wise, this is about 25% of the remaining type-related changes. In one shot!

@jwage
Copy link
Member Author

jwage commented May 29, 2019

Platforms has a bullseye on it now!

@jwage jwage merged commit 824f751 into doctrine:develop May 29, 2019
@jwage jwage deleted the schema-types branch May 29, 2019 23:30
@jwage jwage self-assigned this May 30, 2019
@jwage jwage added this to the 3.0.0 milestone May 30, 2019
morozov pushed a commit to morozov/dbal that referenced this pull request May 31, 2019
morozov pushed a commit to morozov/dbal that referenced this pull request May 31, 2019
morozov pushed a commit to morozov/dbal that referenced this pull request May 31, 2019
morozov pushed a commit to morozov/dbal that referenced this pull request May 31, 2019
morozov pushed a commit that referenced this pull request Jun 13, 2019
Add types to Schema namespace
morozov pushed a commit that referenced this pull request Jun 27, 2019
Add types to Schema namespace
morozov pushed a commit that referenced this pull request Jun 27, 2019
Add types to Schema namespace
morozov pushed a commit that referenced this pull request Jun 27, 2019
Add types to Schema namespace
morozov pushed a commit to morozov/dbal that referenced this pull request Aug 26, 2019
morozov pushed a commit to morozov/dbal that referenced this pull request Aug 26, 2019
morozov pushed a commit to morozov/dbal that referenced this pull request Aug 27, 2019
morozov pushed a commit that referenced this pull request Nov 2, 2019
Add types to Schema namespace
morozov added a commit to morozov/dbal that referenced this pull request Dec 31, 2019
1. `SqliteSchemaManager#_getPortableTableColumnList()` was mistakenly marked `@deprecated` instead of `#_getPortableTableIndexDefinition()` in doctrine#3565.
2. `OracleSchemaManager#_getPortableDatabaseDefinition()` was mistakenly marked `@deprecated` instead of `#_getPortableFunctionDefinition()` in doctrine#3565.
3. The deprecation message in the `OracleSchemaManager#createDatabase()` description is irrelevant as of doctrine#3565.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants