$ErrorActionPreference = 'Stop'

$root = Split-Path -Parent $PSScriptRoot
$php = Join-Path $root 'runtime\php\php.exe'

& $php -l (Join-Path $root 'src\CiotAPI.php')
& $php -l (Join-Path $root 'public\index.php')
& $php -l (Join-Path $root 'examples\emitir_ciot.php')
& $php -l (Join-Path $root 'examples\emitir_ciot_mdfe.php')
& $php -l (Join-Path $root 'config\ciot.php')
& $php -l (Join-Path $root 'mock-provider\public\index.php')
