horizom / var-dumper

A better alternative to print_r / var_dump
MIT License
7 stars 1 forks source link

Conflict with Symfony\var-dumper #1

Open alystair opened 2 years ago

alystair commented 2 years ago

Due to changed function naming from the original in this updated fork I'm getting the following error: PHP Fatal error: Cannot redeclare dump() (previously declared in vendor\symfony\var-dumper\Resources\functions\dump.php:18) in vendor\horizom\var-dumper\src\helpers.php on line 11

lambirou commented 2 years ago

Good ! Any suggestions for function naming are welcome.

lambirou commented 2 years ago

Personally I had trouble with the original functions r()and rt().

alystair commented 2 years ago

Perhaps dv / dvt?

lambirou commented 2 years ago

Why not dumper() / dumper_text() or debug() / debug_text() In order not to procrastinate too much, we will remember the choice you will make.

kBondarchuk commented 2 years ago

rt() was ok

compilekaiten commented 1 year ago

Is this still going to be changed?

alystair commented 1 year ago

Is this another abandoned fork? lol

Problem 1
    - codeception/codeception[5.0.8, ..., 5.0.11] require symfony/var-dumper >=4.4.24 < 7.0 -> satisfiable by symfony/var-dumper[v4.4.25, ..., v4.4.47, v5.0.0, ..., v5.4.28, v6.0.0, ..., v6.3.4].
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.3.4.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.3.2.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.2.10.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.0.19.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v5.4.28.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v5.4.23.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v5.3.3.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v4.4.47.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v4.4.26.
    - codeception/codeception[5.0.0, ..., 5.0.6] require phpunit/phpunit ^9.5 -> found phpunit/phpunit[9.5.0, ..., 9.6.13] but it conflicts with your root composer.json require (^10).
    - codeception/codeception 5.0.7 requires phpunit/phpunit ^9.5.20 -> found phpunit/phpunit[9.5.20, ..., 9.6.13] but it conflicts with your root composer.json require (^10).
    - symfony/var-dumper[v5.0.0, ..., v5.0.8] require php ^7.2.5 -> your php version (8.2.10) does not satisfy that requirement.
    - Root composer.json requires horizom/var-dumper ^3.1.3 -> satisfiable by horizom/var-dumper[3.1.3].
    - Root composer.json requires codeception/codeception ^5.0 -> satisfiable by codeception/codeception[5.0.0, ..., 5.0.11].
compilekaiten commented 1 year ago

Is this another abandoned fork? lol

Problem 1
    - codeception/codeception[5.0.8, ..., 5.0.11] require symfony/var-dumper >=4.4.24 < 7.0 -> satisfiable by symfony/var-dumper[v4.4.25, ..., v4.4.47, v5.0.0, ..., v5.4.28, v6.0.0, ..., v6.3.4].
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.3.4.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.3.2.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.2.10.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v6.0.19.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v5.4.28.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v5.4.23.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v5.3.3.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v4.4.47.
    - horizom/var-dumper 3.1.3 conflicts with symfony/var-dumper v4.4.26.
    - codeception/codeception[5.0.0, ..., 5.0.6] require phpunit/phpunit ^9.5 -> found phpunit/phpunit[9.5.0, ..., 9.6.13] but it conflicts with your root composer.json require (^10).
    - codeception/codeception 5.0.7 requires phpunit/phpunit ^9.5.20 -> found phpunit/phpunit[9.5.20, ..., 9.6.13] but it conflicts with your root composer.json require (^10).
    - symfony/var-dumper[v5.0.0, ..., v5.0.8] require php ^7.2.5 -> your php version (8.2.10) does not satisfy that requirement.
    - Root composer.json requires horizom/var-dumper ^3.1.3 -> satisfiable by horizom/var-dumper[3.1.3].
    - Root composer.json requires codeception/codeception ^5.0 -> satisfiable by codeception/codeception[5.0.0, ..., 5.0.11].

I hope not. I like this much more than symfony/var-dumper.

Maybe @lambirou can give us an update...