Browse Source

[DEV] Add PsySH REPL

remotes/upstream/experimental
parent
commit
b355f0d590
Signed by: someonewithpc <hugo@hsal.es> GPG Key ID: 7D0C7EAFC9D835A0
5 changed files with 1046 additions and 912 deletions
  1. +2
    -1
      composer.json
  2. +1030
    -910
      composer.lock
  3. +1
    -0
      config/bundles.php
  4. +4
    -1
      docs/developer/src/debugging.md
  5. +9
    -0
      symfony.lock

+ 2
- 1
composer.json View File

@@ -64,7 +64,8 @@
"symfony/maker-bundle": "^1.14",
"symfony/phpunit-bridge": "^5.2",
"symfony/profiler-pack": "*",
"symfony/test-pack": "*"
"symfony/test-pack": "*",
"theofidry/psysh-bundle": "^4.4"
},
"config": {
"preferred-install": {


+ 1030
- 910
composer.lock
File diff suppressed because it is too large
View File


+ 1
- 0
config/bundles.php View File

@@ -17,4 +17,5 @@ return [
HtmlSanitizer\Bundle\HtmlSanitizerBundle::class => ['all' => true],
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true],
Fidry\PsyshBundle\PsyshBundle::class => ['dev' => true, 'test' => true],
];

+ 4
- 1
docs/developer/src/debugging.md View File

@@ -31,4 +31,7 @@ Debugging

Because we are using Symfony, we recall that a useful tool for debugging
is [Symfony's VarDumper component](https://symfony.com/doc/current/components/var_dumper.html),
as a more friendly alternative to PHP's `var_dump` and `print_r`.
as a more friendly alternative to PHP's `var_dump` and `print_r`.

There's also a [PsySH](https://psysh.org/) REPL that you can access
with `bin/console psysh` and experiment with direct calling of GNU social functions.

+ 9
- 0
symfony.lock View File

@@ -291,6 +291,9 @@
"psr/log": {
"version": "1.1.3"
},
"psy/psysh": {
"version": "v0.10.8"
},
"sebastian/cli-parser": {
"version": "1.0.1"
},
@@ -599,6 +602,9 @@
"symfony/polyfill-php80": {
"version": "v1.22.1"
},
"symfony/polyfill-php81": {
"version": "v1.23.0"
},
"symfony/process": {
"version": "v5.2.4"
},
@@ -775,6 +781,9 @@
"ref": "95b935177db9abb65356fe19e57fe5abd908b5b8"
}
},
"theofidry/psysh-bundle": {
"version": "4.4.0"
},
"theseer/tokenizer": {
"version": "1.2.0"
},


Loading…
Cancel
Save