bug #38548 [FrameworkBundle] Bugfixes in buildDir in the CacheClear command (Nyholm)
bug #38548 [FrameworkBundle] Bugfixes in buildDir in the CacheClear command (Nyholm)

This PR was squashed before being merged into the 5.x branch.

Discussion
----------

[FrameworkBundle] Bugfixes in buildDir in the CacheClear command

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38547
| License       | MIT
| Doc PR        | n/a

Making sure one can clear cache with and without a buildDir

Commits
-------

2cad6bbbc7 [FrameworkBundle] Bugfixes in buildDir in the CacheClear command

symfony/framework-bundle