10000 GitHub - tarlepp/symfony-console-bug
[go: up one dir, main page]

Skip to content

tarlepp/symfony-console-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This repository contains example for symfony/symfony#40634 bug

How to install?

Clone this repository and run composer install

How to see actual bug?

After installation just run php application.php table-bug, you should see that wrapped text causes result like;

da_wunder@wunder-VirtualBox:~/PhpstormProjects/symfony-console-bug$ php application.php table-bug
┌─────┬─────┬────────────┬────────┐
│ h1  │ h2  │ h3         │ h4     │
├─────┼─────┼────────────┼────────┤
│ foo │ bar │ foobar     │ barfoo │
│     │     │ some text  │        │
│     │     │ long wrapp │        │
│     │     │ ed text  │        │
└─────┴─────┴────────────┴────────┘
jeeda_wunder@wunder-VirtualBox:~/PhpstormProjects/symfony-console-bug$

Then change "symfony/console": "5.2.6" to "symfony/console": "5.2.5" in composer.json file and run that command again, and then you should see result like;

da_wunder@wunder-VirtualBox:~/PhpstormProjects/symfony-console-bug$ php application.php table-bug
┌─────┬─────┬────────────┬────────┐
│ h1  │ h2  │ h3         │ h4     │
├─────┼─────┼────────────┼────────┤
│ foo │ bar │ foobar     │ barfoo │
│     │     │ some text  │        │
│     │     │ long wrapp │        │
│     │     │ ed text    │        │
└─────┴─────┴────────────┴────────┘
jeeda_wunder@wunder-VirtualBox:~/PhpstormProjects/symfony-console-bug$

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0