Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use Doctrine SQL formatter#1216

Merged
mvorisek merged 1 commit intodevelopfrom
sql_formatter
May 18, 2024
Merged

Use Doctrine SQL formatter#1216
mvorisek merged 1 commit intodevelopfrom
sql_formatter

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
@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

Development

Successfully merging this pull request may close these issues.

1 participant

Comments