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
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Resolvers/TwigComponentResolver.php
tests/app/Resolvers/TwigComponentResolver.php
<?php namespace Tests\App\Resolvers; use Clickfwd\Yoyo\ComponentResolver; use Clickfwd\Yoyo\ViewProviders\TwigViewProvider; use function Tests\twig; class TwigComponentResolver extends ComponentResolver { protected $name = 'twig'; public function getViewProvider() { return new TwigViewProvider(...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Resolvers/CustomComponentResolver.php
tests/app/Resolvers/CustomComponentResolver.php
<?php namespace Tests\App\Resolvers; use Clickfwd\Yoyo\ComponentResolver; use Clickfwd\Yoyo\View; use Clickfwd\Yoyo\ViewProviders\YoyoViewProvider; class CustomComponentResolver extends ComponentResolver { protected $name = 'custom'; public function getViewProvider() { return new YoyoViewProvide...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Resolvers/BladeComponentResolver.php
tests/app/Resolvers/BladeComponentResolver.php
<?php namespace Tests\App\Resolvers; use Clickfwd\Yoyo\ComponentResolver; use Clickfwd\Yoyo\ViewProviders\BladeViewProvider; use function Tests\blade; class BladeComponentResolver extends ComponentResolver { protected $name = 'blade'; public function getViewProvider() { return new BladeViewProv...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/Abort.php
tests/app/Yoyo/Abort.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; use function Yoyo\abort; class Abort extends Component { public function initialize() { abort(404, 'not found', ['foo' => 'bar']); } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/Registered.php
tests/app/Yoyo/Registered.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class Registered extends Component { public function render() { return $this->view('registered'); } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/SetViewData.php
tests/app/Yoyo/SetViewData.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class SetViewData extends Component { public function mount() { $this->set('foo', 'bar'); $this->set(['bar' => 'baz']); } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/Counter.php
tests/app/Yoyo/Counter.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class Counter extends Component { public $count = 0; protected $queryString = ['count']; protected $props = ['count']; public function increment() { $this->count++; $this->emit('counter:updated', ['count' => $this->c...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/CounterDynamicProperties.php
tests/app/Yoyo/CounterDynamicProperties.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; #[\AllowDynamicProperties] class CounterDynamicProperties extends Component { public function getQueryString() { return $this->getDynamicProperties(); } /** * The 'count' property value is not known ahead of time and can be se...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/EmptyResponse.php
tests/app/Yoyo/EmptyResponse.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class EmptyResponse extends Component { public function mount() { return $this->skipRender(); } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/EmptyResponseAndRemove.php
tests/app/Yoyo/EmptyResponseAndRemove.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class EmptyResponseAndRemove extends Component { public function mount() { return $this->skipRenderAndRemove(); } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/DependencyInjectionClassWithNamedArgumentMapping.php
tests/app/Yoyo/DependencyInjectionClassWithNamedArgumentMapping.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; use Tests\App\Post; class DependencyInjectionClassWithNamedArgumentMapping extends Component { protected $id; protected $post; // $foo variable passed to component is automaticaly injected in Post::__constructor // using dependency injec...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/VariadicParameters.php
tests/app/Yoyo/VariadicParameters.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class VariadicParameters extends Component { public $result = ''; /** * Test method with only variadic parameters */ public function onlyVariadic(...$params) { $this->result = 'Received: ' . json_encode($params); } ...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/ProtectedMethods.php
tests/app/Yoyo/ProtectedMethods.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class ProtectedMethods extends Component { protected function secret() { // Cannot be accessed through direct request } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/ComputedProperty.php
tests/app/Yoyo/ComputedProperty.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class ComputedProperty extends Component { public $foo = 'bar'; protected function getFooBarProperty() { return $this->foo; } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/ComponentWithTrait.php
tests/app/Yoyo/ComponentWithTrait.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class ComponentWithTrait extends Component { use WithFramework; public $output; public function mount() { $this->output = 'Component saw that '; } } trait WithFramework { public function mountWithFramework() { ...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/DependencyInjectionAction.php
tests/app/Yoyo/DependencyInjectionAction.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; use Tests\App\Comment; use Tests\App\Post; class DependencyInjectionAction extends Component { public $result = ''; /** * Test action with only typed parameters (dependency injection) */ public function onlyTyped(Post $post) { ...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/ActionArguments.php
tests/app/Yoyo/ActionArguments.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class ActionArguments extends Component { protected $a; protected $b; public function someAction($a, $b) { $this->a = $a; $this->b = $b; } public function render() { return $this->view('action-argumen...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/ComputedPropertyCache.php
tests/app/Yoyo/ComputedPropertyCache.php
<?php namespace Tests\App\Yoyo; use Clickfwd\Yoyo\Component; class ComputedPropertyCache extends Component { protected $count = 1; public function getTestCountProperty() { return $this->count++; } }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/Yoyo/Account/Register.php
tests/app/Yoyo/Account/Register.php
<?php namespace Tests\App\Yoyo\Account; use Clickfwd\Yoyo\Component; class Register extends Component { public $message = 'Please register to access this page'; }
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/parent.php
tests/app/resources/views/yoyo/parent.php
<div yoyo:props="data"> <?php foreach ($data as $id): ?> <?php echo Yoyo\yoyo_render('child', ['id' => $id], ['id' => 'child-'.$id]); ?> <?php endforeach; ?> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/dependency-injection-action.php
tests/app/resources/views/yoyo/dependency-injection-action.php
<div> <div id="result"><?php echo $result; ?></div> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/computed-property.php
tests/app/resources/views/yoyo/computed-property.php
<p id="computed"><?php echo $this->foo_bar; ?></p>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/dependency-injection-class-with-named-argument-mapping.php
tests/app/resources/views/yoyo/dependency-injection-class-with-named-argument-mapping.php
<div><?php echo $this->output; ?></div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/registered.php
tests/app/resources/views/yoyo/registered.php
<div id="registered"></div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/parent.blade.php
tests/app/resources/views/yoyo/parent.blade.php
<div yoyo:props="data"> @foreach ($data as $id) @yoyo('child', ['id' => $id], ['id'=>'child-'.$id]) @endforeach </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/set-view-data.php
tests/app/resources/views/yoyo/set-view-data.php
<div id="set-view-data"> <?php echo $foo; ?>-<?php echo $bar; ?> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/foo.php
tests/app/resources/views/yoyo/foo.php
<div> <?php echo ! $spinning ? 'default foo' : 'default bar'; ?> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/child.blade.php
tests/app/resources/views/yoyo/child.blade.php
<p yoyo:props="id">blade:{{ $id }}</p>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/foo.blade.php
tests/app/resources/views/yoyo/foo.blade.php
<div> @spinning blade bar @else blade foo @endspinning </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/layout-b.blade.php
tests/app/resources/views/yoyo/layout-b.blade.php
<div> <x-packagename::input /> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/component-with-trait.php
tests/app/resources/views/yoyo/component-with-trait.php
<div><?php echo $output; ?></div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/registered-anon.php
tests/app/resources/views/yoyo/registered-anon.php
<div id="registered-anon"></div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/action-arguments.php
tests/app/resources/views/yoyo/action-arguments.php
<div id="action-arguments"> <button yoyo:get="someAction(1, 'foo')">Click</button> <span><?php echo $a; ?><?php echo $b; ?></span> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/counter.php
tests/app/resources/views/yoyo/counter.php
<div id="counter" yoyo:val.count="<?php echo $count; ?>"> <button yoyo:get="increment">+</button> <span><?php echo $count; ?></span> <span><?php echo $this->currentCount; ?></span> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/child.php
tests/app/resources/views/yoyo/child.php
<p yoyo:props="id"><?php echo $id; ?></p>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/computed-property-cache.php
tests/app/resources/views/yoyo/computed-property-cache.php
<p id="computed-cache"><?php $this->test_count; echo $this->test_count; ?></p>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/layout-a.blade.php
tests/app/resources/views/yoyo/layout-a.blade.php
<div> <x-select /> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/variadic-parameters.php
tests/app/resources/views/yoyo/variadic-parameters.php
<div> <div id="result"><?php echo $result; ?></div> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/account/login.blade.php
tests/app/resources/views/yoyo/account/login.blade.php
blade:app/resources/views/yoyo/account/login.php
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/account/register.blade.php
tests/app/resources/views/yoyo/account/register.blade.php
blade:<?php echo $message; ?>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/account/login.php
tests/app/resources/views/yoyo/account/login.php
app/resources/views/yoyo/account/login.php
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/yoyo/account/register.php
tests/app/resources/views/yoyo/account/register.php
<?php echo $message;
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app/resources/views/components/select.blade.php
tests/app/resources/views/components/select.blade.php
app/resources/views/components/select.blade.php
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app-another/Yoyo/Counter.php
tests/app-another/Yoyo/Counter.php
<?php namespace Tests\AppAnother\Yoyo; use Clickfwd\Yoyo\Component; class Counter extends Component { public $count = 0; protected $queryString = ['count']; protected $props = ['count']; public function increment() { $this->count++; $this->emit('counter:updated', ['count' => $...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app-another/views/counter.blade.php
tests/app-another/views/counter.blade.php
<div id="counter" yoyo:val.count="{{ $count }}"> <button yoyo:get="increment">+</button> <span>{{ $count }}</span> <span>{{ $this->currentCount }}</span> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app-another/views/foo.php
tests/app-another/views/foo.php
<div>other foo from another app</div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app-another/views/foo.blade.php
tests/app-another/views/foo.blade.php
<div>blade foo from another app</div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app-another/views/counter.php
tests/app-another/views/counter.php
<div id="counter" yoyo:val.count="<?php echo $count; ?>"> <button yoyo:get="increment">+</button> <span><?php echo $count; ?></span> <span><?php echo $this->currentCount; ?></span> </div>
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/app-another/views/components/input.blade.php
tests/app-another/views/components/input.blade.php
app-another/views/components/input.blade.php
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Feature/NamespacedComponentTest.php
tests/Feature/NamespacedComponentTest.php
<?php use Clickfwd\Yoyo\Yoyo; use Illuminate\Container\Container; use Tests\App\Resolvers\BladeComponentResolver; use function Tests\render; it('can render namespaced anonymous component', function () { $view = Yoyo::getInstance()->getViewProvider(); $view->addNamespace('packagename', __DIR__.'/../app-anothe...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Feature/ComponentResolverTest.php
tests/Feature/ComponentResolverTest.php
<?php use Clickfwd\Yoyo\Yoyo; use Tests\App\Resolvers\BladeComponentResolver; use Tests\App\Resolvers\CustomComponentResolver; use Tests\App\Resolvers\TwigComponentResolver; use function Tests\render; it('can use multiple view providers using component resolvers', function () { $yoyo = Yoyo::getInstance(); $...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Feature/NestedComponentTest.php
tests/Feature/NestedComponentTest.php
<?php use function Tests\htmlformat; use function Tests\render; use function Tests\response; use function Tests\yoyo_view; uses()->group('unit-nested'); beforeAll(function () { yoyo_view(); }); it('can render nested components', function () { $output = render('parent', ['data' => [1, 2, 3]], ['id' => 'paren...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Feature/TwigTest.php
tests/Feature/TwigTest.php
<?php use Clickfwd\Yoyo\Yoyo; use function Tests\htmlformat; use function Tests\render; use function Tests\response; use function Tests\update; use function Tests\yoyo_twig; beforeAll(function () { yoyo_twig(); }); it('discovers and renders anonymous foo component', function () { expect(render('foo'))->toCo...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Feature/DynamicComponentTest.php
tests/Feature/DynamicComponentTest.php
<?php use Clickfwd\Yoyo\Exceptions\BypassRenderMethod; use Clickfwd\Yoyo\Exceptions\ComponentMethodNotFound; use Clickfwd\Yoyo\Exceptions\ComponentNotFound; use Clickfwd\Yoyo\Exceptions\HttpException; use Clickfwd\Yoyo\Yoyo; use function Tests\encode_vals; use function Tests\htmlformat; use function Tests\hxattr; use...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Feature/BladeTest.php
tests/Feature/BladeTest.php
<?php use Clickfwd\Yoyo\Yoyo; use function Tests\htmlformat; use function Tests\render; use function Tests\response; use function Tests\update; use function Tests\yoyo_blade; beforeAll(function () { yoyo_blade(); }); it('renders anonymous component', function () { expect(render('foo'))->toContain('blade foo...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Feature/AnonymousComponentTest.php
tests/Feature/AnonymousComponentTest.php
<?php use Clickfwd\Yoyo\Exceptions\ComponentNotFound; use function Tests\render; use function Tests\update; use function Tests\yoyo_view; beforeAll(function () { yoyo_view(); }); it('throws exception when template not found', function () { render('random'); })->throws(ComponentNotFound::class); it('renders...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/IlluminateContainerTest.php
tests/Unit/IlluminateContainerTest.php
<?php use Clickfwd\Yoyo\Containers\IlluminateContainer; use Illuminate\Container\Container; it('delegates to illuminate container', function () { $illuminate = Container::getInstance(); $illuminate->bind('test', fn () => 'value'); $container = IlluminateContainer::getInstance(); expect($container->g...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/ContainerResolverTest.php
tests/Unit/ContainerResolverTest.php
<?php use Clickfwd\Yoyo\ContainerResolver; use Clickfwd\Yoyo\Containers\IlluminateContainer; use Clickfwd\Yoyo\Containers\YoyoContainer; it('resolves to illuminate container when available', function () { $oldPreferred = ContainerResolver::getPreferred(); // Reset preferred ContainerResolver::setPreferr...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/YoyoCompileTest.php
tests/Unit/YoyoCompileTest.php
<?php use Clickfwd\Yoyo\YoyoCompiler; use function Tests\compile_html; use function Tests\compile_html_with_vars; use function Tests\encode_vals; use function Tests\hxattr; use function Tests\yoattr; use function Tests\yoprefix_value; uses()->group('compiler'); it('uses hardcoded id attribute', function () { ex...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/PushUrlStateTest.php
tests/Unit/PushUrlStateTest.php
<?php use function Tests\headers; use function Tests\mockYoyoGetRequest; use function Tests\yoyo_update; it('pushes new URL state', function () { mockYoyoGetRequest('http://example.com/', 'counter/increment'); yoyo_update(); $headers = headers(); expect($headers)->toHaveKey('Yoyo-Push'); expec...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/ComponentResolverTest.php
tests/Unit/ComponentResolverTest.php
<?php use Clickfwd\Yoyo\ContainerResolver; it('resolves dynamic component', function () { $resolver = (new Clickfwd\Yoyo\ComponentResolver())(ContainerResolver::resolve()); expect($resolver->resolveDynamic('counter', 'counter'))->toBeInstanceOf(Tests\App\Yoyo\Counter::class); }); it('resolves anonymous comp...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/ProtectedMethodTest.php
tests/Unit/ProtectedMethodTest.php
<?php use Clickfwd\Yoyo\Exceptions\NonPublicComponentMethodCall; use function Tests\update; it('throws exception when requesting a protected component action', function () { update('protected-methods', 'secret'); })->throws(NonPublicComponentMethodCall::class)->group('notpublic');
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/BrowserEventsTest.php
tests/Unit/BrowserEventsTest.php
<?php use function Tests\headers; use function Tests\mockYoyoGetRequest; use function Tests\yoyo_update; use function Tests\yoyo_view; beforeAll(function () { yoyo_view(); }); it('emits browser event', function () { mockYoyoGetRequest('http://example.com/', 'counter/increment'); yoyo_update(); $hea...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/YoyoContainerTest.php
tests/Unit/YoyoContainerTest.php
<?php use Clickfwd\Yoyo\Containers\IlluminateContainer; use Clickfwd\Yoyo\Containers\YoyoContainer; use Clickfwd\Yoyo\Exceptions\BindingNotFoundException; use Clickfwd\Yoyo\Exceptions\ContainerResolutionException; use Clickfwd\Yoyo\Interfaces\YoyoContainerInterface; it('can set and get bindings', function () { $c...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
clickfwd/yoyo
https://github.com/clickfwd/yoyo/blob/1989402c0c6219110ac7150f733a9b02dd972a90/tests/Unit/YoyoViewProviderTest.php
tests/Unit/YoyoViewProviderTest.php
<?php use Clickfwd\Yoyo\View; use Clickfwd\Yoyo\ViewProviders\YoyoViewProvider; test('can render a template', function () { $view = new YoyoViewProvider(new View(__DIR__.'/../app/resources/views/yoyo')); expect((string) $view->render('foo', ['spinning' => false]))->toContain('default foo'); }); test('can ren...
php
MIT
1989402c0c6219110ac7150f733a9b02dd972a90
2026-01-05T02:09:17.924721Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/LEOrder.php
src/LEOrder.php
<?php namespace LEClient; use LEClient\Exceptions\LEAuthorizationException; use LEClient\Exceptions\LEOrderException; /** * LetsEncrypt Order class, containing the functions and data associated with a specific LetsEncrypt order. * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2018 Youri van Weegberg ...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
true
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/LEConnector.php
src/LEConnector.php
<?php namespace LEClient; use LEClient\Exceptions\LEConnectorException; /** * LetsEncrypt Connector class, containing the functions necessary to sign with JSON Web Key and Key ID, and perform GET, POST and HEAD requests. * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2018 Youri van Weegberg * * Per...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/LEAccount.php
src/LEAccount.php
<?php namespace LEClient; use LEClient\Exceptions\LEAccountException; /** * LetsEncrypt Account class, containing the functions and data associated with a LetsEncrypt account. * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2018 Youri van Weegberg * * Permission is hereby granted, free of charge, to...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/LEFunctions.php
src/LEFunctions.php
<?php namespace LEClient; use Exception; use LEClient\Exceptions\LEFunctionsException; /** * LetsEncrypt Functions class, supplying the LetsEncrypt Client with supportive functions. * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2018 Youri van Weegberg * * Permission is hereby granted, free of char...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/LEClient.php
src/LEClient.php
<?php namespace LEClient; use LEClient\Exceptions\LEClientException; /** * Main LetsEncrypt Client class, works as a framework for the LEConnector, LEAccount, LEOrder and LEAuthorization classes. * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2018 Youri van Weegberg * * Permission is hereby granted...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/LEAuthorization.php
src/LEAuthorization.php
<?php namespace LEClient; use LEClient\Exceptions\LEAuthorizationException; /** * LetsEncrypt Authorization class, getting LetsEncrypt authorization data associated with a LetsEncrypt Order instance. * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2018 Youri van Weegberg * * Permission is hereby gra...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/Exceptions/LEFunctionsException.php
src/Exceptions/LEFunctionsException.php
<?php namespace LEClient\Exceptions; /** * LetsEncrypt Client Functions exception, extends LEException * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2020 Youri van Weegberg * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentat...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/Exceptions/LEClientException.php
src/Exceptions/LEClientException.php
<?php namespace LEClient\Exceptions; /** * LetsEncrypt Client exception, extends LEException * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2020 Youri van Weegberg * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/Exceptions/LEException.php
src/Exceptions/LEException.php
<?php namespace LEClient\Exceptions; /** * LetsEncrypt Client base exception, extends PHP's RuntimeException. * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2020 Youri van Weegberg * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated doc...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/Exceptions/LEAccountException.php
src/Exceptions/LEAccountException.php
<?php namespace LEClient\Exceptions; /** * LetsEncrypt Client Account exception, extends LEException * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2020 Youri van Weegberg * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/Exceptions/LEAuthorizationException.php
src/Exceptions/LEAuthorizationException.php
<?php namespace LEClient\Exceptions; /** * LetsEncrypt Client Authorization exception, extends LEException * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2020 Youri van Weegberg * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docume...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/Exceptions/LEConnectorException.php
src/Exceptions/LEConnectorException.php
<?php namespace LEClient\Exceptions; /** * LetsEncrypt Client Connector exception, extends LEException * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2020 Youri van Weegberg * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentat...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/src/Exceptions/LEOrderException.php
src/Exceptions/LEOrderException.php
<?php namespace LEClient\Exceptions; /** * LetsEncrypt Client Order exception, extends LEException * * PHP version 5.2.0 * * MIT License * * Copyright (c) 2020 Youri van Weegberg * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation ...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/examples/http.php
examples/http.php
<?php // Sets the maximum execution time to two minutes, to be sure. ini_set('max_execution_time', 120); // Including the autoloader. include __DIR__.'/../vendor/autoload.php'; // Importing the classes. use LEClient\LEClient; use LEClient\LEOrder; // Listing the contact information in case a new account has to be cre...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/examples/dns_init.php
examples/dns_init.php
<?php // Sets the maximum execution time to two minutes, to be sure. ini_set('max_execution_time', 120); // Including the autoloader. include __DIR__.'/../vendor/autoload.php'; // Importing the classes. use LEClient\LEClient; use LEClient\LEOrder; // Listing the contact information in case a new account has to be cre...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
yourivw/LEClient
https://github.com/yourivw/LEClient/blob/6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4/examples/dns_finish.php
examples/dns_finish.php
<?php // Sets the maximum execution time to two minutes, to be sure. ini_set('max_execution_time', 120); // Including the autoloader. include __DIR__.'/../vendor/autoload.php'; // Importing the classes. use LEClient\LEClient; use LEClient\LEOrder; // Listing the contact information in case a new account has to be cre...
php
MIT
6c1fa9446173ff6bb41934d3ad07f9b960c2c0c4
2026-01-05T02:09:33.442590Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/drupal-autoloader.php
drupal-autoloader.php
<?php declare(strict_types=1); use mglaman\PHPStanDrupal\Drupal\DrupalAutoloader; use PHPStan\DependencyInjection\Container; if (!isset($container)) { throw new \PHPStan\ShouldNotHappenException('The autoloader did not receive the container.'); } if (!$container instanceof Container) { throw new \PHPStan\Shou...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Reflection/EntityFieldReflection.php
src/Reflection/EntityFieldReflection.php
<?php namespace mglaman\PHPStanDrupal\Reflection; use Drupal\Core\Config\Entity\ConfigEntityInterface; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Field\FieldItemListInterface; use PHPStan\Reflection\ClassReflection; use PHPStan\Reflection\PropertyReflection;...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Reflection/FieldItemListPropertyReflection.php
src/Reflection/FieldItemListPropertyReflection.php
<?php namespace mglaman\PHPStanDrupal\Reflection; use PHPStan\Reflection\ClassReflection; use PHPStan\Reflection\PropertyReflection; use PHPStan\TrinaryLogic; use PHPStan\Type\NullType; use PHPStan\Type\ObjectType; use PHPStan\Type\StringType; use PHPStan\Type\Type; use function in_array; /** * Allows field access ...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Reflection/FieldItemListMethodReflection.php
src/Reflection/FieldItemListMethodReflection.php
<?php namespace mglaman\PHPStanDrupal\Reflection; use PHPStan\Reflection\ClassMemberReflection; use PHPStan\Reflection\ClassReflection; use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\TrivialParametersAcceptor; use PHPStan\TrinaryLogic; use PHPStan\Type\Type; /** * Allows field access to common meth...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Reflection/EntityFieldsViaMagicReflectionExtension.php
src/Reflection/EntityFieldsViaMagicReflectionExtension.php
<?php namespace mglaman\PHPStanDrupal\Reflection; use LogicException; use PHPStan\Reflection\ClassReflection; use PHPStan\Reflection\PropertiesClassReflectionExtension; use PHPStan\Reflection\PropertyReflection; use PHPStan\Reflection\ReflectionProvider; use PHPStan\Type\IsSuperTypeOfResult; use PHPStan\Type\ObjectTy...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Reflection/EntityFieldMethodsViaMagicReflectionExtension.php
src/Reflection/EntityFieldMethodsViaMagicReflectionExtension.php
<?php namespace mglaman\PHPStanDrupal\Reflection; use PHPStan\Reflection\ClassReflection; use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\MethodsClassReflectionExtension; use PHPStan\Type\ObjectType; use function array_key_exists; /** * Allows some common methods on fields. */ class EntityFieldMeth...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/DrupalClassResolverDynamicStaticReturnTypeExtension.php
src/Type/DrupalClassResolverDynamicStaticReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal; use Drupal\Core\DependencyInjection\ClassResolverInterface; use mglaman\PHPStanDrupal\Drupal\ServiceMap; use PhpParser\Node\Expr\StaticCall; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\DynamicSta...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/InspectorTypeExtension.php
src/Type/InspectorTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal\Component\Assertion\Inspector; use PhpParser\Node\Expr\StaticCall; use PHPStan\Analyser\Scope; use PHPStan\Analyser\SpecifiedTypes; use PHPStan\Analyser\TypeSpecifier; use PHPStan\Analyser\TypeSpecifierAwareExtension; use PHPStan\Analyse...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/EntityTypeLinkTemplateByExistence.php
src/Type/EntityTypeLinkTemplateByExistence.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal\Core\Entity\EntityTypeInterface; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Identifier; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\Constant\ConstantBooleanType; use PHPStan\Type\Dynam...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/EntityTypeKeyByExistence.php
src/Type/EntityTypeKeyByExistence.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal\Core\Entity\EntityTypeInterface; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Identifier; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\Constant\ConstantBooleanType; use PHPStan\Type\Dynam...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/DrupalClassResolverDynamicReturnTypeExtension.php
src/Type/DrupalClassResolverDynamicReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal\Core\DependencyInjection\ClassResolverInterface; use mglaman\PHPStanDrupal\Drupal\ServiceMap; use PhpParser\Node\Expr\MethodCall; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\ParametersAccept...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/EntityAccessControlHandlerReturnTypeExtension.php
src/Type/EntityAccessControlHandlerReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal\Core\Access\AccessResultInterface; use Drupal\Core\Entity\EntityAccessControlHandlerInterface; use PhpParser\Node\Expr\MethodCall; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\BooleanType; use PHPS...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/EntityIdNarrowedByNew.php
src/Type/EntityIdNarrowedByNew.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal\Core\Entity\EntityInterface; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Identifier; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\DynamicMethodReturnTypeExtension; use PHPStan\Type\NullT...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/DrupalClassResolverReturnType.php
src/Type/DrupalClassResolverReturnType.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use mglaman\PHPStanDrupal\Drupal\DrupalServiceDefinition; use mglaman\PHPStanDrupal\Drupal\ServiceMap; use PhpParser\Node\Expr\CallLike; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\ParametersAcceptorS...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/DrupalStaticEntityQueryDynamicReturnTypeExtension.php
src/Type/DrupalStaticEntityQueryDynamicReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal; use Drupal\Core\Config\Entity\ConfigEntityStorageInterface; use Drupal\Core\Entity\ContentEntityStorageInterface; use mglaman\PHPStanDrupal\Drupal\EntityDataRepository; use mglaman\PHPStanDrupal\Type\EntityQuery\ConfigEntityQueryType; us...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/EntityRepositoryReturnTypeExtension.php
src/Type/EntityRepositoryReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal\Core\Config\Entity\ConfigEntityInterface; use Drupal\Core\Entity\EntityRepositoryInterface; use mglaman\PHPStanDrupal\Drupal\EntityDataRepository; use PhpParser\Node\Expr\MethodCall; use PHPStan\Analyser\Scope; use PHPStan\Reflection\Met...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/DrupalServiceDynamicReturnTypeExtension.php
src/Type/DrupalServiceDynamicReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use Drupal; use mglaman\PHPStanDrupal\Drupal\DrupalServiceDefinition; use mglaman\PHPStanDrupal\Drupal\ServiceMap; use PhpParser\Node\Expr\ClassConstFetch; use PhpParser\Node\Expr\StaticCall; use PhpParser\Node\Name\FullyQualified; use PhpParser\Nod...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/EntityTypeManagerGetStorageDynamicReturnTypeExtension.php
src/Type/EntityTypeManagerGetStorageDynamicReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use mglaman\PHPStanDrupal\Drupal\EntityDataRepository; use mglaman\PHPStanDrupal\Type\EntityStorage\EntityStorageType; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\VariadicPlaceholder; use PHPStan\A...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false
mglaman/phpstan-drupal
https://github.com/mglaman/phpstan-drupal/blob/5fe2128306061a04361e4818e306faa0e3d639c7/src/Type/ContainerDynamicReturnTypeExtension.php
src/Type/ContainerDynamicReturnTypeExtension.php
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Type; use mglaman\PHPStanDrupal\Drupal\ServiceMap; use PhpParser\Node\Expr\MethodCall; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\ParametersAcceptorSelector; use PHPStan\Type\Constant\ConstantBooleanType; u...
php
MIT
5fe2128306061a04361e4818e306faa0e3d639c7
2026-01-05T02:09:52.644045Z
false