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

Use Doctrine SQL formatter #1216

Merged
merged 1 commit into from
May 18, 2024
Merged

Use Doctrine SQL formatter #1216

merged 1 commit into from
May 18, 2024

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented May 18, 2024

To have SQL queries formatted add doctrine/sql-formatter dependency to your projects.

If you have added jdorn/sql-formatter dependency in the past, you can remove it, atk4/* projects no longer need it.

Example composer.json change:

     "require-dev": {
-        "jdorn/sql-formatter": "^1.2.17"
+        "doctrine/sql-formatter": "dev-1-5-php74 as 1.5.99"
     },
     "repositories": [
+        {
+            "type": "git",
+            "url": "https://github.com/atk4/doctrine-sql-formatter.git",
+            "name": "doctrine/sql-formatter"
+        }
     ]

@mvorisek mvorisek added the MAJOR label May 18, 2024
@mvorisek mvorisek marked this pull request as ready for review May 18, 2024 14:21
@mvorisek mvorisek merged commit da01b0b into develop May 18, 2024
31 checks passed
@mvorisek mvorisek deleted the sql_formatter branch May 18, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant