Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mcmatters/fqn-checker


https://github.com/mcmatters/fqn-checker

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## PHP Fqn checker

Checks your php-code for the presence of un-imported functions and gives you information about where they are located.

### Installation

```bash
composer require mcmatters/fqn-checker
```

### Usage

```php
getNotImported());
print_r($checker->getImported());
```

Listing of **Wrong.php**

```php
[
'Acme' => [
'null' => [
13,
],
],
],
'functions' => [
'Acme' => [
'array_filter' => [
13,
],
],
],
]

[
'constants' => [],
'functions' = [
'Acme' => [
'ucfirst' => true,
],
],
]
```