From 217a638314cd556303d7d13c5841934657778ae5 Mon Sep 17 00:00:00 2001 From: rango Date: Fri, 8 May 2026 14:33:31 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E6=B7=BB=E5=8A=A0=20PHP=20?= =?UTF-8?q?=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95=E7=BC=93=E5=AD=98=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=88=B0=E5=BF=BD=E7=95=A5=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 /.phpunit.cache 到 .gitignore 文件 - 防止 PHP 单元测试缓存文件被提交到版本控制 --- .gitignore | 1 + .phpunit.cache/test-results | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 .phpunit.cache/test-results diff --git a/.gitignore b/.gitignore index af8a249e..975d041b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ /projects/laravel /projects/tmp /.php-cs-fixer.cache +/.phpunit.cache *.o *.dll *.exe diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results deleted file mode 100644 index f80216c2..00000000 --- a/.phpunit.cache/test-results +++ /dev/null @@ -1 +0,0 @@ -{"version":2,"defects":{"AssignTest::testReAssign":8,"AssignTest::testAssignClass":8,"ClassTest::testReAssignThis":8,"ClassTest::testAccessProtectedProperty":7,"DuplicateTest::testStaticVar":8,"DuplicateTest::testFunction":8,"DuplicateTest::testClass":8,"FunctionTest::testReturnRef":8,"UndefineTest::testUnset":8,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxIncludeFlags":7,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxLibraryPathFlags":7,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxRpathOptions":7,"PhpAot\\Tests\\CompilerBaseAdapterTest::testCompilerBaseInitializesNewArchitecture":8,"PhpAot\\Tests\\CompilerBaseAdapterTest::testParseIncludesUsesNewArchitecture":8,"PhpAot\\Tests\\CompilerBaseAdapterTest::testParseLdflagsUsesNewArchitecture":8,"PhpAot\\Tests\\CompilerBaseAdapterTest::testParseLibsUsesNewArchitecture":8,"PhpAot\\Tests\\CompilerBaseAdapterTest::testPlatformDetectionConsistency":8,"PhpAot\\Tests\\CompilerBaseAdapterTest::testBackwardCompatibility":8,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcFullCompileOptions":7},"times":{"AssignTest::testReAssign":0.052,"AssignTest::testAssignClass":0.003,"ClassTest::testReAssignThis":0.007,"ClassTest::testAccessProtectedProperty":0.013,"DuplicateTest::testStaticVar":0.003,"DuplicateTest::testFunction":0.002,"DuplicateTest::testClass":0.002,"FunctionTest::testReturnRef":0.003,"UndefineTest::testUnset":0.007,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsBasic":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsIncludeFlags":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsLibraryPathFlags":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsLibraryFlags":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsNormalizePath":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsJoinPath":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsSubsystemOptions":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsCrtConfig":0,"PhpAot\\Tests\\Platform\\PlatformTest::testWindowsDebugOptions":0,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxBasic":0,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxIncludeFlags":0,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxLibraryPathFlags":0,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxLibraryFlags":0,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxRpathOptions":0,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxPicFlag":0,"PhpAot\\Tests\\Platform\\PlatformTest::testLinuxSharedLinkFlag":0,"PhpAot\\Tests\\Platform\\PlatformTest::testMacosBasic":0,"PhpAot\\Tests\\Platform\\PlatformTest::testMacosInstallName":0,"PhpAot\\Tests\\Platform\\PlatformTest::testMacosSharedLinkFlag":0,"PhpAot\\Tests\\Platform\\PlatformTest::testEmptyArrays":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcBasic":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcCompileFile":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcLinkObjects":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcBuildCompileCommand":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcBuildLinkCommand":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcFullCompileOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcDebugCompileOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testMsvcFullLinkOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testGccBasic":0,"PhpAot\\Tests\\Backend\\BackendTest::testGccCompileFile":0,"PhpAot\\Tests\\Backend\\BackendTest::testGccFullCompileOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testGccDebugCompileOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testGccFullLinkOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testClangBasic":0,"PhpAot\\Tests\\Backend\\BackendTest::testClangWindowsLinker":0,"PhpAot\\Tests\\Backend\\BackendTest::testClangUnixCompileOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testClangWindowsCompileOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testClangWindowsLinkOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testClangUnixLinkOptions":0,"PhpAot\\Tests\\Backend\\BackendTest::testOptimizationLevels":0,"PhpAot\\Tests\\Backend\\BackendTest::testDefaultValues":0,"PhpAot\\Tests\\FactoryTest::testPlatformFactoryAutoDetect":0,"PhpAot\\Tests\\FactoryTest::testPlatformFactoryPlatformChecks":0,"PhpAot\\Tests\\FactoryTest::testPlatformFactoryGetName":0,"PhpAot\\Tests\\FactoryTest::testCompilerFactoryAutoCreate":0,"PhpAot\\Tests\\FactoryTest::testCompilerFactoryCreateMsvc":0,"PhpAot\\Tests\\FactoryTest::testCompilerFactoryCreateGcc":0,"PhpAot\\Tests\\FactoryTest::testCompilerFactoryCreateClang":0,"PhpAot\\Tests\\FactoryTest::testCompilerFactoryUnsupportedCompiler":0,"PhpAot\\Tests\\FactoryTest::testCompilerFactoryAutoDetect":0,"PhpAot\\Tests\\FactoryTest::testCompilerFactoryAutoDetectWithCompiler":0,"PhpAot\\Tests\\FactoryTest::testPlatformCompilerMatchWindowsMsvc":0,"PhpAot\\Tests\\FactoryTest::testPlatformCompilerMatchLinuxGcc":0,"PhpAot\\Tests\\FactoryTest::testPlatformCompilerMatchMacosClang":0,"PhpAot\\Tests\\FactoryTest::testCompilerGetPlatform":0,"PhpAot\\Tests\\CompilerBaseAdapterTest::testCompilerBaseInitializesNewArchitecture":0.003,"PhpAot\\Tests\\CompilerBaseAdapterTest::testParseIncludesUsesNewArchitecture":0.004,"PhpAot\\Tests\\CompilerBaseAdapterTest::testParseLdflagsUsesNewArchitecture":0.003,"PhpAot\\Tests\\CompilerBaseAdapterTest::testParseLibsUsesNewArchitecture":0.002,"PhpAot\\Tests\\CompilerBaseAdapterTest::testPlatformDetectionConsistency":0.002,"PhpAot\\Tests\\CompilerBaseAdapterTest::testBackwardCompatibility":0.003,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcCompileOptionsBasic":0.006,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcCompileOptionsZts":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcCompileOptionsDebug":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcCompileOptionsSanitizer":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcCompileOptionsWarnings":0.001,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcCompileOptionsProfiler":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcCompileOptionsCustomFlags":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcLinkOptionsBasic":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcLinkOptionsDebug":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcLinkOptionsNoConsole":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcLinkOptionsExtension":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccCompileOptionsBasic":0.001,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccCompileOptionsDebug":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccCompileOptionsSanitizer":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccCompileOptionsUbsan":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccCompileOptionsPic":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccLinkOptionsBasic":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccLinkOptionsDebug":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccLinkOptionsShared":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccLinkOptionsRpath":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testClangCompileOptionsUnix":0.001,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testClangCompileOptionsWindows":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testClangCompileOptionsPicUnix":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testClangLinkOptionsWindows":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testClangLinkOptionsUnix":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testMsvcOptimizationLevels":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testGccOptimizationLevels":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testDefaultValues":0,"PhpAot\\Tests\\Backend\\BackendOptionsTest::testEmptyConfig":0}} \ No newline at end of file