repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Producible.php | src/Producible.php | <?php
namespace Anik\Amqp;
use PhpAmqpLib\Message\AMQPMessage;
interface Producible
{
public function build(): AMQPMessage;
}
| php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Connection.php | src/Connection.php | <?php
namespace Anik\Amqp;
use Anik\Amqp\Exceptions\AmqpException;
use Anik\Amqp\Exchanges\Exchange;
use Anik\Amqp\Qos\Qos;
use Anik\Amqp\Queues\Queue;
use Exception;
use PhpAmqpLib\Channel\AMQPChannel;
use PhpAmqpLib\Connection\AbstractConnection;
abstract class Connection
{
/** @var AbstractConnection */
p... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Consumer.php | src/Consumer.php | <?php
namespace Anik\Amqp;
use Anik\Amqp\Exchanges\Exchange;
use Anik\Amqp\Qos\Qos;
use Anik\Amqp\Queues\Queue;
use PhpAmqpLib\Channel\AMQPChannel;
use PhpAmqpLib\Connection\AbstractConnection;
class Consumer extends Connection
{
protected $consumerTag;
protected $noLocal = false;
protected $noAck = fals... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/AmqpConnectionConfigBuilder.php | src/AmqpConnectionConfigBuilder.php | <?php
namespace Anik\Amqp;
use PhpAmqpLib\Connection\AMQPConnectionConfig;
class AmqpConnectionConfigBuilder implements ConfigBuilder
{
protected $mappers = [
'host' => 'setHost',
'port' => 'setPort',
'user' => 'setUser',
'password' => 'setPassword',
'vhost' => 'setVhost',... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Consumable.php | src/Consumable.php | <?php
namespace Anik\Amqp;
use PhpAmqpLib\Message\AMQPMessage;
interface Consumable
{
public function setMessage(AMQPMessage $message): Consumable;
public function handle(): void;
}
| php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/ConsumableMessage.php | src/ConsumableMessage.php | <?php
namespace Anik\Amqp;
use Anik\Amqp\Exceptions\AmqpException;
use PhpAmqpLib\Message\AMQPMessage;
use stdClass;
class ConsumableMessage implements Consumable
{
/** @var AMQPMessage */
private $message;
private $callable;
public function __construct(callable $callable)
{
$this->call... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/ConfigBuilder.php | src/ConfigBuilder.php | <?php
namespace Anik\Amqp;
use PhpAmqpLib\Connection\AMQPConnectionConfig;
interface ConfigBuilder
{
public function build(array $options): AMQPConnectionConfig;
}
| php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Producer.php | src/Producer.php | <?php
namespace Anik\Amqp;
use Anik\Amqp\Exceptions\AmqpException;
use Anik\Amqp\Exchanges\Exchange;
class Producer extends Connection
{
public function publish(
Producible $message,
string $routingKey = '',
?Exchange $exchange = null,
array $options = []
): bool {
ret... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/ProducibleMessage.php | src/ProducibleMessage.php | <?php
namespace Anik\Amqp;
use PhpAmqpLib\Message\AMQPMessage;
class ProducibleMessage implements Producible
{
private $message;
private $properties = [];
public function __construct($message = '', array $properties = [])
{
$this->setMessage($message);
$this->setProperties($propertie... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/AmqpConnectionFactory.php | src/AmqpConnectionFactory.php | <?php
namespace Anik\Amqp;
use Anik\Amqp\Exceptions\AmqpException;
use PhpAmqpLib\Connection\AbstractConnection;
use PhpAmqpLib\Connection\AMQPConnectionConfig;
use PhpAmqpLib\Connection\AMQPConnectionFactory as PhpAmqplibConnectionFactory;
use PhpAmqpLib\Connection\AMQPStreamConnection;
use Throwable;
class AmqpCon... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Exceptions/AmqpException.php | src/Exceptions/AmqpException.php | <?php
namespace Anik\Amqp\Exceptions;
use Exception;
class AmqpException extends Exception
{
public function __construct($message = "", $previous = null)
{
parent::__construct($message, 0, $previous);
}
}
| php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Exchanges/Fanout.php | src/Exchanges/Fanout.php | <?php
namespace Anik\Amqp\Exchanges;
class Fanout extends Exchange
{
public function __construct(string $name)
{
parent::__construct($name, self::TYPE_FANOUT);
}
public static function make(array $options): Exchange
{
return parent::make(['type' => self::TYPE_FANOUT] + $options);
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Exchanges/Direct.php | src/Exchanges/Direct.php | <?php
namespace Anik\Amqp\Exchanges;
class Direct extends Exchange
{
public function __construct(string $name)
{
parent::__construct($name, self::TYPE_DIRECT);
}
public static function make(array $options): Exchange
{
return parent::make(['type' => self::TYPE_DIRECT] + $options);
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Exchanges/Exchange.php | src/Exchanges/Exchange.php | <?php
namespace Anik\Amqp\Exchanges;
use Anik\Amqp\Connection\ChannelInterface;
use Anik\Amqp\Exceptions\AmqpException;
class Exchange
{
public const TYPE_DIRECT = 'direct';
public const TYPE_TOPIC = 'topic';
public const TYPE_FANOUT = 'fanout';
public const TYPE_HEADERS = 'headers';
protected $... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Exchanges/Headers.php | src/Exchanges/Headers.php | <?php
namespace Anik\Amqp\Exchanges;
class Headers extends Exchange
{
public function __construct(string $name)
{
parent::__construct($name, self::TYPE_HEADERS);
}
public static function make(array $options): Exchange
{
return parent::make(['type' => self::TYPE_HEADERS] + $options... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Exchanges/Topic.php | src/Exchanges/Topic.php | <?php
namespace Anik\Amqp\Exchanges;
class Topic extends Exchange
{
public function __construct(string $name)
{
parent::__construct($name, self::TYPE_TOPIC);
}
public static function make(array $options): Exchange
{
return parent::make(['type' => self::TYPE_TOPIC] + $options);
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Queues/Queue.php | src/Queues/Queue.php | <?php
namespace Anik\Amqp\Queues;
use Anik\Amqp\Connection\ChannelInterface;
use Anik\Amqp\Exceptions\AmqpException;
class Queue
{
protected $name;
protected $declare = false;
protected $passive = false;
protected $durable = true;
protected $exclusive = false;
protected $autoDelete = false;
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/src/Qos/Qos.php | src/Qos/Qos.php | <?php
namespace Anik\Amqp\Qos;
class Qos
{
private $prefetchSize;
private $prefetchCount;
private $global;
public function __construct(int $prefetchSize = 0, int $prefetchCount = 0, bool $global = false)
{
$this->prefetchSize = $prefetchSize;
$this->prefetchCount = $prefetchCount;... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Integration/ConsumerTest.php | tests/Integration/ConsumerTest.php | <?php
namespace Anik\Amqp\Tests\Integration;
use Anik\Amqp\Connection;
use Anik\Amqp\Consumable;
use Anik\Amqp\ConsumableMessage;
use Anik\Amqp\Consumer;
use Anik\Amqp\Exceptions\AmqpException;
use Anik\Amqp\Qos\Qos;
use Anik\Amqp\Queues\Queue;
use PhpAmqpLib\Channel\AMQPChannel;
use PhpAmqpLib\Connection\AbstractCon... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Integration/ConsumableMessageTest.php | tests/Integration/ConsumableMessageTest.php | <?php
namespace Anik\Amqp\Tests\Integration;
use Anik\Amqp\ConsumableMessage;
use Anik\Amqp\Exceptions\AmqpException;
use PhpAmqpLib\Message\AMQPMessage;
use PHPUnit\Framework\Assert;
class ConsumableMessageTest extends AmqpTestCase
{
protected function getAmqpMessage($body = 'message'): AMQPMessage
{
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Integration/ConnectionTest.php | tests/Integration/ConnectionTest.php | <?php
namespace Anik\Amqp\Tests\Integration;
use Anik\Amqp\Exceptions\AmqpException;
use Anik\Amqp\Exchanges\Direct;
use Anik\Amqp\Exchanges\Exchange;
use Anik\Amqp\Exchanges\Fanout;
use Anik\Amqp\Producer;
use Anik\Amqp\Queues\Queue;
use Closure;
use Exception;
class ConnectionTest extends AmqpTestCase
{
public... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Integration/AmqpTestCase.php | tests/Integration/AmqpTestCase.php | <?php
namespace Anik\Amqp\Tests\Integration;
use Anik\Amqp\Exchanges\Exchange;
use Anik\Amqp\Exchanges\Topic;
use Anik\Amqp\Queues\Queue;
use PhpAmqpLib\Channel\AMQPChannel;
use PhpAmqpLib\Connection\AbstractConnection;
use PhpAmqpLib\Connection\AMQPLazySSLConnection;
use PHPUnit\Framework\MockObject\MockObject;
use ... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Integration/ProducerTest.php | tests/Integration/ProducerTest.php | <?php
namespace Anik\Amqp\Tests\Integration;
use Anik\Amqp\Connection;
use Anik\Amqp\Exceptions\AmqpException;
use Anik\Amqp\Exchanges\Direct;
use Anik\Amqp\Exchanges\Fanout;
use Anik\Amqp\Exchanges\Headers;
use Anik\Amqp\Exchanges\Topic;
use Anik\Amqp\Producer;
use Anik\Amqp\Producible;
use Anik\Amqp\ProducibleMessa... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/AmqpConnectionFactoryTest.php | tests/Unit/AmqpConnectionFactoryTest.php | <?php
namespace Anik\Amqp\Tests\Unit;
use Anik\Amqp\AmqpConnectionFactory;
use Anik\Amqp\ConfigBuilder;
use Anik\Amqp\Exceptions\AmqpException;
use PhpAmqpLib\Connection\AbstractConnection;
use PhpAmqpLib\Connection\AMQPConnectionConfig;
use PhpAmqpLib\Connection\AMQPLazyConnection;
use PhpAmqpLib\Connection\AMQPLazy... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/ProducibleMessageTest.php | tests/Unit/ProducibleMessageTest.php | <?php
namespace Anik\Amqp\Tests\Unit;
use Anik\Amqp\ProducibleMessage;
use PhpAmqpLib\Message\AMQPMessage;
use PHPUnit\Framework\TestCase;
class ProducibleMessageTest extends TestCase
{
protected const MESSAGE_STREAM = 'anik.amqp.msg';
public function producibleMessageParams(): array
{
return [
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/Exchange/HeadersExchangeTest.php | tests/Unit/Exchange/HeadersExchangeTest.php | <?php
namespace Anik\Amqp\Tests\Unit\Exchange;
use Anik\Amqp\Exchanges\Exchange;
use Anik\Amqp\Exchanges\Headers;
use PHPUnit\Framework\TestCase;
class HeadersExchangeTest extends TestCase
{
public function testHeadersExchangeInstantiation()
{
$exchange = new Headers($name = 'example.headers');
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/Exchange/FanoutExchangeTest.php | tests/Unit/Exchange/FanoutExchangeTest.php | <?php
namespace Anik\Amqp\Tests\Unit\Exchange;
use Anik\Amqp\Exchanges\Exchange;
use Anik\Amqp\Exchanges\Fanout;
use PHPUnit\Framework\TestCase;
class FanoutExchangeTest extends TestCase
{
public function testFanoutExchangeInstantiation()
{
$exchange = new Fanout($name = 'example.fanout');
$t... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/Exchange/ExchangeTest.php | tests/Unit/Exchange/ExchangeTest.php | <?php
namespace Anik\Amqp\Tests\Unit\Exchange;
use Anik\Amqp\Exceptions\AmqpException;
use Anik\Amqp\Exchanges\Exchange;
use PHPUnit\Framework\TestCase;
class ExchangeTest extends TestCase
{
public function validExchangeNameAndTypeProvider(): array
{
return [
'exchange name and type set 1... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/Exchange/TopicExchangeTest.php | tests/Unit/Exchange/TopicExchangeTest.php | <?php
namespace Anik\Amqp\Tests\Unit\Exchange;
use Anik\Amqp\Exchanges\Exchange;
use Anik\Amqp\Exchanges\Topic;
use PHPUnit\Framework\TestCase;
class TopicExchangeTest extends TestCase
{
public function testTopicExchangeInstantiation()
{
$exchange = new Topic($name = 'example.topic');
$this->... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/Exchange/DirectExchangeTest.php | tests/Unit/Exchange/DirectExchangeTest.php | <?php
namespace Anik\Amqp\Tests\Unit\Exchange;
use Anik\Amqp\Exchanges\Direct;
use Anik\Amqp\Exchanges\Exchange;
use PHPUnit\Framework\TestCase;
class DirectExchangeTest extends TestCase
{
public function testDirectExchangeInstantiation()
{
$exchange = new Direct($name = 'example.direct');
$t... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/Qos/QosTest.php | tests/Unit/Qos/QosTest.php | <?php
namespace Anik\Amqp\Tests\Unit\Qos;
use Anik\Amqp\Qos\Qos;
use PHPUnit\Framework\TestCase;
class QosTest extends TestCase
{
public function validQosValues(): array
{
return [
'no value' => [[]],
'setting all values' => [['prefetch_size' => 1, 'prefetch_count' => 1, 'glob... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
ssi-anik/amqp | https://github.com/ssi-anik/amqp/blob/d63ae01701a6f28551abb6feb49c3842117966a2/tests/Unit/Queue/QueueTest.php | tests/Unit/Queue/QueueTest.php | <?php
namespace Anik\Amqp\Tests\Unit\Queue;
use Anik\Amqp\Exceptions\AmqpException;
use Anik\Amqp\Queues\Queue;
use PHPUnit\Framework\TestCase;
class QueueTest extends TestCase
{
public function reconfiguringQueueWithArray(): array
{
return [
'all values are set to truthy' => [
... | php | MIT | d63ae01701a6f28551abb6feb49c3842117966a2 | 2026-01-05T05:06:13.909744Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/scoper.php | scoper.php | <?php
declare(strict_types=1);
require __DIR__ . '/vendor/autoload.php';
$nowDateTime = new DateTime('now');
$timestamp = $nowDateTime->format('Ym');
// see https://github.com/humbug/php-scoper
return [
'prefix' => 'PHPStanBodyscan' . $timestamp,
'expose-constants' => ['#^SYMFONY\_[\p{L}_]+$#'],
'exclud... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([__DIR__ . '/bin', __DIR__ . '/src', __DIR__ . '/tests'])
->withPreparedSets(
deadCode: true,
naming: true,
privatization: true,
earlyReturn: true,
codeQuality: ... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/ecs.php | ecs.php | <?php
declare(strict_types=1);
use Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withPaths([__DIR__ . '/bin', __DIR__ . '/src', __DIR__ . '/tests'])
->withRootFiles()
->withRules([LineLengthFixer::class])
->... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/PHPStanConfigFactory.php | src/PHPStanConfigFactory.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan;
use Nette\Neon\Neon;
use TomasVotruba\PHPStanBodyscan\ValueObject\PHPStanConfig;
/**
* @see \TomasVotruba\PHPStanBodyscan\Tests\PHPStanConfigFactory\PHPStanConfigFactoryTest
*/
final class PHPStanConfigFactory
{
/**
* @var string[]
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Logger.php | src/Logger.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan;
final class Logger
{
/**
* @var string
*/
public const LOG_FILE_PATH = 'bodyscan-log.txt';
public static function log(string $message): void
{
file_put_contents(self::LOG_FILE_PATH, $message . PHP_EOL . PHP_EOL,... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Process/PHPStanResultResolver.php | src/Process/PHPStanResultResolver.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Process;
use Symfony\Component\Process\Process;
use TomasVotruba\PHPStanBodyscan\Exception\AnalysisFailedException;
use TomasVotruba\PHPStanBodyscan\Logger;
use TomasVotruba\PHPStanBodyscan\Utils\JsonLoader;
final class PHPStanResultResolver
{
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Process/AnalyseProcessFactory.php | src/Process/AnalyseProcessFactory.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Process;
use Symfony\Component\Process\Process;
use TomasVotruba\PHPStanBodyscan\Utils\ComposerLoader;
final class AnalyseProcessFactory
{
/**
* @var int
*/
private const TIMEOUT_IN_SECONDS = 400;
/**
* @var string
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Contract/OutputFormatterInterface.php | src/Contract/OutputFormatterInterface.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Contract;
use TomasVotruba\PHPStanBodyscan\ValueObject\BodyscanResult;
use TomasVotruba\PHPStanBodyscan\ValueObject\TypeCoverageResult;
interface OutputFormatterInterface
{
public function outputResult(BodyscanResult $bodyscanResult): void;
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/OutputFormatter/JsonOutputFormatter.php | src/OutputFormatter/JsonOutputFormatter.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\OutputFormatter;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TomasVotruba\PHPStanBodyscan\Contract\OutputFormatterInterface;
use TomasVotruba\PHPStanBodyscan\ValueObject\BodyscanResul... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/OutputFormatter/TableOutputFormatter.php | src/OutputFormatter/TableOutputFormatter.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\OutputFormatter;
use Symfony\Component\Console\Helper\TableStyle;
use Symfony\Component\Console\Style\SymfonyStyle;
use TomasVotruba\PHPStanBodyscan\Contract\OutputFormatterInterface;
use TomasVotruba\PHPStanBodyscan\ValueObject\BodyscanResult;
us... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Utils/FileLoader.php | src/Utils/FileLoader.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Utils;
use Webmozart\Assert\Assert;
final class FileLoader
{
/**
* @return array<string, string>
*/
public static function resolveEnvVariablesFromFile(string $envFile): array
{
Assert::fileExists($envFile);
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Utils/JsonLoader.php | src/Utils/JsonLoader.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Utils;
use JsonException;
use Symfony\Component\Process\Process;
final class JsonLoader
{
/**
* @return array<string, mixed>
*/
public static function loadToArray(string $json, Process $process): array
{
try {
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Utils/ComposerLoader.php | src/Utils/ComposerLoader.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Utils;
final class ComposerLoader
{
/**
* @var string
*/
private const DEFAULT_VENDOR_BIN = 'vendor/bin/';
public static function getPHPStanBinFile(string $projectDirectory): string
{
$vendorBinDirectory = self::... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/DependencyInjection/ContainerFactory.php | src/DependencyInjection/ContainerFactory.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\DependencyInjection;
use Illuminate\Container\Container;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Style\SymfonyStyl... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/ValueObject/PHPStanConfig.php | src/ValueObject/PHPStanConfig.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\ValueObject;
final readonly class PHPStanConfig
{
public function __construct(
private string $fileContents,
) {
}
public function getFileContents(): string
{
return $this->fileContents;
}
}
| php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/ValueObject/TypeCoverage.php | src/ValueObject/TypeCoverage.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\ValueObject;
final readonly class TypeCoverage
{
public function __construct(
private string $category,
private float $relative,
private int $totalCount
) {
}
public function getCategory(): string
{
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/ValueObject/LevelResult.php | src/ValueObject/LevelResult.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\ValueObject;
final class LevelResult
{
private ?int $changeToPreviousLevel = null;
public function __construct(
private readonly int $level,
private readonly int $errorCount
) {
}
public function setChangeToPr... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/ValueObject/BodyscanResult.php | src/ValueObject/BodyscanResult.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\ValueObject;
use Webmozart\Assert\Assert;
final readonly class BodyscanResult
{
/**
* @param LevelResult[] $levelResults
*/
public function __construct(
private array $levelResults
) {
Assert::allIsInstanceOf... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/ValueObject/TypeCoverageResult.php | src/ValueObject/TypeCoverageResult.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\ValueObject;
final readonly class TypeCoverageResult
{
/**
* @param TypeCoverage[] $typeCoverages
*/
public function __construct(
private array $typeCoverages,
) {
}
/**
* @return TypeCoverage[]
*/
... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Exception/AnalysisFailedException.php | src/Exception/AnalysisFailedException.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Exception;
use Exception;
final class AnalysisFailedException extends Exception
{
}
| php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/src/Command/RunCommand.php | src/Command/RunCommand.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Output\O... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/tests/PHPStanConfigFactory/PHPStanConfigFactoryTest.php | tests/PHPStanConfigFactory/PHPStanConfigFactoryTest.php | <?php
declare(strict_types=1);
namespace TomasVotruba\PHPStanBodyscan\Tests\PHPStanConfigFactory;
use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use TomasVotruba\PHPStanBodyscan\PHPStanConfigFactory;
final class PHPStanConfigFactoryTest extends TestCase
{
private PH... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/tests/PHPStanConfigFactory/Fixture/empty-project/src/SomeFile.php | tests/PHPStanConfigFactory/Fixture/empty-project/src/SomeFile.php | <?php
echo 'hi';
| php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/build/rector-downgrade-php-72.php | build/rector-downgrade-php-72.php | <?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withDowngradeSets(php72: true)
->withSkip([
'*/Tests/*',
'*/tests/*',
__DIR__ . '/../../tests',
# missing "optional" dependency and never used here
'*/symfony/framework-bu... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
TomasVotruba/phpstan-bodyscan | https://github.com/TomasVotruba/phpstan-bodyscan/blob/91d39b4d9257d7dd086ba0a817d240fcddb0fcc2/bin/phpstan-bodyscan.php | bin/phpstan-bodyscan.php | <?php
declare(strict_types=1);
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\ConsoleOutput;
use TomasVotruba\PHPStanBodyscan\DependencyInjection\ContainerFactory;
if (file_exists(__DIR__ . '/../vendor/scoper-autoload.php')) {
// A. ... | php | MIT | 91d39b4d9257d7dd086ba0a817d240fcddb0fcc2 | 2026-01-05T05:06:33.557700Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Ldap.php | Ldap.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap;
use Symfony\Component\Ldap\Adapter\AdapterInter... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/LdapInterface.php | LdapInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap;
use Symfony\Component\Ldap\Adapter\EntryManager... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Entry.php | Entry.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap;
/**
* @author Charles Sarrazin <charles@sarraz... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/AlreadyExistsException.php | Exception/AlreadyExistsException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* AlreadyExistsException is thro... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/ConnectionException.php | Exception/ConnectionException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* ConnectionException is thrown ... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/NotBoundException.php | Exception/NotBoundException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* NotBoundException is thrown if... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/ExceptionInterface.php | Exception/ExceptionInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* Base ExceptionInterface for th... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/InvalidCredentialsException.php | Exception/InvalidCredentialsException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* InvalidCredentialsException is... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/DriverNotFoundException.php | Exception/DriverNotFoundException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* LdapException is thrown if php... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/LdapException.php | Exception/LdapException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* LdapException is thrown if php... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/InvalidSearchCredentialsException.php | Exception/InvalidSearchCredentialsException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* InvalidSearchCredentialsExcept... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/UpdateOperationException.php | Exception/UpdateOperationException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
class UpdateOperationException extend... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Exception/ConnectionTimeoutException.php | Exception/ConnectionTimeoutException.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Exception;
/**
* ConnectionTimeoutException is ... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/EntryTest.php | Tests/EntryTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests;
use PHPUnit\Framework\TestCase;
use Symfo... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/LdapTest.php | Tests/LdapTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests;
use PHPUnit\Framework\MockObject\MockObje... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/LdapTestCase.php | Tests/LdapTestCase.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests;
use PHPUnit\Framework\TestCase;
class Ld... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Adapter/AbstractQueryTest.php | Tests/Adapter/AbstractQueryTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Adapter;
use PHPUnit\Framework\TestCase;
u... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Adapter/ExtLdap/AdapterTest.php | Tests/Adapter/ExtLdap/AdapterTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Adapter\ExtLdap;
use Symfony\Component\Lda... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Adapter/ExtLdap/LdapManagerTest.php | Tests/Adapter/ExtLdap/LdapManagerTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Adapter\ExtLdap;
use Symfony\Component\Lda... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Adapter/ExtLdap/EntryManagerTest.php | Tests/Adapter/ExtLdap/EntryManagerTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Adapter\ExtLdap;
use PHPUnit\Framework\Tes... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Security/LdapAuthenticatorTest.php | Tests/Security/LdapAuthenticatorTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Security;
use PHPUnit\Framework\TestCase;
... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Security/LdapUserProviderTest.php | Tests/Security/LdapUserProviderTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Security;
use PHPUnit\Framework\TestCase;
... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Security/CheckLdapCredentialsListenerTest.php | Tests/Security/CheckLdapCredentialsListenerTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Security;
use PHPUnit\Framework\MockObject... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Tests/Security/LdapUserTest.php | Tests/Security/LdapUserTest.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Tests\Security;
use PHPUnit\Framework\TestCase;
... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ConnectionInterface.php | Adapter/ConnectionInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter;
use Symfony\Component\Ldap\Exception\Al... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/CollectionInterface.php | Adapter/CollectionInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter;
use Symfony\Component\Ldap\Entry;
/**
... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/EntryManagerInterface.php | Adapter/EntryManagerInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter;
use Symfony\Component\Ldap\Entry;
use S... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/AbstractConnection.php | Adapter/AbstractConnection.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter;
use Symfony\Component\OptionsResolver\O... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/AdapterInterface.php | Adapter/AdapterInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter;
/**
* @author Charles Sarrazin <charle... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/AbstractQuery.php | Adapter/AbstractQuery.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter;
use Symfony\Component\OptionsResolver\O... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/QueryInterface.php | Adapter/QueryInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter;
use Symfony\Component\Ldap\Exception\Ld... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ExtLdap/ConnectionOptions.php | Adapter/ExtLdap/ConnectionOptions.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use Symfony\Component\Ldap\Exce... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ExtLdap/Collection.php | Adapter/ExtLdap/Collection.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use Symfony\Component\Ldap\Adap... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ExtLdap/Connection.php | Adapter/ExtLdap/Connection.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use LDAP\Connection as LDAPConn... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ExtLdap/EntryManager.php | Adapter/ExtLdap/EntryManager.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use LDAP\Connection as LDAPConn... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ExtLdap/Adapter.php | Adapter/ExtLdap/Adapter.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use Symfony\Component\Ldap\Adap... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ExtLdap/UpdateOperation.php | Adapter/ExtLdap/UpdateOperation.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use Symfony\Component\Ldap\Exce... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Adapter/ExtLdap/Query.php | Adapter/ExtLdap/Query.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use LDAP\Result;
use Symfony\Co... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/LdapUser.php | Security/LdapUser.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Symfony\Component\Ldap\Entry;
use ... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/AssignDefaultRoles.php | Security/AssignDefaultRoles.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Symfony\Component\Ldap\Entry;
fin... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/MemberOfRoles.php | Security/MemberOfRoles.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Symfony\Component\Ldap\Entry;
fin... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/LdapBadge.php | Security/LdapBadge.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Symfony\Component\Security\Http\Au... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/RoleFetcherInterface.php | Security/RoleFetcherInterface.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Symfony\Component\Ldap\Entry;
/**... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.