You've forgot the closing `)` after `$pathPatterns`