Skip to content
Snippets Groups Projects

Issue #3328234: Improve test DX *and* confidence: assert VFS state

Compare and
17 files
+ 254
228
Compare changes
  • Side-by-side
  • Inline
Files
17
@@ -65,7 +65,7 @@ trait PathExclusionsTrait {
$project_root = $this->pathLocator->getProjectRoot();
foreach ($paths as $path) {
if (str_starts_with($path, '/') || str_starts_with($path, 'vfs:')) {
if (str_starts_with($path, '/')) {
if (!str_starts_with($path, $project_root)) {
throw new \LogicException("$path is not inside the project root: $project_root.");
}
Loading