example/bootstrap.php

Summary

Maintainability
A
0 mins
Test Coverage

Argument 2 (newvalue) is 1 but \ini_set() takes string
Open

ini_set('display_errors', 1);
Severity: Minor
Found in example/bootstrap.php by phan

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 13 and the first side effect is on line 5.
Open

<?php
Severity: Minor
Found in example/bootstrap.php by phpcodesniffer

Expected 0 spaces after opening bracket; newline found
Open

            if (
Severity: Minor
Found in example/bootstrap.php by phpcodesniffer

There are no issues that match your filters.

Category
Status