Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 23 additions & 0 deletions carthage-software/mago/0.24/mago.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
php_version = "8.2"

[source]
paths = [
"src/",
"config/",
"bin/",
# "tests/",
# "importmap.php",
# "migrations/",
]
includes = ["vendor"]
excludes = []

# See https://docs.rs/mago-formatter/latest/mago_formatter/settings/struct.FormatSettings.html
[format]
print_width = 120
tab_width = 4
use_tabs = false
Comment on lines +16 to +19
Copy link
Contributor

Choose a reason for hiding this comment

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

Those are indeed the defaults, mago init generates this just to make it obvious where formatting settings go, it could be removed, or commented out with a link to the formatter docs? ref: https://docs.rs/mago-formatter/latest/mago_formatter/settings/struct.FormatSettings.html


[linter]
default_plugins = true
plugins = ["symfony", "php-unit"]
5 changes: 5 additions & 0 deletions carthage-software/mago/0.24/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"mago.toml": "mago.toml"
}
}
10 changes: 10 additions & 0 deletions carthage-software/mago/0.24/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> What's next? </>
<bg=blue;fg=white> </>

* <fg=blue>Review</> your <comment>mago.toml</> file:
1. Set your exact <comment>php_version</>
2. Update your <comment>source.paths</> as needed;
3. (Optional) Enable the <comment>linter</> as well.

* <fg=blue>Read</> the full the documentation at <comment>https://mago.carthage.software/#/getting-started/configuration</>
Loading