Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcmatters/fqn-checker
https://github.com/mcmatters/fqn-checker
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcmatters/fqn-checker
- Owner: MCMatters
- Created: 2018-03-09T09:58:36.000Z (almost 7 years ago)
- Default Branch: 2.0
- Last Pushed: 2024-08-17T16:17:28.000Z (5 months ago)
- Last Synced: 2024-10-27T01:42:01.516Z (3 months ago)
- Language: PHP
- Size: 23.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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,
],
],
]
```