-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathphp.yaml
More file actions
58 lines (57 loc) · 2.16 KB
/
Copy pathphp.yaml
File metadata and controls
58 lines (57 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# enola configuration for a PHP project (plain PHP, Composer, or WordPress).
#
# Detection: The PHP extractor activates when a composer.json, a WordPress
# bootstrap file (wp-load.php / wp-settings.php / wp-config.php), or any
# .php source (within 3 directory levels) is present.
# Features: Classes, interfaces, traits, enums (and cases), functions, methods,
# class constants and properties (namespace-qualified "Ns\Class::member"
# naming; global symbols keep their bare name). Inheritance and trait-use
# (implements edges), a call graph (calls / instantiations), `use` import
# dependencies resolved into internal module-coupling edges, and per-
# function complexity.
# Outbound HTTP-client calls become client routes: Guzzle, the Laravel
# Http facade, Symfony HttpClient, cURL (CURLOPT_URL), and
# file_get_contents (relative paths only; absolute URLs skipped).
# Framework route DSLs become server routes:
# - WordPress: add_action / add_filter (with their callback),
# do_action / apply_filters, register_rest_route.
# - Laravel: Route::get/post/… , match / any, resource / apiResource
# (expanded), nested group prefixes, and ->name(...) — in routes/*.php.
# - Symfony: #[Route(...)] attributes / @Route annotations on
# controllers, plus YAML/XML config (config/routes.yaml, config/routes/).
repo: "."
ignore:
# VCS and tooling
- ".git/**"
- ".enola/**"
# Composer / package dependencies
- "vendor/**"
- "**/vendor/**"
- "node_modules/**"
- "**/node_modules/**"
# WordPress uploads and caches (data, not code)
- "wp-content/uploads/**"
- "wp-content/cache/**"
- "**/cache/**"
# Build / minified assets
- "**/*.min.js"
- "**/*.min.css"
- "build/**"
- "dist/**"
# Tests and fixtures (uncomment to exclude)
# - "tests/**"
# - "**/*Test.php"
# Documentation / config / data
- "**/*.md"
extractors:
- php
explainers:
- cycles
- layers
- crossrepo
- coverage
renderers:
- llm_context
output:
dir: ".enola"
max_context_tokens: 16000