added composer files and installed vendor packages. Also modified xsls to display base project

This commit is contained in:
2026-08-09 09:59:37 -04:00
parent 53cd5430ee
commit 2d96a7b6e5
2142 changed files with 569661 additions and 240 deletions
@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace Test;
class A0FileNoForceCurlTest extends TestUtil
{
/**
* Covers the early getUrlData() guard when allow_url_fopen is enabled and
* FORCE_CURL is not defined yet.
*
* @throws \Com\Tecnick\File\Exception
*/
public function testGetUrlDataReturnsFalseWhenAllowUrlFopenEnabledWithoutForceCurl(): void
{
if (\defined('FORCE_CURL')) {
$this->markTestSkipped('FORCE_CURL already defined by another test class');
}
if (\ini_get('allow_url_fopen') === false || \ini_get('allow_url_fopen') === '0') {
$this->markTestSkipped('allow_url_fopen is disabled in this environment');
}
$file = new \Com\Tecnick\File\File(['example.com']);
$this->assertFalse($file->getUrlData('http://example.com/path.txt'));
}
}