Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Yaml] Add bin/lint for using the LintCommand#19916

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
chalasr wants to merge1 commit intosymfony:masterfromchalasr:yaml/lint

Conversation

@chalasr
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsn/a
LicenseMIT
Doc PRn/a

In#19139 we moved thelint:yaml command from the FrameworkBundle to the Yaml component.
The usage did not change in the framework, the old command became a child of the Yaml one.

But now, using this command in the standalone Yaml requires to create an application. Here I propose to provide the application as an executable, so that the command is really usable directly when installing the yaml+console components as dependencies.

I may be wrong when I think it's worth it but to me, moving the command to the yaml component doesn't fully make sense if it cannot be used directly outside of the full stack framework.

@fabpot
Copy link
Member

I think I'm slightly 👎 on adding a script here. This is a component, so it gives you building blocks that you can assemble the way you want. What others think? ping @symfony/deciders

@chalasr
Copy link
MemberAuthor

I think you're right, adding such example to the documentation should be enough for the use case.

@fabpot
Copy link
Member

@chalasr Can you submit a doc PR then? That sounds indeed very useful to have this in the docs.

@chalasr
Copy link
MemberAuthor

@chalasrchalasr deleted the yaml/lint branchSeptember 14, 2016 23:11
xabbuh added a commit to symfony/symfony-docs that referenced this pull requestNov 28, 2016
…luz)This PR was submitted for the master branch but it was merged into the 3.2 branch instead (closes#6963).Discussion----------[Yaml] Add lint:yaml command usageThis documentssymfony/symfony#19139 (merged on 3.2) andclosessymfony/symfony#19916.Commits-------ed4cb40 Remove an unneeded code directive44b4ad0 Use `terminal` instead of `bash` for console code78075c1 Yaml] Add lint:yaml command usage
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@chalasr@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp