Move plugins to manifest, pin Docker version, add Makefile
- Add plugins.txt listing all plugins for reproducible installs - Add Makefile with setup/start/stop/install-plugins targets - Remove user/plugins/ from git tracking - Pin Docker image to 1.7.49.5-ls244 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
-25
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PHPHtmlParser\Discovery;
|
||||
|
||||
use PHPHtmlParser\Contracts\Dom\CleanerInterface;
|
||||
use PHPHtmlParser\Dom\Cleaner;
|
||||
|
||||
class CleanerDiscovery
|
||||
{
|
||||
/**
|
||||
* @var Cleaner|null
|
||||
*/
|
||||
private static $parser = null;
|
||||
|
||||
public static function find(): CleanerInterface
|
||||
{
|
||||
if (self::$parser == null) {
|
||||
self::$parser = new Cleaner();
|
||||
}
|
||||
|
||||
return self::$parser;
|
||||
}
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PHPHtmlParser\Discovery;
|
||||
|
||||
use PHPHtmlParser\Contracts\Dom\ParserInterface;
|
||||
use PHPHtmlParser\Dom\Parser;
|
||||
|
||||
class DomParserDiscovery
|
||||
{
|
||||
/**
|
||||
* @var ParserInterface|null
|
||||
*/
|
||||
private static $parser = null;
|
||||
|
||||
public static function find(): ParserInterface
|
||||
{
|
||||
if (self::$parser == null) {
|
||||
self::$parser = new Parser();
|
||||
}
|
||||
|
||||
return self::$parser;
|
||||
}
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PHPHtmlParser\Discovery;
|
||||
|
||||
use PHPHtmlParser\Contracts\Selector\SeekerInterface;
|
||||
use PHPHtmlParser\Selector\Seeker;
|
||||
|
||||
class SeekerDiscovery
|
||||
{
|
||||
/**
|
||||
* @var SeekerInterface|null
|
||||
*/
|
||||
private static $seeker = null;
|
||||
|
||||
public static function find(): SeekerInterface
|
||||
{
|
||||
if (self::$seeker == null) {
|
||||
self::$seeker = new Seeker();
|
||||
}
|
||||
|
||||
return self::$seeker;
|
||||
}
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PHPHtmlParser\Discovery;
|
||||
|
||||
use PHPHtmlParser\Contracts\Selector\ParserInterface;
|
||||
use PHPHtmlParser\Selector\Parser;
|
||||
|
||||
class SelectorParserDiscovery
|
||||
{
|
||||
/**
|
||||
* @var ParserInterface|null
|
||||
*/
|
||||
private static $parser = null;
|
||||
|
||||
public static function find(): ParserInterface
|
||||
{
|
||||
if (self::$parser == null) {
|
||||
self::$parser = new Parser();
|
||||
}
|
||||
|
||||
return self::$parser;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user