janschoenherr
janschoenherr
If data is null, this will crash otherwise.
The `mv` will break, if the target_dir contains an `&` character. Quoting the paths fixes the issue.
This error showed in our error log today: `PHP Warning: Attempt to read property "ID" on null in wp-content/plugins/commonsbooking/src/Wordpress/CustomPostType/Booking.php on line 248`
This can be run with `npx prettier . --check` or `npx prettier . --write` It will currently only check the `./src` folder.
**To reproduce:** ```less img { aspect-ratio: attr(width type()) / attr(height type()); } ``` **Current behavior:** An exception: "Could not parse call arguments or missing ')'" is thrown. **Expected behavior:** ```css...