```php
$skip = $skip || $beforeHooks->hasExceptions()
```