docs: 更新 AGENTS 配置 & 添加测试文件
parent
e053e03c7c
commit
70354300eb
|
|
@ -1,7 +1,7 @@
|
||||||
<!-- gitnexus:start -->
|
<!-- gitnexus:start -->
|
||||||
# GitNexus — Code Intelligence
|
# GitNexus — Code Intelligence
|
||||||
|
|
||||||
This project is indexed by GitNexus as **vr-shopxo-plugin** (26578 symbols, 57490 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
This project is indexed by GitNexus as **vr-shopxo-plugin** (26682 symbols, 57680 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||||
|
|
||||||
> If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
|
> If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!-- gitnexus:start -->
|
<!-- gitnexus:start -->
|
||||||
# GitNexus — Code Intelligence
|
# GitNexus — Code Intelligence
|
||||||
|
|
||||||
This project is indexed by GitNexus as **vr-shopxo-plugin** (26578 symbols, 57490 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
This project is indexed by GitNexus as **vr-shopxo-plugin** (26682 symbols, 57680 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||||
|
|
||||||
> If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
|
> If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
|
||||||
|
|
||||||
|
|
|
||||||
2543
ag-stop-probe.json
2543
ag-stop-probe.json
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* 测试 PHP 8.1.4 是否会产生 exit(header(...)) 废弃警告
|
||||||
|
*/
|
||||||
|
|
||||||
|
echo "PHP Version: " . phpversion() . "\n";
|
||||||
|
echo "Error Reporting: " . error_reporting() . "\n";
|
||||||
|
echo str_repeat("-", 50) . "\n\n";
|
||||||
|
|
||||||
|
// 测试 1: exit(false) - 应该产生警告
|
||||||
|
echo "Test 1: exit(false)\n";
|
||||||
|
@exit(false);
|
||||||
|
|
||||||
|
// 注意:exit() 会终止脚本,所以下面的代码不会执行
|
||||||
|
echo "This line should not be printed\n";
|
||||||
Loading…
Reference in New Issue