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

[Console] Use UTF-8 bullet for listing#26698

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

Merged
fabpot merged 1 commit intosymfony:masterfromro0NL:cli-list-bullet
Mar 30, 2018
Merged

[Console] Use UTF-8 bullet for listing#26698

fabpot merged 1 commit intosymfony:masterfromro0NL:cli-list-bullet
Mar 30, 2018

Conversation

@ro0NL
Copy link
Contributor

@ro0NLro0NL commentedMar 28, 2018
edited
Loading

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#...
LicenseMIT
Doc PRsymfony/symfony-docs#...

Inspired by the new table style, this updates the listing style.

before

image

after

image

@javiereguiluz
Copy link
Member

Be careful. That's one of the multiple characters that don't work on Windows. Seehttps://github.com/sindresorhus/figures

ro0NL and ostrolucky reacted with thumbs up emoji

@ro0NL
Copy link
ContributorAuthor

Now ready :)

privatefunctiongetFixtureFilename($name)
{
$format =$this->getFormat();
$file = ($baseDir =__DIR__.'/../../Fixtures/Descriptor').'/'.$name.'.'.$format;
Copy link
Member

Choose a reason for hiding this comment

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

can you move the$baseDir assignement to its own statement ? Nested assignments are not that readable.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Done.

@ogizanagi
Copy link
Contributor

ogizanagi commentedMar 28, 2018
edited
Loading

Duplicating expected outputs for Windows may be unwanted. Can't we use matchesFormat or str_replace bullets instead (and create a dedicated test case for this behavior)?

@ro0NL
Copy link
ContributorAuthor

the files are globbed.. i found this the easiest, To maintain and be future proof. Not aiming for in-test formatting hassle / excluding these fixtures into separate tests.

@fabpot
Copy link
Member

Thank you@ro0NL.

ro0NL reacted with thumbs up emoji

@fabpotfabpot closed thisMar 30, 2018
@fabpotfabpot merged commitd1e4acb intosymfony:masterMar 30, 2018
fabpot added a commit that referenced this pull requestMar 30, 2018
This PR was squashed before being merged into the 4.1-dev branch (closes#26698).Discussion----------[Console] Use UTF-8 bullet for listing| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->Inspired by the new table style, this updates the listing style.before![image](https://user-images.githubusercontent.com/1047696/38031214-019c79f4-329b-11e8-8352-9453c7ccc129.png)after![image](https://user-images.githubusercontent.com/1047696/38031186-ed8b1e66-329a-11e8-8538-2256a0e24a42.png)Commits-------d1e4acb [Console] Use UTF-8 bullet for listing
@ro0NLro0NL deleted the cli-list-bullet branchMarch 30, 2018 09:08
@fabpot
Copy link
Member

reverted, see discussion on#26718

fabpot added a commit that referenced this pull requestApr 1, 2018
@fabpotfabpot mentioned this pull requestMay 7, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@fabpotfabpotfabpot approved these changes

@chalasrchalasrchalasr approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.1

Development

Successfully merging this pull request may close these issues.

8 participants

@ro0NL@javiereguiluz@ogizanagi@fabpot@stof@chalasr@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp