PHPCSStandards / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
856 stars 53 forks source link

Autoloader: fix missing return value #479

Closed jrfnl closed 3 months ago

jrfnl commented 3 months ago

Description

An autoloader should always return a boolean value to indicate whether or not it has loaded a file. This allows for chaining autoloaders.

In most cases, the return statement in the autoloader already returned a boolean, this was the only exception.

Suggested changelog entry

N/A